Home
last modified time | relevance | path

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

/tools/lib/subcmd/
Dparse-options.c368 p->out[p->cpidx++] = arg - 2; in parse_long_opt()
482 ctx->cpidx = ((flags & PARSE_OPT_KEEP_ARGV0) != 0); in parse_options_start()
509 ctx->out[ctx->cpidx++] = ctx->argv[0]; in parse_options_step()
587 ctx->out[ctx->cpidx++] = ctx->argv[0]; in parse_options_step()
606 memmove(ctx->out + ctx->cpidx, ctx->argv, ctx->argc * sizeof(*ctx->out)); in parse_options_end()
607 ctx->out[ctx->cpidx + ctx->argc] = NULL; in parse_options_end()
608 return ctx->cpidx + ctx->argc; in parse_options_end()
Dparse-options.h206 int argc, cpidx; member