Lines Matching refs:nonopt_start
95 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
317 nonopt_start = nonopt_end = -1; in getopt_internal()
325 permute_args(nonopt_start, nonopt_end, in getopt_internal()
327 optind -= nonopt_end - nonopt_start; in getopt_internal()
329 else if (nonopt_start != -1) { in getopt_internal()
334 optind = nonopt_start; in getopt_internal()
336 nonopt_start = nonopt_end = -1; in getopt_internal()
358 if (nonopt_start == -1) in getopt_internal()
359 nonopt_start = optind; in getopt_internal()
361 permute_args(nonopt_start, nonopt_end, in getopt_internal()
363 nonopt_start = optind - in getopt_internal()
364 (nonopt_end - nonopt_start); in getopt_internal()
371 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
385 permute_args(nonopt_start, nonopt_end, in getopt_internal()
387 optind -= nonopt_end - nonopt_start; in getopt_internal()
389 nonopt_start = nonopt_end = -1; in getopt_internal()