Lines Matching refs:nonopt_end
100 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
324 nonopt_start = nonopt_end = -1; in getopt_internal()
330 if (nonopt_end != -1) { in getopt_internal()
332 permute_args(nonopt_start, nonopt_end, in getopt_internal()
334 optind -= nonopt_end - nonopt_start; in getopt_internal()
343 nonopt_start = nonopt_end = -1; in getopt_internal()
367 else if (nonopt_end != -1) { in getopt_internal()
368 permute_args(nonopt_start, nonopt_end, in getopt_internal()
371 (nonopt_end - nonopt_start); in getopt_internal()
372 nonopt_end = -1; in getopt_internal()
378 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
379 nonopt_end = optind; in getopt_internal()
391 if (nonopt_end != -1) { in getopt_internal()
392 permute_args(nonopt_start, nonopt_end, in getopt_internal()
394 optind -= nonopt_end - nonopt_start; in getopt_internal()
396 nonopt_start = nonopt_end = -1; in getopt_internal()