Lines Matching refs:optwhere
150 static size_t optwhere = 0;
173 optind = optwhere = 1;
188 if (optwhere == 1)
232 || (only && argv[optind][0] == '+')) && optwhere == 1)
236 optwhere = 2;
238 possible_arg = strchr (argv[optind] + optwhere, '=');
244 match_chars = match_chars - optwhere;
247 match_chars = (possible_arg - argv[optind]) - optwhere;
250 if (memcmp (argv[optind] + optwhere,
285 cp = strchr (shortopts, argv[optind][optwhere]);
292 argv[0], argv[optind][optwhere]);
293 optwhere++;
294 if (argv[optind][optwhere] == '\0')
297 optwhere = 1;
303 possible_arg = argv[optind] + optwhere + 1;
306 /* get argument and reset optwhere */
316 optwhere = 1;
327 optwhere = 1;
346 optwhere = 1;
352 optwhere++;
353 if (argv[optind][optwhere] == '\0')
354 optwhere = 1;
357 optwhere = 1;
363 if (ordering == PERMUTE && optwhere == 1 && num_nonopts != 0)
368 else if (optwhere == 1)