/system/core/toolbox/ |
rotatefb.c | 37 if(optind + 1 != argc) { 41 rotation = atoi(argv[optind]);
|
alarm.c | 59 if(optind + 2 < argc) { 70 if(optind == argc) { 93 else if(optind + 1 == argc) { 108 //strptime(argv[optind], NULL, &tm); 119 ts.tv_sec += strtol(argv[optind], NULL, 0); 120 //strtotimeval(argv[optind], &tv); 122 printf("time %s -> %ld.%09ld\n", argv[optind], ts.tv_sec, ts.tv_nsec);
|
/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/netperf/ |
netsh.c | 470 extern int optind; /* index of first unused arg */ 519 if (argv[optind] && isdigit((unsigned char)argv[optind][0])){ 521 local_cpu_rate = (float)atof(argv[optind]); 522 optind++; 528 if (argv[optind] && isdigit((unsigned char)argv[optind][0])){ 530 remote_cpu_rate = (float)atof(argv[optind]); 531 optind++; 541 if (argv[optind] && isdigit((unsigned char)argv[optind][0])) [all...] |
/external/e2fsprogs/misc/ |
logsave.c | 26 extern int optind; 205 if (optind == argc || optind+1 == argc) 207 outfn = argv[optind]; 208 optind++; 209 argv += optind; 210 argc -= optind;
|
uuidgen.c | 21 extern int optind;
|
/external/iptables/extensions/ |
libipt_policy.c | 139 check_inverse(optarg, &invert, &optind, 0); 150 info->flags |= parse_direction(argv[optind-1]); 157 info->flags |= parse_policy(argv[optind-1]); 177 e->reqid = strtol(argv[optind-1], NULL, 10); 186 e->spi = strtol(argv[optind-1], NULL, 0x10); 193 parse_hostnetworkmask(argv[optind-1], &addr, &mask, &naddr); 208 parse_hostnetworkmask(argv[optind-1], &addr, &mask, &naddr); 223 e->proto = parse_protocol(argv[optind-1]); 236 mode = parse_mode(argv[optind-1]);
|
libipt_2ecn.c | 51 check_inverse(optarg, &invert, &optind, 0); 62 check_inverse(optarg, &invert, &optind, 0); 73 check_inverse(optarg, &invert, &optind, 0);
|
libip6t_ah.c | 99 check_inverse(optarg, &invert, &optind, 0); 100 parse_ah_spis(argv[optind-1], ahinfo->spis); 109 check_inverse(optarg, &invert, &optind, 0); 110 ahinfo->hdrlen = parse_ah_spi(argv[optind-1], "length");
|
libip6t_limit.c | 105 if (check_inverse(argv[optind-1], &invert, &optind, 0)) break; 112 if (check_inverse(argv[optind-1], &invert, &optind, 0)) break;
|
libip6t_udp.c | 83 check_inverse(optarg, &invert, &optind, 0); 84 parse_udp_ports(argv[optind-1], udpinfo->spts); 94 check_inverse(optarg, &invert, &optind, 0); 95 parse_udp_ports(argv[optind-1], udpinfo->dpts);
|
libipt_addrtype.c | 96 check_inverse(optarg, &invert, &optind, 0); 97 parse_types(argv[optind-1], &info->source); 106 check_inverse(optarg, &invert, &optind, 0); 107 parse_types(argv[optind-1], &info->dest);
|
libipt_limit.c | 105 if (check_inverse(argv[optind-1], &invert, &optind, 0)) break; 112 if (check_inverse(argv[optind-1], &invert, &optind, 0)) break;
|
libipt_udp.c | 84 check_inverse(optarg, &invert, &optind, 0); 85 parse_udp_ports(argv[optind-1], udpinfo->spts); 95 check_inverse(optarg, &invert, &optind, 0); 96 parse_udp_ports(argv[optind-1], udpinfo->dpts);
|
/bootable/diskinstaller/editdisklbl/ |
editdisklbl.c | 93 if (optind >= argc) { 126 while (optind < argc) { 127 char *pair = argv[optind++];
|
/external/bluetooth/bluez/test/ |
lmptest.c | 140 argc -= optind; 141 argv += optind; 142 optind = 0;
|
/sdk/emulator/qtools/ |
read_method.cpp | 81 if (argc - optind != 2) { 86 char *qemu_trace_file = argv[optind++]; 87 char *elf_file = argv[optind++];
|
/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 | 39 int optind; 84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 111 /* The initializer is necessary to set OPTIND and OPTERR to their 38 int optind; member in struct:_getopt_data
|
/external/bison/src/ |
getargs.c | 450 if (argc - optind != 1) 452 if (argc - optind < 1) 455 error (0, 0, _("extra operand `%s'"), argv[optind + 1]); 459 current_file = grammar_file = uniqstr_new (argv[optind]);
|
/external/e2fsprogs/debugfs/ |
ls.c | 21 extern int optind; 139 if (argc > optind+1) { 145 if (argc == optind) 148 inode = string_to_inode(argv[optind]);
|
unused.c | 21 extern int 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/iproute2/include/ |
iptables_common.h | 17 int check_inverse(const char option[], int *invert, int *optind, int argc);
|