Lines Matching refs:optind
83 int optind, opterr = 1, optopt; variable
220 optind++; in parse_long_options()
301 optarg = nargv[optind++]; in parse_long_options()
323 --optind; in parse_long_options()
328 --optind; in parse_long_options()
387 if (optind == 0)
388 optind = 1;
393 if (optind >= nargc) { /* end of argument vector */
398 optind, nargv);
399 optind -= nonopt_end - nonopt_start;
406 optind = nonopt_start;
411 if (*(place = nargv[optind]) != '-' ||
423 optarg = nargv[optind++];
435 nonopt_start = optind;
438 optind, nargv);
439 nonopt_start = optind -
443 optind++;
448 nonopt_end = optind;
454 optind++;
462 optind, nargv);
463 optind -= nonopt_end - nonopt_start;
476 if (long_options != NULL && place != nargv[optind] &&
509 ++optind;
525 else if (++optind >= nargc) { /* no arg */
532 place = nargv[optind];
543 ++optind;
549 if (++optind >= nargc) { /* no arg */
556 optarg = nargv[optind];
559 ++optind;