optind 96 lib/getopt.c int optind = 1; optind 162 lib/getopt.c int top = d->optind; optind 232 lib/getopt.c d->__first_nonopt += (d->optind - d->__last_nonopt); optind 233 lib/getopt.c d->__last_nonopt = d->optind; optind 246 lib/getopt.c d->__first_nonopt = d->__last_nonopt = d->optind; optind 371 lib/getopt.c if (d->optind == 0 || !d->__initialized) optind 373 lib/getopt.c if (d->optind == 0) optind 374 lib/getopt.c d->optind = 1; /* Don't scan ARGV[0], the program name. */ optind 385 lib/getopt.c # define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0' \ optind 386 lib/getopt.c || (d->optind < d->__nonoption_flags_len \ optind 387 lib/getopt.c && __getopt_nonoption_flags[d->optind] == '1')) optind 389 lib/getopt.c # define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') optind 398 lib/getopt.c if (d->__last_nonopt > d->optind) optind 399 lib/getopt.c d->__last_nonopt = d->optind; optind 400 lib/getopt.c if (d->__first_nonopt > d->optind) optind 401 lib/getopt.c d->__first_nonopt = d->optind; optind 409 lib/getopt.c && d->__last_nonopt != d->optind) optind 411 lib/getopt.c else if (d->__last_nonopt != d->optind) optind 412 lib/getopt.c d->__first_nonopt = d->optind; optind 417 lib/getopt.c while (d->optind < argc && NONOPTION_P) optind 418 lib/getopt.c d->optind++; optind 419 lib/getopt.c d->__last_nonopt = d->optind; optind 427 lib/getopt.c if (d->optind != argc && !strcmp (argv[d->optind], "--")) optind 429 lib/getopt.c d->optind++; optind 432 lib/getopt.c && d->__last_nonopt != d->optind) optind 435 lib/getopt.c d->__first_nonopt = d->optind; optind 438 lib/getopt.c d->optind = argc; optind 444 lib/getopt.c if (d->optind == argc) optind 449 lib/getopt.c d->optind = d->__first_nonopt; optind 460 lib/getopt.c d->optarg = argv[d->optind++]; optind 467 lib/getopt.c d->__nextchar = (argv[d->optind] + 1 optind 468 lib/getopt.c + (longopts != NULL && argv[d->optind][1] == '-')); optind 487 lib/getopt.c && (argv[d->optind][1] == '-' optind 488 lib/getopt.c || (long_only && (argv[d->optind][2] optind 489 lib/getopt.c || !strchr (optstring, argv[d->optind][1]))))) optind 538 lib/getopt.c argv[0], argv[d->optind]) >= 0) optind 554 lib/getopt.c argv[0], argv[d->optind]); optind 558 lib/getopt.c d->optind++; optind 566 lib/getopt.c d->optind++; optind 582 lib/getopt.c if (argv[d->optind - 1][1] == '-') optind 601 lib/getopt.c argv[0], argv[d->optind - 1][0], optind 606 lib/getopt.c argv[0], argv[d->optind - 1][0], optind 638 lib/getopt.c if (d->optind < argc) optind 639 lib/getopt.c d->optarg = argv[d->optind++]; optind 649 lib/getopt.c argv[0], argv[d->optind - 1]) >= 0) optind 667 lib/getopt.c argv[0], argv[d->optind - 1]); optind 690 lib/getopt.c if (!long_only || argv[d->optind][1] == '-' optind 700 lib/getopt.c if (argv[d->optind][1] == '-') optind 716 lib/getopt.c argv[0], argv[d->optind][0], d->__nextchar); optind 719 lib/getopt.c argv[0], argv[d->optind][0], d->__nextchar); optind 741 lib/getopt.c d->optind++; optind 755 lib/getopt.c ++d->optind; optind 823 lib/getopt.c d->optind++; optind 825 lib/getopt.c else if (d->optind == argc) optind 864 lib/getopt.c d->optarg = argv[d->optind++]; optind 904 lib/getopt.c argv[0], argv[d->optind]) >= 0) optind 920 lib/getopt.c argv[0], argv[d->optind]); optind 924 lib/getopt.c d->optind++; optind 973 lib/getopt.c if (d->optind < argc) optind 974 lib/getopt.c d->optarg = argv[d->optind++]; optind 984 lib/getopt.c argv[0], argv[d->optind - 1]) >= 0) optind 1002 lib/getopt.c argv[0], argv[d->optind - 1]); optind 1030 lib/getopt.c d->optind++; optind 1044 lib/getopt.c d->optind++; optind 1046 lib/getopt.c else if (d->optind == argc) optind 1085 lib/getopt.c d->optarg = argv[d->optind++]; optind 1100 lib/getopt.c getopt_data.optind = optind; optind 1106 lib/getopt.c optind = getopt_data.optind; optind 1142 lib/getopt.c int this_option_optind = optind ? optind : 1; optind 1186 lib/getopt.c if (optind < argc) optind 1189 lib/getopt.c while (optind < argc) optind 1190 lib/getopt.c printf ("%s ", argv[optind++]); optind 54 lib/getopt.in.h # define optind __GETOPT_ID (optind) optind 128 lib/getopt.in.h extern int optind; optind 93 lib/getopt1.c int this_option_optind = optind ? optind : 1; optind 160 lib/getopt1.c if (optind < argc) optind 163 lib/getopt1.c while (optind < argc) optind 164 lib/getopt1.c printf ("%s ", argv[optind++]); optind 38 lib/getopt_int.h int optind; optind 188 src/lzmainfo/lzmainfo.c if (optind == argc) { optind 195 src/lzmainfo/lzmainfo.c if (strcmp(argv[optind], "-") == 0) { optind 199 src/lzmainfo/lzmainfo.c FILE *f = fopen(argv[optind], "r"); optind 204 src/lzmainfo/lzmainfo.c argv[optind], optind 209 src/lzmainfo/lzmainfo.c if (lzmainfo(argv[optind], f)) optind 215 src/lzmainfo/lzmainfo.c } while (++optind < argc); optind 480 src/xz/args.c optind = 1; optind 484 src/xz/args.c optind = 0; optind 564 src/xz/args.c if (argv[optind] == NULL && args->files_name == NULL) { optind 573 src/xz/args.c args->arg_names = argv + optind; optind 574 src/xz/args.c args->arg_count = argc - optind; optind 293 src/xzdec/xzdec.c if (optind == argc) { optind 300 src/xzdec/xzdec.c if (strcmp(argv[optind], "-") == 0) { optind 303 src/xzdec/xzdec.c FILE *file = fopen(argv[optind], "rb"); optind 305 src/xzdec/xzdec.c my_errorf("%s: %s", argv[optind], optind 310 src/xzdec/xzdec.c uncompress(&strm, file, argv[optind]); optind 313 src/xzdec/xzdec.c } while (++optind < argc);