Home
last modified time | relevance | path

Searched refs:nargv (Results 1 – 6 of 6) sorted by relevance

/third_party/libwebsockets/win32port/win32helpers/
Dgetopt_long.c81 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
83 char * const *nargv;
89 _DIAGASSERT(nargv != NULL);
94 if (optind >= nargc || *(place = nargv[optind]) != '-') {
116 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
131 __progname(nargv[0]), optopt);
134 optarg = nargv[optind];
147 getopt2(nargc, nargv, ostr)
149 char * const *nargv;
154 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
[all …]
Dgetopt.c87 getopt(nargc, nargv, ostr) in getopt() argument
89 char * const nargv[];
95 __progname = __progname?__progname:_progname(*nargv);
97 _DIAGASSERT(nargv != NULL);
102 if (optind >= nargc || *(place = nargv[optind]) != '-') {
147 optarg = nargv[optind];
/third_party/mesa3d/src/getopt/
Dgetopt_long.c123 char * const *nargv) in permute_args() argument
144 swap = nargv[pos]; in permute_args()
146 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
148 ((char **)nargv)[cstart] = swap; in permute_args()
159 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument
231 optarg = nargv[optind++]; in parse_long_options()
277 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
318 optind, nargv); in getopt_internal()
331 if (*(place = nargv[optind]) != '-' || in getopt_internal()
339 optarg = nargv[optind++]; in getopt_internal()
[all …]
/third_party/node/deps/cares/src/tools/
Dares_getopt.c66 ares_getopt(int nargc, char * const nargv[], const char *ostr) in ares_getopt() argument
73 if (optind >= nargc || *(place = nargv[optind]) != '-') { in ares_getopt()
117 optarg = nargv[optind]; in ares_getopt()
Dares_getopt.h34 int ares_getopt(int nargc, char * const nargv[], const char *ostr);
/third_party/alsa-utils/alsaucm/
Dusecase.c128 char *start, **nargv; in parse_line() local
161 nargv = realloc(context->argv, in parse_line()
163 if (nargv == NULL) in parse_line()
165 context->argv = nargv; in parse_line()