/external/grub/lib/ |
H A D | getopt.c | 127 Otherwise, `optind' communicates from one call to the next 131 int optind = 1; 133 /* Formerly, initialization of getopt depended on optind==0, which 186 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 300 The other is elements [last_nonopt,optind), which contains all 316 int top = optind; 386 first_nonopt += (optind - last_nonopt); 387 last_nonopt = optind; 405 first_nonopt = last_nonopt = optind; 472 updating `optind' an 130 int optind = 1; variable [all...] |
H A D | getopt1.c | 114 int this_option_optind = optind ? optind : 1; 181 if (optind < argc) 184 while (optind < argc) 185 printf ("%s ", argv[optind++]);
|
H A D | getopt.h | 46 Otherwise, `optind' communicates from one call to the next 49 extern int optind;
|
/external/iptables/extensions/ |
H A D | libxt_rateest.c | 122 xtables_check_inverse(optarg, &invert, &optind, 0, argv); 136 xtables_check_inverse(optarg, &invert, &optind, 0, argv); 151 xtables_check_inverse(optarg, &invert, &optind, 0, argv); 164 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!') 167 if (rateest_get_rate(&info->bps1, argv[optind]) < 0) 170 argv[optind]); 171 optind++; 175 xtables_check_inverse(optarg, &invert, &optind, [all...] |
H A D | libxt_set.c | 68 xtables_check_inverse(optarg, &invert, &optind, 0, argv); 72 if (!argv[optind] 73 || argv[optind][0] == '-' 74 || argv[optind][0] == '!') 84 parse_dirs_v0(argv[optind], info); 86 optind++; 155 xtables_check_inverse(optarg, &invert, &optind, 0, argv); 159 if (!argv[optind] 160 || argv[optind][0] == '-' 161 || argv[optind][ [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
H A D | common.c | 200 int optind = 1; variable 210 if (optind >= argc) { 215 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 221 if (os_strcmp(argv[optind], "--") == 0) { 223 optind++; 227 optopt = argv[optind][optchr]; 230 if (argv[optind][++optchr] == '\0') { 232 optind++; 240 if (argv[optind][optch [all...] |
/external/bison/lib/ |
H A D | getopt.c | 87 Otherwise, `optind' communicates from one call to the next 91 int optind = 1; 148 The other is elements [last_nonopt,optind), which contains all 159 int top = d->optind; 229 d->__first_nonopt += (d->optind - d->__last_nonopt); 230 d->__last_nonopt = d->optind; 243 d->__first_nonopt = d->__last_nonopt = d->optind; 310 updating `optind' and `nextchar' so that the next call to `getopt' can 314 Then `optind' is the index in ARGV of the first ARGV-element 369 if (d->optind 90 int optind = 1; variable [all...] |
H A D | getopt_.h | 44 # undef optind macro 54 # define optind __GETOPT_ID (optind) macro 125 Otherwise, `optind' communicates from one call to the next 128 extern int optind;
|
H A D | getopt1.c | 98 int this_option_optind = optind ? optind : 1; 165 if (optind < argc) 168 while (optind < argc) 169 printf ("%s ", argv[optind++]);
|
/external/webkit/Source/WebKit/android/benchmark/ |
H A D | main.cpp | 59 if (optind >= argc) { 64 android::benchmark(argv[optind], reloadCount, width, height);
|
/external/e2fsprogs/misc/ |
H A D | findsuper.c | 144 if (optind == argc) 147 device_name = argv[optind++]; 149 if (optind < argc) { 150 skiprate = strtol(argv[optind], &s, 0); 151 if (s == argv[optind]) { 155 optind++; 162 if (optind < argc) { 163 sk = skl = strtoll(argv[optind], &s, 0) << 10; 164 if (s == argv[optind]) { 169 optind [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | common.c | 254 int optind = 1; variable 264 if (optind >= argc) { 269 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 275 if (os_strcmp(argv[optind], "--") == 0) { 277 optind++; 281 optopt = argv[optind][optchr]; 284 if (argv[optind][++optchr] == '\0') { 286 optind++; 294 if (argv[optind][optch [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | common.c | 254 int optind = 1; variable 264 if (optind >= argc) { 269 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 275 if (os_strcmp(argv[optind], "--") == 0) { 277 optind++; 281 optopt = argv[optind][optchr]; 284 if (argv[optind][++optchr] == '\0') { 286 optind++; 294 if (argv[optind][optch [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | common.c | 254 int optind = 1; variable 264 if (optind >= argc) { 269 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 275 if (os_strcmp(argv[optind], "--") == 0) { 277 optind++; 281 optopt = argv[optind][optchr]; 284 if (argv[optind][++optchr] == '\0') { 286 optind++; 294 if (argv[optind][optch [all...] |
/external/icu4c/samples/date/ |
H A D | date.c | 62 int optind = 1; local 71 for(optind = 1; optind < argc; ++optind) { 72 arg = argv[optind]; 103 if ( optind + 1 < argc ) { 104 optind++; 105 format = argv[optind]; 111 ++optind;
|
/external/grub/util/ |
H A D | mbchk.c | 217 if (optind < argc) 219 while (optind < argc) 223 fp = fopen (argv[optind], "r"); 226 fprintf (stderr, "%s: No such file.\n", argv[optind]); 230 if (! check_multiboot (argv[optind], fp)) 234 optind++;
|
/external/qemu/ |
H A D | qemu-io.c | 406 if (optind != argc - 2) 414 offset = cvtnum(argv[optind]); 416 printf("non-numeric length argument -- %s\n", argv[optind]); 420 optind++; 421 count = cvtnum(argv[optind]); 423 printf("non-numeric length argument -- %s\n", argv[optind]); 565 if (optind > argc - 2) 569 offset = cvtnum(argv[optind]); 571 printf("non-numeric length argument -- %s\n", argv[optind]); 574 optind [all...] |
/external/e2fsprogs/lib/blkid/ |
H A D | dev.c | 189 extern int optind; 226 if (argc >= optind+2) { 227 search_type = argv[optind]; 228 search_value = argv[optind+1]; 229 optind += 2; 231 if (argc != optind)
|
/external/bluetooth/bluez/test/ |
H A D | sdptest.c | 132 argc -= optind; 133 argv += optind; 134 optind = 0;
|
/external/iptables/iptables/ |
H A D | ip6tables.c | 1357 /* re-set optind to 0 in case do_command6 gets called 1359 optind = 0; 1399 if (optind < argc && argv[optind][0] != '-' 1400 && argv[optind][0] != '!') { 1401 rulenum = parse_rulenumber(argv[optind++]); 1410 if (optind < argc && argv[optind][0] != '-' 1411 && argv[optind][0] != '!') 1412 rulenum = parse_rulenumber(argv[optind [all...] |
H A D | iptables.c | 1386 /* re-set optind to 0 in case do_command4 gets called 1388 optind = 0; 1428 if (optind < argc && argv[optind][0] != '-' 1429 && argv[optind][0] != '!') { 1430 rulenum = parse_rulenumber(argv[optind++]); 1439 if (optind < argc && argv[optind][0] != '-' 1440 && argv[optind][0] != '!') 1441 rulenum = parse_rulenumber(argv[optind [all...] |
/external/wpa_supplicant/ |
H A D | common.c | 496 int optind = 1; variable 506 if (optind >= argc) { 511 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 517 if (os_strcmp(argv[optind], "--") == 0) { 519 optind++; 523 optopt = argv[optind][optchr]; 526 if (argv[optind][++optchr] == '\0') { 528 optind++; 536 if (argv[optind][optch [all...] |
/external/fsck_msdos/ |
H A D | main.c | 113 argc -= optind; 114 argv += optind;
|
/external/mesa3d/src/glsl/ |
H A D | glsl_compiler.cpp | 232 if (argc <= optind) 242 for (/* empty */; argc > optind; optind++) { 253 const unsigned len = strlen(argv[optind]); 257 const char *const ext = & argv[optind][len - 5]; 267 shader->Source = load_text_file(whole_program, argv[optind]); 269 printf("File \"%s\" does not exist.\n", argv[optind]); 276 printf("Info log for %s:\n%s\n", argv[optind], shader->InfoLog);
|
/external/valgrind/main/drd/tests/ |
H A D | omp_prime.c | 66 if (optind + 1 != argc) 71 n = atoi(argv[optind]);
|