Searched refs:cpidx (Results 1 – 4 of 4) sorted by relevance
223 self->out[self->cpidx++] = self->argv[0]; in argparse_parse()267 memmove(self->out + self->cpidx, self->argv, in argparse_parse()269 self->out[self->cpidx + self->argc] = NULL; in argparse_parse()271 return self->cpidx + self->argc; in argparse_parse()
389 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()
210 int argc, cpidx; member
104 int cpidx; member