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()
381 if (state->optind == 0) {
382 state->optind = state->optreset = 1;
392 if (state->optind >= nargc) { /* end of argument vector */
398 state->optind, nargv);
399 state->optind -= state->nonopt_end -
406 state->optind = state->nonopt_start;
411 state->place = nargv[state->optind];
424 state->optarg = nargv[state->optind++];
436 state->nonopt_start = state->optind;
440 state->optind,
442 state->nonopt_start = state->optind -
446 state->optind++;
451 state->nonopt_end = state->optind;
459 state->optind++;
468 state->optind,
470 state->optind -= state->nonopt_end -
484 if (long_options != NULL && state->place != nargv[state->optind] &&
521 ++state->optind;
539 } else if (++(state->optind) >= nargc) { /* no arg */
546 } else if ((state->optind) < nargc) {
547 state->place = nargv[state->optind];
559 ++state->optind;
566 if (++state->optind >= nargc) { /* no arg */
574 state->optarg = nargv[state->optind];
577 ++state->optind;