/external/ltp/testcases/kernel/io/disktest/ |
Getopt.c | 90 int optind; variable 177 optind = iArg++;
|
/device/generic/opengl-transport/host/commands/emugen/ |
getopt.c | 9 int optind = 1; variable 17 if (optind >= argc) 20 const char* arg = argv[optind]; 53 optind++; 61 } else if (argc > ++optind) { 62 optarg = (char *)argv[optind++];
|
/external/libpcap/missing/ |
getopt.c | 45 optind = 1, /* index into parent argv vector */ variable 74 if (optind >= nargc || *(place = nargv[optind]) != '-') { 79 ++optind; 93 ++optind; 102 ++optind; 107 else if (nargc <= ++optind) { /* no arg */ 118 optarg = nargv[optind]; 120 ++optind;
|
/external/iproute2/tipc/ |
cmdl.h | 25 int optind; member in struct:cmdl
|
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
win_posix.c | 17 int optind = 1; variable 59 /* optind may be zero with some POSIX uses. 62 if (optind == 0) 63 optind = 1; 82 if (optind < argc) { 85 optind++; 86 optarg = argv[optind++]; 92 optind++; 102 optind++; 125 if ((argc > optind) && (argv != 0)) [all...] |
/external/libunwind/tests/ |
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_mode = TRIGGER [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
getopt_long.c | 74 int optind = 1; /* index into parent argv vector */ variable 223 optind++; 304 optarg = nargv[optind++]; 326 --optind; 331 --optind; 368 * XXX Some GNU programs (like cvs) set optind to 0 instead of 371 if (optind == 0) 372 optind = optreset = 1; 393 if (optind >= nargc) { /* end of argument vector */ 398 optind, nargv) [all...] |
/external/libusb/examples/getopt/ |
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' and `nextchar' so that the next call to `getopt' ca 128 int optind = 1; variable [all...] |
/external/mesa3d/src/getopt/ |
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, nargv) [all...] |
/external/openssh/openbsd-compat/ |
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 >= nargc) { /* end of argument vector * [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
CommandLine.java | 65 int optind = getopts(options, argv); local 74 if (argv.length == optind) { 78 for (int i = optind; i < argv.length; i++) { 94 for (int i = optind; i < argv.length; i++) { 257 int optind; local 258 for (optind = 0; optind < argv.length; optind++) { 259 String arg = argv[optind]; 278 return optind; [all...] |
/external/tcpdump/missing/ |
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, nargv) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
compat.c | 101 int optind = 1;
variable 110 if (argv[optind] && *argv[optind] == '-') {
111 cmd = *(argv[optind] + 1);
117 rv = *(argv[optind] + 1);
119 if (*(argv[optind] + 2) != '\0') {
120 optarg = argv[optind] + 2;
121 optind += 1;
123 optarg = argv[optind + 1];
124 optind += 2; [all...] |
/external/nos/host/android/manual_tests/ |
test_citadel.c | 238 int i, rv, argcount, optind = 1; local 242 if (optind < argc) { 243 command = strtoul(argv[optind], &e, 16); 245 Error("%s: Invalid COMMAND: \"%s\"", argv[0], argv[optind]); 246 optind++; 253 argcount = argc - optind; 263 buf[i] = 0xff & strtoul(argv[optind], &e, 16); 265 Error("%s: Invalid byte value: \"%s\"", argv[0], argv[optind]); 268 optind++; 288 int optind = 1 local [all...] |
/external/wpa_supplicant_8/src/utils/ |
common.c | 367 int optind = 1; variable 377 if (optind >= argc) { 382 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 388 if (os_strcmp(argv[optind], "--") == 0) { 390 optind++; 394 optopt = argv[optind][optchr]; 397 if (argv[optind][++optchr] == '\0') { 399 optind++; 407 if (argv[optind][optchr + 1]) [all...] |
/external/openssh/ |
defines.h | 588 # undef optind macro 594 # define optind BSDoptind macro
|
/external/epid-sdk/ext/argtable3/ |
argtable3.c | 256 extern int optind; 331 int optind = 1; /* index into parent argv vector */ variable 489 optind++; 551 optarg = nargv[optind++]; 570 --optind; 575 --optind; 637 * XXX Some GNU programs (like cvs) set optind to 0 instead of 640 if (optind == 0) 641 optind = optreset = 1; 649 if (optind >= nargc) { /* end of argument vector * [all...] |
/external/mksh/src/ |
sh.h | 1550 #undef optind macro 1554 int optind; member in struct:__anon34529 [all...] |