Lines Matching refs:nonopt_start
87 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
309 nonopt_start = nonopt_end = -1; in getopt_internal()
317 permute_args(nonopt_start, nonopt_end, in getopt_internal()
319 optind -= nonopt_end - nonopt_start; in getopt_internal()
321 else if (nonopt_start != -1) { in getopt_internal()
326 optind = nonopt_start; in getopt_internal()
328 nonopt_start = nonopt_end = -1; in getopt_internal()
350 if (nonopt_start == -1) in getopt_internal()
351 nonopt_start = optind; in getopt_internal()
353 permute_args(nonopt_start, nonopt_end, in getopt_internal()
355 nonopt_start = optind - in getopt_internal()
356 (nonopt_end - nonopt_start); in getopt_internal()
363 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
377 permute_args(nonopt_start, nonopt_end, in getopt_internal()
379 optind -= nonopt_end - nonopt_start; in getopt_internal()
381 nonopt_start = nonopt_end = -1; in getopt_internal()