Lines Matching refs:nonopt_start
96 static int nonopt_start = -1; /* first non option argument (for permute) */ variable
187 nonopt_start = nonopt_end = -1; in getopt_internal()
195 permute_args(nonopt_start, nonopt_end, in getopt_internal()
197 optind -= nonopt_end - nonopt_start; in getopt_internal()
199 else if (nonopt_start != -1) { in getopt_internal()
204 optind = nonopt_start; in getopt_internal()
206 nonopt_start = nonopt_end = -1; in getopt_internal()
228 if (nonopt_start == -1) in getopt_internal()
229 nonopt_start = optind; in getopt_internal()
231 permute_args(nonopt_start, nonopt_end, in getopt_internal()
233 nonopt_start = optind - in getopt_internal()
234 (nonopt_end - nonopt_start); in getopt_internal()
241 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
325 permute_args(nonopt_start, nonopt_end, optind, in getopt()
327 optind -= nonopt_end - nonopt_start; in getopt()
329 nonopt_start = nonopt_end = -1; in getopt()
375 permute_args(nonopt_start, nonopt_end, in getopt_long()
377 optind -= nonopt_end - nonopt_start; in getopt_long()
379 nonopt_start = nonopt_end = -1; in getopt_long()