Lines Matching refs:nargv
140 char * const *nargv) in permute_args() argument
161 swap = nargv[pos]; in permute_args()
163 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
165 ((char **)nargv)[cstart] = swap; in permute_args()
176 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument
248 optarg = nargv[optind++]; in parse_long_options()
294 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
335 optind, nargv); in getopt_internal()
348 if (*(place = nargv[optind]) != '-' || in getopt_internal()
356 optarg = nargv[optind++]; in getopt_internal()
371 optind, nargv); in getopt_internal()
395 optind, nargv); in getopt_internal()
409 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
417 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
453 place = nargv[optind]; in getopt_internal()
454 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
474 optarg = nargv[optind]; in getopt_internal()
490 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
501 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
510 getopt_long(int nargc, char * const *nargv, const char *options,
514 return (getopt_internal(nargc, nargv, options, long_options, idx,
523 getopt_long_only(int nargc, char * const *nargv, const char *options,
527 return (getopt_internal(nargc, nargv, options, long_options, idx,