/external/ltp/testcases/kernel/io/disktest/ |
Getopt.c | 90 int optind; variable 177 optind = iArg++;
|
/external/syslinux/com32/include/ |
unistd.h | 33 __extern int optind, opterr, optopt; variable
|
/system/libvintf/ |
assemble_vintf_main.cpp | 76 int optind; local 77 while ((res = getopt_long(argc, argv, "hi:o:mc:nl", longopts, &optind)) >= 0) {
|
/external/libpcap/missing/ |
getopt.c | 45 optind = 1, /* index into parent argv vector */ variable 77 if (optind >= nargc || *(place = nargv[optind]) != '-') { 82 ++optind; 96 ++optind; 105 ++optind; 110 else if (nargc <= ++optind) { /* no arg */ 121 optarg = nargv[optind]; 123 ++optind;
|
/external/syslinux/com32/lib/ |
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 + 1]) [all...] |
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, change to new opt. * [all...] |
/external/syslinux/libinstaller/getopt/ |
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, change to new opt. * [all...] |
/external/fio/oslib/ |
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++; 128 if (!(optarg = argv[optind])) 130 optind++; 142 /* Someone frobbed optind, change to new opt. * [all...] |
/external/iproute2/tipc/ |
cmdl.h | 25 int optind; member in struct:cmdl
|
/external/syslinux/gpxe/src/core/ |
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 >= argc [all...] |
exec.c | 41 int optind; variable
|
/system/core/logcat/include/log/ |
getopt.h | 37 int optind; member in struct:getopt_context
|
/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/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...] |
/toolchain/binutils/binutils-2.27/libiberty/ |
getopt.c | 128 Otherwise, `optind' communicates from one call to the next 132 int optind = 1; 134 /* Formerly, initialization of getopt depended on optind==0, which 187 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 309 The other is elements [last_nonopt,optind), which contains all 324 int top = optind; 394 first_nonopt += (optind - last_nonopt); 395 last_nonopt = optind; 412 first_nonopt = last_nonopt = optind; 479 updating `optind' and `nextchar' so that the next call to `getopt' ca 131 int optind = 1; variable [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/syslinux/lzo/src/ |
lzo_supp.h | 1269 int optind; member in struct:lzo_getopt_t [all...] |
/external/robolectric/v3/runtime/ |
tagsoup-1.2.jar | |