Searched refs:nargv (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/lib/posix/getopt/ |
D | getopt_long.c | 132 char * const *nargv) in permute_args() argument 154 swap = nargv[pos]; in permute_args() 156 ((char **) nargv)[pos] = nargv[cstart]; in permute_args() 158 ((char **)nargv)[cstart] = swap; in permute_args() 169 parse_long_options(struct getopt_state *state, char * const *nargv, in parse_long_options() argument 288 state->optarg = nargv[state->optind++]; in parse_long_options() 346 getopt_internal(struct getopt_state *state, int nargc, char * const *nargv, argument 397 state->optind, nargv); 410 state->place = nargv[state->optind]; 423 state->optarg = nargv[state->optind++]; [all …]
|
D | getopt.h | 78 int getopt_long(int nargc, char *const *nargv, 105 int getopt_long_only(int nargc, char *const *nargv,
|
D | getopt.c | 78 int getopt(int nargc, char *const nargv[], const char *ostr) in getopt() argument 88 state->place = nargv[state->optind]; in getopt() 145 state->optarg = nargv[state->optind]; in getopt()
|
/Zephyr-Core-3.5.0/tests/posix/getopt/src/ |
D | main.c | 26 static const char *const nargv[] = { in ZTEST() local 40 size_t argc = ARRAY_SIZE(nargv); in ZTEST() 45 argv = (char **)nargv; in ZTEST() 74 static const char *const nargv[] = { in ZTEST() local 80 int argc = ARRAY_SIZE(nargv); in ZTEST() 87 argv = (char **)nargv; in ZTEST()
|