Home
last modified time | relevance | path

Searched refs:cpidx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/lib/subcmd/
Dparse-options.c389 p->out[p->cpidx++] = arg - 2; in parse_long_opt()
503 ctx->cpidx = ((flags & PARSE_OPT_KEEP_ARGV0) != 0); in parse_options_start()
530 ctx->out[ctx->cpidx++] = ctx->argv[0]; in parse_options_step()
608 ctx->out[ctx->cpidx++] = ctx->argv[0]; in parse_options_step()
627 memmove(ctx->out + ctx->cpidx, ctx->argv, ctx->argc * sizeof(*ctx->out)); in parse_options_end()
628 ctx->out[ctx->cpidx + ctx->argc] = NULL; in parse_options_end()
629 return ctx->cpidx + ctx->argc; in parse_options_end()
Dparse-options.h210 int argc, cpidx; member