Lines Matching refs:nonopt_end
51 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
255 nonopt_start = nonopt_end = -1; in getopt_internal()
261 if (nonopt_end != -1) { in getopt_internal()
263 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
264 optind -= nonopt_end - nonopt_start; in getopt_internal()
272 nonopt_start = nonopt_end = -1; in getopt_internal()
296 else if (nonopt_end != -1) { in getopt_internal()
297 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
298 nonopt_start = optind - (nonopt_end - nonopt_start); in getopt_internal()
299 nonopt_end = -1; in getopt_internal()
305 if (nonopt_start != -1 && nonopt_end == -1) in getopt_internal()
306 nonopt_end = optind; in getopt_internal()
318 if (nonopt_end != -1) { in getopt_internal()
319 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
320 optind -= nonopt_end - nonopt_start; in getopt_internal()
322 nonopt_start = nonopt_end = -1; in getopt_internal()