Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_argparse.cpp223 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()
/OK3568_Linux_fs/kernel/tools/lib/subcmd/
H A 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()
H A Dparse-options.h210 int argc, cpidx; member
/OK3568_Linux_fs/external/rockit/mpi/example/include/
H A Dtest_comm_argparse.h104 int cpidx; member