HomeSort by relevance Sort by last modified time
    Searched full:argv (Results 426 - 450 of 5415) sorted by null

<<11121314151617181920>>

  /frameworks/base/tools/aapt/
Main.cpp 252 int main(int argc, char* const argv[])
254 char *prog = argv[0];
268 if (argv[1][0] == 'v')
270 else if (argv[1][0] == 'd')
272 else if (argv[1][0] == 'l')
274 else if (argv[1][0] == 'a')
276 else if (argv[1][0] == 'r')
278 else if (argv[1][0] == 'p')
280 else if (argv[1][0] == 'c')
282 else if (argv[1][0] == 's'
    [all...]
  /external/eigen/bench/
benchBlasGemm.cpp 34 int main(int argc, char *argv[])
52 if (std::string(argv[1])=="check")
55 M = N = K = atoi(argv[1]);
57 else if ((argc==3) && (std::string(argv[1])=="auto"))
59 M = N = K = atoi(argv[2]);
67 M = N = K = atoi(argv[1]);
68 nbloops = atoi(argv[2]);
69 nbtries = atoi(argv[3]);
73 M = atoi(argv[1]);
74 N = atoi(argv[2])
81 std::cout << "Usage: " << argv[0] << " size \\n"; local
82 std::cout << "Usage: " << argv[0] << " auto size\\n"; local
83 std::cout << "Usage: " << argv[0] << " size nbloops nbtries\\n"; local
84 std::cout << "Usage: " << argv[0] << " M N K nbloops nbtries\\n"; local
85 std::cout << "Usage: " << argv[0] << " check\\n"; local
    [all...]
  /external/tinyalsa/
tinyplay.c 74 int main(int argc, char **argv)
89 " [-n n_periods] \n", argv[0]);
93 filename = argv[1];
129 argv += 2;
130 while (*argv) {
131 if (strcmp(*argv, "-d") == 0) {
132 argv++;
133 if (*argv)
134 device = atoi(*argv);
136 if (strcmp(*argv, "-p") == 0)
    [all...]
  /system/extras/tests/memtest/
memtest.cpp 65 int copy_bandwidth(int argc, char** argv);
66 int write_bandwidth(int argc, char** argv);
67 int read_bandwidth(int argc, char** argv);
68 int per_core_bandwidth(int argc, char** argv);
69 int multithread_bandwidth(int argc, char** argv);
70 int malloc_test(int argc, char** argv);
71 int madvise_test(int argc, char** argv);
72 int crash_test(int argc, char** argv);
73 int stack_smasher_test(int argc, char** argv);
74 int crawl_test(int argc, char** argv);
    [all...]
  /external/iproute2/ip/
ipl2tp.c 509 static int parse_args(int argc, char **argv, int cmd, struct l2tp_parm *p)
517 if (strcmp(*argv, "encap") == 0) {
519 if (strcmp(*argv, "ip") == 0) {
521 } else if (strcmp(*argv, "udp") == 0) {
527 } else if (strcmp(*argv, "name") == 0) {
529 p->ifname = *argv;
530 } else if (strcmp(*argv, "remote") == 0) {
532 p->peer_ip.s_addr = get_addr32(*argv);
533 } else if (strcmp(*argv, "local") == 0) {
535 p->local_ip.s_addr = get_addr32(*argv);
    [all...]
ipaddress.c 494 static int set_lifetime(unsigned int *lifetime, char *argv)
496 if (strcmp(argv, "forever") == 0)
498 else if (get_u32(lifetime, argv, 0))
763 static int ipaddr_list_or_flush(int argc, char **argv, int flush)
792 if (strcmp(*argv, "to") == 0) {
794 get_prefix(&filter.pfx, *argv, filter.family);
797 } else if (strcmp(*argv, "scope") == 0) {
801 if (rtnl_rtscope_a2n(&scope, *argv)) {
802 if (strcmp(*argv, "all") != 0)
803 invarg("invalid \"scope\"\n", *argv);
    [all...]
  /external/iproute2/tc/
q_mqprio.c 33 char **argv, struct nlmsghdr *n)
44 if (strcmp(*argv, "num_tc") == 0) {
46 if (get_u8(&opt.num_tc, *argv, 10)) {
50 } else if (strcmp(*argv, "map") == 0) {
53 if (get_u8(&opt.prio_tc_map[idx], *argv, 10)) {
61 } else if (strcmp(*argv, "queues") == 0) {
67 tmp = strdup(*argv);
86 } else if (strcmp(*argv, "hw") == 0) {
88 if (get_u8(&opt.hw, *argv, 10)) {
93 } else if (strcmp(*argv, "help") == 0)
    [all...]
f_route.c 37 static int route_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
61 if (matches(*argv, "to") == 0) {
64 if (rtnl_rtrealm_a2n(&id, *argv)) {
71 } else if (matches(*argv, "from") == 0) {
74 if (rtnl_rtrealm_a2n(&id, *argv)) {
81 } else if (matches(*argv, "fromif") == 0) {
85 if ((id=ll_name_to_index(*argv)) <= 0) {
92 } else if (matches(*argv, "classid") == 0 ||
93 strcmp(*argv, "flowid") == 0) {
96 if (get_tc_classid(&handle, *argv)) {
    [all...]
  /external/libvncserver/vncterm/
VNCommand.c 22 int main(int argc, char **argv)
27 && argv[serverArgc][0]=='-' && argv[serverArgc][1]!='-';serverArgc++)
28 if(!strcmp(argv[serverArgc],"-interactive")) {
32 rfbPurgeArguments(&argc,&serverArgc,1,argv);
35 if(programArg0<argc && argv[programArg0][0]=='-' && argv[programArg0][1]=='-')
37 argv[argc]=0;
52 execvp(argv[programArg0],argv+programArg0)
    [all...]
  /external/llvm/tools/llvm-c-test/
main.c 47 int main(int argc, char **argv) {
52 if (argc == 2 && !strcmp(argv[1], "--module-dump")) {
54 } else if (argc == 2 && !strcmp(argv[1], "--module-list-functions")) {
56 } else if (argc == 2 && !strcmp(argv[1], "--module-list-globals")) {
58 } else if (argc == 2 && !strcmp(argv[1], "--targets-list")) {
60 } else if (argc == 2 && !strcmp(argv[1], "--object-list-sections")) {
62 } else if (argc == 2 && !strcmp(argv[1], "--object-list-symbols")) {
64 } else if (argc == 2 && !strcmp(argv[1], "--disassemble")) {
66 } else if (argc == 2 && !strcmp(argv[1], "--calc")) {
68 } else if (argc == 2 && !strcmp(argv[1], "--add-named-metadata-operand"))
    [all...]
  /external/openfst/src/extensions/pdt/
pdtcompose.cc 38 int main(int argc, char **argv) {
42 usage += argv[0];
47 SET_FLAGS(usage.c_str(), &argc, &argv, true);
53 string in1_name = strcmp(argv[1], "-") == 0 ? "" : argv[1];
54 string in2_name = strcmp(argv[2], "-") == 0 ? "" : argv[2];
55 string out_name = argc > 3 ? argv[3] : "";
58 LOG(ERROR) << argv[0] << ": Can't take both inputs from standard input.";
68 LOG(ERROR) << argv[0] << ": No PDT parenthesis label pairs provided"
    [all...]
  /hardware/ril/rild/
radiooptions.c 64 static int error_check(int argc, char * argv[]) {
68 const int option = atoi(argv[1]);
79 static int get_number_args(char *argv[]) {
80 const int option = atoi(argv[1]);
88 int main(int argc, char *argv[])
97 if(error_check(argc, argv)) {
102 num_socket_args = get_number_args(argv);
103 modem_socket_type = atoi(argv[(num_socket_args-1)]);
104 sim_id = atoi(argv[(num_socket_args-2)]);
132 int len = strlen(argv[1 + i])
    [all...]
  /hardware/ti/omap4-aah/security/smc_pa_ctrl/
smc_pa_ctrl.c 74 int main(int argc, char *argv[])
90 argv ++;
95 if (argv[0][0] == '-')
101 if ((strcmp(argv[0], "--help") == 0) || (strcmp(argv[0], "-h") == 0))
105 else if (strcmp(argv[0], "-c") == 0)
109 argv ++;
117 pConfFileName = malloc(strlen(argv[0]) + 1);
124 strcpy(pConfFileName, argv[0]);
128 printf("Invalid option [%s]\n\n", argv[0])
    [all...]
  /hardware/ti/omap4xxx/security/smc_pa_ctrl/
smc_pa_ctrl.c 74 int main(int argc, char *argv[])
90 argv ++;
95 if (argv[0][0] == '-')
101 if ((strcmp(argv[0], "--help") == 0) || (strcmp(argv[0], "-h") == 0))
105 else if (strcmp(argv[0], "-c") == 0)
109 argv ++;
117 pConfFileName = malloc(strlen(argv[0]) + 1);
124 strcpy(pConfFileName, argv[0]);
128 printf("Invalid option [%s]\n\n", argv[0])
    [all...]
  /external/bison/m4/
getopt.m4 98 char *argv[] = { program, a, foo, bar, NULL };
101 c = getopt (4, argv, "ab");
104 c = getopt (4, argv, "ab");
133 char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
136 c = getopt (7, argv, "+abp:q:");
139 if (!(strcmp (argv[0], "program") == 0))
141 if (!(strcmp (argv[1], "donald") == 0))
143 if (!(strcmp (argv[2], "-p") == 0))
145 if (!(strcmp (argv[3], "billy") == 0))
147 if (!(strcmp (argv[4], "duck") == 0)
    [all...]
  /external/selinux/checkpolicy/
checkmodule.c 147 int main(int argc, char **argv)
165 while ((ch = getopt_long(argc, argv, "ho:bVU:mMC", long_options, NULL)) != -1) {
168 usage(argv[0]);
193 usage(argv[0]);
205 usage(argv[0]);
216 fprintf(stderr, "%s: Handling of unknown classes and permissions is only valid in the base module.\n", argv[0]);
221 fprintf(stderr, "%s: -b and -m are incompatible with each other.\n", argv[0]);
226 file = argv[optind++];
228 usage(argv[0]);
230 printf("%s: loading policy configuration from %s\n", argv[0], file)
    [all...]
  /external/libxml2/
testRegexp.c 270 int main(int argc, char **argv) {
284 usage(argv[0]);
288 if (!strcmp(argv[i], "-"))
291 if (argv[i][0] != '-')
293 if (!strcmp(argv[i], "--"))
296 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug"))) {
298 } else if ((!strcmp(argv[i], "-repeat")) ||
299 (!strcmp(argv[i], "--repeat"))) {
302 } else if ((!strcmp(argv[i], "-expr")) |
    [all...]
  /external/toybox/toys/pending/
ip.c 65 typedef int (*cmdobj)(char **argv);
509 static void vlan_parse_opt(char **argv, struct nlmsghdr *n, unsigned int size)
519 for (; *argv; argv++) {
522 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) iphelp();
525 if (!*argv) iphelp();
526 param = atolx(*argv);
530 if (!*argv) error_exit("Invalid vlan id.");
531 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) iphelp();
539 if ((param = substring_to_idx(*argv, on_off)) == -1) iphelp()
    [all...]
  /external/chromium-trace/trace-viewer/tracing/
trace2html 12 sys.exit(trace2html.Main(sys.argv[1:]))
vulcanize_trace_viewer 11 sys.exit(vulcanize_trace_viewer.Main(sys.argv[1:]))
  /external/clang/test/ARCMT/
atautorelease.m 9 int main (int argc, const char * argv[]) {
40 int UIApplicationMain(int argc, char *argv[]);
42 int main2(int argc, char *argv[]) {
44 int result = UIApplicationMain(argc, argv);
atautorelease.m.result 9 int main (int argc, const char * argv[]) {
39 int UIApplicationMain(int argc, char *argv[]);
41 int main2(int argc, char *argv[]) {
43 int result = UIApplicationMain(argc, argv);
  /external/clang/test/CodeGen/
2009-06-01-addrofknr.c 16 main(int argc, char *argv[])
  /external/clang/test/SemaObjC/
selector-2.m 12 int main (int argc, const char * argv[]) {
  /external/compiler-rt/test/BlocksRuntime/
large-struct.c 19 int main (int argc, const char * argv[]) {
38 printf("%s: struct wasn't copied.", argv[0]);
43 printf("%s: struct contents did not match.", argv[0]);
48 printf("%s: success\n", argv[0]);

Completed in 374 milliseconds

<<11121314151617181920>>