Lines Matching refs:nargv
123 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()
354 optind, nargv); in getopt_internal()
378 optind, nargv); in getopt_internal()
392 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
400 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
436 place = nargv[optind]; in getopt_internal()
437 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
457 optarg = nargv[optind]; in getopt_internal()
473 getopt(int nargc, char * const *nargv, const char *options) in getopt() argument
484 return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); in getopt()
492 getopt_long(int nargc, char * const *nargv, const char *options, in getopt_long() argument
496 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long()
505 getopt_long_only(int nargc, char * const *nargv, const char *options, in getopt_long_only() argument
509 return (getopt_internal(nargc, nargv, options, long_options, idx, in getopt_long_only()