Lines Matching refs:nonopt_end
105 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
326 nonopt_start = nonopt_end = -1; in getopt_internal()
332 if (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()
345 nonopt_start = nonopt_end = -1; in getopt_internal()
369 else if (nonopt_end != -1) { in getopt_internal()
370 permute_args(nonopt_start, nonopt_end, in getopt_internal()
373 (nonopt_end - nonopt_start); in getopt_internal()
374 nonopt_end = -1; in getopt_internal()
380 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
381 nonopt_end = optind; in getopt_internal()
393 if (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()