Lines Matching refs:nonopt_start
104 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
326 nonopt_start = nonopt_end = -1; in getopt_internal()
334 permute_args(nonopt_start, nonopt_end, in getopt_internal()
336 optind -= nonopt_end - nonopt_start; in getopt_internal()
338 else if (nonopt_start != -1) { in getopt_internal()
343 optind = nonopt_start; in getopt_internal()
345 nonopt_start = nonopt_end = -1; in getopt_internal()
367 if (nonopt_start == -1) in getopt_internal()
368 nonopt_start = optind; in getopt_internal()
370 permute_args(nonopt_start, nonopt_end, in getopt_internal()
372 nonopt_start = optind - in getopt_internal()
373 (nonopt_end - nonopt_start); in getopt_internal()
380 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
394 permute_args(nonopt_start, nonopt_end, in getopt_internal()
396 optind -= nonopt_end - nonopt_start; in getopt_internal()
398 nonopt_start = nonopt_end = -1; in getopt_internal()