Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/subcmd/
Dparse-options.c386 p->out[p->cpidx++] = arg - 2; in parse_long_opt()
500 ctx->cpidx = ((flags & PARSE_OPT_KEEP_ARGV0) != 0); in parse_options_start()
527 ctx->out[ctx->cpidx++] = ctx->argv[0]; in parse_options_step()
605 ctx->out[ctx->cpidx++] = ctx->argv[0]; in parse_options_step()
624 memmove(ctx->out + ctx->cpidx, ctx->argv, ctx->argc * sizeof(*ctx->out)); in parse_options_end()
625 ctx->out[ctx->cpidx + ctx->argc] = NULL; in parse_options_end()
626 return ctx->cpidx + ctx->argc; in parse_options_end()
Dparse-options.h208 int argc, cpidx; member