/external/fio/lib/ |
H A D | getopt_long.c | 20 int optind = 0, opterr = 0, optopt = 0; variable 59 optind < 1 || optind > argc) { 60 /* optind doesn't match the current query */ 63 optind = 1; 67 carg = argv[optind]; 78 optind++; 102 if (!(optarg = argv[optind])) 104 optind++; 116 /* Someone frobbed optind, chang [all...] |
/external/syslinux/com32/lib/ |
H A D | getopt.c | 12 int optind, opterr, optopt; variable 33 optind < 1 || optind > argc) { 34 /* optind doesn't match the current query */ 37 optind = 1; 41 carg = argv[optind]; 50 optind++; 55 /* Someone frobbed optind, change to new opt. */ 67 optind++; 71 if (argv[optind [all...] |
H A D | getopt_long.c | 17 int optind, opterr, optopt; variable 53 optind < 1 || optind > argc) { 54 /* optind doesn't match the current query */ 57 optind = 1; 61 carg = argv[optind]; 72 optind++; 96 if (!(optarg = argv[optind])) 98 optind++; 110 /* Someone frobbed optind, chang [all...] |
/external/c-ares/ |
H A D | ares_getopt.h | 37 #undef optind macro 43 #define optind ares_optind macro 49 extern int optind;
|
H A D | ares_getopt.c | 52 optind = 1; /* index into parent argv vector */ variable 73 if (optind >= nargc || *(place = nargv[optind]) != '-') { 78 ++optind; 92 ++optind; 101 ++optind; 106 else if (nargc <= ++optind) { /* no arg */ 117 optarg = nargv[optind]; 119 ++optind;
|
/external/syslinux/libinstaller/getopt/ |
H A D | getopt_long.c | 17 int optind, opterr, optopt; variable 53 optind < 1 || optind > argc) { 54 /* optind doesn't match the current query */ 57 optind = 1; 61 carg = argv[optind]; 72 optind++; 96 if (!(optarg = argv[optind])) 98 optind++; 110 /* Someone frobbed optind, chang [all...] |
H A D | getopt.h | 20 extern int optind, opterr, optopt;
|
/external/libusb/examples/getopt/ |
H A D | getopt.c | 125 Otherwise, `optind' communicates from one call to the next 129 int optind = 1; 131 /* Formerly, initialization of getopt depended on optind==0, which 184 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 296 The other is elements [last_nonopt,optind), which contains all 312 int top = optind; 382 first_nonopt += (optind - last_nonopt); 383 last_nonopt = optind; 401 first_nonopt = last_nonopt = optind; 468 updating `optind' an 128 int optind = 1; variable [all...] |
H A D | getopt1.c | 112 int this_option_optind = optind ? optind : 1; 179 if (optind < argc) 182 while (optind < argc) 183 printf ("%s ", argv[optind++]);
|
/external/libpcap/Win32/Src/ |
H A D | getopt.c | 43 optind = 1, /* index into parent argv vector */ variable 72 if (optind >= nargc || *(place = nargv[optind]) != '-') { 77 ++optind; 91 ++optind; 100 ++optind; 105 else if (nargc <= ++optind) { /* no arg */ 116 optarg = nargv[optind]; 118 ++optind;
|
/external/syslinux/gpxe/src/hci/commands/ |
H A D | gdbstub_cmd.c | 74 if ( optind == argc ) { 79 trans_name = argv[optind++]; 89 if ( trans->init ( argc - optind, &argv[optind] ) != 0 ) {
|
/external/tcpdump/ |
H A D | getopt_long.h | 64 extern int optind, opterr, optopt;
|
/external/ltp/pan/ |
H A D | ltp-bump.c | 80 if (optind == argc) { 91 while (optind < argc) { 92 /*printf("argv[%d] = (%s)\n", optind, argv[optind] ); */ 93 nanny = zoo_getpid(zoo, argv[optind]); 96 argv[optind]); 102 argv[optind], nanny); 110 ++optind;
|
/external/syslinux/gpxe/src/core/ |
H A D | getopt.c | 44 * @c optind is the index to the first element that is not an option. 46 int optind; variable 76 if ( optind >= argc ) 78 arg = argv[optind]; 87 optind++; 121 optind++; 182 optind++; 187 optind++; 226 const char *opttext = argv[optind]; 233 if ( optind > [all...] |
/external/mesa3d/src/getopt/ |
H A D | getopt_long.c | 59 int optind = 1; /* index into parent argv vector */ variable 169 optind++; 231 optarg = nargv[optind++]; 250 --optind; 255 --optind; 301 * XXX Some GNU programs (like cvs) set optind to 0 instead of 304 if (optind == 0) 305 optind = optreset = 1; 313 if (optind >= nargc) { /* end of argument vector */ 318 optind, narg [all...] |
/external/openssh/openbsd-compat/ |
H A D | getopt_long.c | 59 * getopt opterr optind optopt optreset optarg are all in defines.h which is 76 int optind = 1; /* index into parent argv vector */ variable 186 optind++; 248 optarg = nargv[optind++]; 267 --optind; 272 --optind; 305 * XXX Some GNU programs (like cvs) set optind to 0 instead of 308 if (optind == 0) 309 optind = optreset = 1; 330 if (optind > [all...] |
/external/tcpdump/missing/ |
H A D | getopt_long.c | 83 int optind, opterr = 1, optopt; variable 220 optind++; 301 optarg = nargv[optind++]; 323 --optind; 328 --optind; 384 * XXX Some GNU programs (like cvs) set optind to 0 instead of 387 if (optind == 0) 388 optind = 1; 393 if (optind >= nargc) { /* end of argument vector */ 398 optind, narg [all...] |
/external/ltp/testcases/kernel/syscalls/utimensat/ |
H A D | utimensat01.c | 150 if ((optind + 5 != argc) && (optind + 1 != argc)) 168 pathname = (strcmp(argv[optind], "NULL") == 0) ? NULL : argv[optind]; 176 if (argc == optind + 1) { 180 ts[0].tv_sec = atoi(argv[optind + 1]); 181 if (argv[optind + 2][0] == 'n') { 183 } else if (argv[optind + 2][0] == 'o') { 186 ts[0].tv_nsec = atoi(argv[optind + 2]); 189 ts[1].tv_sec = atoi(argv[optind [all...] |
/external/bison/lib/ |
H A D | getopt1.c | 94 int this_option_optind = optind ? optind : 1; 161 if (optind < argc) 164 while (optind < argc) 165 printf ("%s ", argv[optind++]);
|
H A D | getopt.c | 79 Otherwise, 'optind' communicates from one call to the next 83 int optind = 1; 140 The other is elements [last_nonopt,optind), which contains all 151 int top = d->optind; 221 d->__first_nonopt += (d->optind - d->__last_nonopt); 222 d->__last_nonopt = d->optind; 236 d->__first_nonopt = d->__last_nonopt = d->optind; 303 updating 'optind' and 'nextchar' so that the next call to 'getopt' can 307 Then 'optind' is the index in ARGV of the first ARGV-element 361 if (d->optind 82 int optind = 1; variable [all...] |
/external/libnl/src/ |
H A D | nl-link-stats.c | 59 if (optind >= gargc) { 65 while (optind < gargc) { 66 int id = rtnl_link_str2stat(argv[optind]); 70 "\"%s\"\n", argv[optind]); 74 optind++;
|
/external/selinux/libselinux/utils/ |
H A D | getconlist.c | 36 if (((argc - optind) < 1) || ((argc - optind) > 2)) 46 user = argv[optind]; 49 if (((argc - optind) < 2)) { 55 cur_context = argv[optind + 1];
|
/external/libunwind/tests/ |
H A D | test-ptrace.c | 173 int status, pid, pending_sig, optind = 1, state = 1; local 187 while (argv[optind][0] == '-') 189 if (strcmp (argv[optind], "-v") == 0) 190 ++optind, verbose = 1; 191 else if (strcmp (argv[optind], "-i") == 0) 192 ++optind, trace_mode = INSTRUCTION; /* backtrace at each insn */ 193 else if (strcmp (argv[optind], "-s") == 0) 194 ++optind, trace_mode = SYSCALL; /* backtrace at each syscall */ 195 else if (strcmp (argv[optind], "-t") == 0) 198 ++optind, trace_mod [all...] |
/external/e2fsprogs/tests/progs/ |
H A D | crcsum.c | 47 if (optind == argc) 50 f = fopen(argv[optind], "r"); 53 argv[optind]);
|
/external/iptables/extensions/ |
H A D | libxt_rateest.c | 160 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!') 163 if (rateest_get_rate(&info->bps1, argv[optind]) < 0) 166 argv[optind]); 167 optind++; 183 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!') 186 if (!xtables_strtoui(argv[optind], NUL [all...] |