Lines Matching refs:nonopt_start
50 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
255 nonopt_start = nonopt_end = -1; in getopt_internal()
263 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
264 optind -= nonopt_end - nonopt_start; in getopt_internal()
265 } else if (nonopt_start != -1) { in getopt_internal()
270 optind = nonopt_start; in getopt_internal()
272 nonopt_start = nonopt_end = -1; in getopt_internal()
294 if (nonopt_start == -1) in getopt_internal()
295 nonopt_start = optind; in getopt_internal()
297 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
298 nonopt_start = optind - (nonopt_end - nonopt_start); in getopt_internal()
305 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
319 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
320 optind -= nonopt_end - nonopt_start; in getopt_internal()
322 nonopt_start = nonopt_end = -1; in getopt_internal()