Lines Matching refs:optind
202 state->optind++; in parse_long_options()
288 state->optarg = nargv[state->optind++]; in parse_long_options()
312 --state->optind; in parse_long_options()
317 --state->optind; in parse_long_options()
380 if (state->optind == 0) {
381 state->optind = state->optreset = 1;
391 if (state->optind >= nargc) { /* end of argument vector */
397 state->optind, nargv);
398 state->optind -= state->nonopt_end -
405 state->optind = state->nonopt_start;
410 state->place = nargv[state->optind];
423 state->optarg = nargv[state->optind++];
435 state->nonopt_start = state->optind;
439 state->optind,
441 state->nonopt_start = state->optind -
445 state->optind++;
450 state->nonopt_end = state->optind;
458 state->optind++;
467 state->optind,
469 state->optind -= state->nonopt_end -
483 if (long_options != NULL && state->place != nargv[state->optind] &&
520 ++state->optind;
538 } else if (++(state->optind) >= nargc) { /* no arg */
545 } else if ((state->optind) < nargc) {
546 state->place = nargv[state->optind];
558 ++state->optind;
565 if (++state->optind >= nargc) { /* no arg */
573 state->optarg = nargv[state->optind];
576 ++state->optind;