/external/e2fsprogs/misc/ |
logsave.c | 31 extern int optind; 275 if (optind == argc || optind+1 == argc) 277 outfn = argv[optind]; 278 optind++; 279 argv += optind; 280 argc -= optind;
|
uuidgen.c | 21 extern int optind;
|
/external/libpcap/tests/ |
filtertest.c | 57 extern int optind; 263 if (optind >= argc) { 268 dlt = pcap_datalink_name_to_val(argv[optind]); 270 dlt = (int)strtol(argv[optind], &p, 10); 271 if (p == argv[optind] || *p != '\0') 272 error("invalid data link type %s", argv[optind]); 278 cmdbuf = copy_argv(&argv[optind+1]);
|
/external/avahi/avahi-utils/ |
avahi-publish.c | 302 if (optind+2 != argc) { 308 c->name = avahi_strdup(argv[optind]); 309 avahi_address_parse(argv[optind+1], AVAHI_PROTO_UNSPEC, &c->address); 317 if (optind+3 > argc) { 322 c->name = avahi_strdup(argv[optind]); 323 c->stype = avahi_strdup(argv[optind+1]); 326 p = strtol(argv[optind+2], &e, 0); 329 fprintf(stderr, _("Failed to parse port number: %s\n"), argv[optind+2]); 335 for (i = optind+3; i < argc; i++)
|
/frameworks/native/opengl/tests/hwc/ |
hwcColorEquiv.cpp | 195 while (optind < argc) { 196 if (*argv[optind] == '-') { break; } 199 str += " " + string(argv[optind++]); 217 while (optind < argc) { 218 if (*argv[optind] == '-') { break; } 221 str += " " + string(argv[optind++]); 261 if (argc != (optind + 1)) { 266 equivFormat = hwcTestGraphicFormatLookup(argv[optind]); 269 "format of: %s", argv[optind]);
|
/external/libmtp/examples/ |
albumart.c | 43 extern int optind; 79 argc -= optind; 80 argv += optind;
|
connect.c | 157 if (optind < argc) { 159 while (optind < argc) 160 printf("%s ", argv[optind++]);
|
/external/selinux/policycoreutils/hll/pp/ |
pp.c | 91 if (argc >= optind + 1 && strcmp(argv[1], "-") != 0) { 102 if (argc >= optind + 2 && strcmp(argv[2], "-") != 0) { 113 if (argc >= optind + 3) {
|
/external/vboot_reference/futility/ |
cmd_gbb_utility.c | 419 else if (argv[optind - 1]) 423 argv[optind - 1]); 429 if (argv[optind - 1]) 432 optopt, argv[optind - 1]); 454 if (argc - optind < 1) { 459 infile = argv[optind++]; 506 if (argc - optind < 1) { 511 infile = argv[optind++]; 513 outfile = (argc - optind < 1) ? infile : argv[optind++] [all...] |
/build/tools/acp/ |
acp.c | 225 if (optind == argc-1) { 228 } else if (optind+2 > argc) 248 retVal = process(argc-optind, argv+optind, options);
|
/external/bison/lib/ |
getopt_int.h | 61 '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */ 74 int optind; 115 /* The initializer is necessary to set OPTIND and OPTERR to their 73 int optind; member in struct:_getopt_data
|
/external/e2fsprogs/debugfs/ |
ls.c | 21 extern int optind; 153 if (argc > optind+1) { 159 if (argc == optind) 162 inode = string_to_inode(argv[optind]);
|
/external/e2fsprogs/include/nonunix/ |
getopt.h | 48 Otherwise, `optind' communicates from one call to the next 51 extern GETOPT_VARIABLE int optind;
|
/external/e2fsprogs/util/ |
copy_sparse.c | 35 extern int optind; 222 if (optind+2 != argc) 224 copy_sparse_file(argv[optind], argv[optind+1]);
|
/external/google-breakpad/src/tools/linux/symupload/ |
sym_upload.cc | 190 extern int optind; 213 if ((argc - optind) != 2) { 219 options->symbolsPath = argv[optind]; 220 options->uploadURLStr = argv[optind + 1];
|
/external/iproute2/include/ |
iptables_common.h | 17 int check_inverse(const char option[], int *invert, int *optind, int argc);
|
/external/selinux/policycoreutils/semodule_expand/ |
semodule_expand.c | 25 extern int optind; 99 if (argc < 3 || !(optind != (argc - 1))) { 106 basename = argv[optind++]; 107 outname = argv[optind];
|
/external/valgrind/drd/tests/ |
pth_broadcast.c | 133 s_signal_count = argc > optind ? atoi(argv[optind]) : 10; 134 thread_count = argc > optind + 1 ? atoi(argv[optind + 1]) : 10;
|
/external/vboot_reference/cgpt/ |
cmd_repair.c | 72 params.drive_name = argv[optind];
|
/frameworks/base/libs/hwui/tests/macrobench/ |
main.cpp | 223 fprintf(stderr, "Unrecognized option '%s'\n", argv[optind - 1]); 237 if (optind < argc) { 239 const char* test = argv[optind++]; 247 } while (optind < argc);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
getopt.h | 70 Otherwise, `optind' communicates from one call to the next 73 extern int optind;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
getopt.h | 70 Otherwise, `optind' communicates from one call to the next 73 extern int optind;
|
/development/tools/yuv420sp2rgb/ |
cmdline.c | 10 extern int optind, opterr, optopt; 146 return optind;
|
/external/e2fsprogs/contrib/ |
fallocate.c | 148 if (optind == argc) { 153 fname = argv[optind++];
|
/external/e2fsprogs/lib/blkid/ |
tag.c | 389 extern int optind; 431 if (argc > optind) 432 devname = argv[optind++]; 433 if (argc > optind) 434 search_type = argv[optind++]; 435 if (argc > optind) 436 search_value = argv[optind++]; 437 if (!devname || (argc != optind))
|