/system/vold/ |
CommandListener.h | 29 static void dumpArgs(int argc, char **argv, int argObscure); 35 int runCommand(SocketClient *c, int argc, char ** argv); 42 int runCommand(SocketClient *c, int argc, char ** argv); 49 int runCommand(SocketClient *c, int argc, char ** argv); 58 int runCommand(SocketClient *c, int argc, char ** argv); 65 int runCommand(SocketClient *c, int argc, char ** argv); 72 int runCommand(SocketClient *c, int argc, char ** argv); 79 int runCommand(SocketClient *c, int argc, char ** argv); 86 int runCommand(SocketClient *c, int argc, char ** argv);
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 48 static int parsecmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param) 65 argv++; 68 if (!strcmp(*argv, "-if")) 70 argv++; 72 *input_filename = *argv; 74 else if (!strcmp(*argv, "-of")) 76 argv++; 78 *output_filename = *argv; 80 else if (!strcmp(*argv, "-sr")) 82 argv++ [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/ |
iprule.c | 198 static int iprule_list(int argc, char **argv) 224 static int iprule_modify(int cmd, int argc, char **argv) 251 if (strcmp(*argv, "not") == 0) { 253 } else if (strcmp(*argv, "from") == 0) { 256 get_prefix(&dst, *argv, req.r.rtm_family); 259 } else if (strcmp(*argv, "to") == 0) { 262 get_prefix(&dst, *argv, req.r.rtm_family); 265 } else if (matches(*argv, "preference") == 0 || 266 matches(*argv, "order") == 0 || 267 matches(*argv, "priority") == 0) [all...] |
ipmroute.c | 167 static int mroute_list(int argc, char **argv) 170 if (strcmp(*argv, "iif") == 0) { 172 strncpy(filter_dev, *argv, sizeof(filter_dev)-1); 173 } else if (matches(*argv, "from") == 0) { 175 get_prefix(&filter.msrc, *argv, AF_INET); 177 if (strcmp(*argv, "to") == 0) { 180 if (matches(*argv, "help") == 0) 182 get_prefix(&filter.mdst, *argv, AF_INET); 184 argv++; argc--; 192 int do_multiroute(int argc, char **argv) [all...] |
rtmon.c | 67 main(int argc, char **argv) 79 if (matches(argv[1], "-family") == 0) { 81 argv++; 84 if (strcmp(argv[1], "inet") == 0) 86 else if (strcmp(argv[1], "inet6") == 0) 88 else if (strcmp(argv[1], "link") == 0) 90 else if (strcmp(argv[1], "help") == 0) 93 fprintf(stderr, "Protocol ID \"%s\" is unknown, try \"rtmon help\".\n", argv[1]); 96 } else if (strcmp(argv[1], "-4") == 0) { 98 } else if (strcmp(argv[1], "-6") == 0) [all...] |
link_gre.c | 42 static int gre_parse_opt(struct link_util *lu, int argc, char **argv, 133 if (!matches(*argv, "key")) { 139 if (strchr(*argv, '.')) 140 uval = get_addr32(*argv); 142 if (get_unsigned(&uval, *argv, 0) < 0) { 151 } else if (!matches(*argv, "ikey")) { 156 if (strchr(*argv, '.')) 157 uval = get_addr32(*argv); 159 if (get_unsigned(&uval, *argv, 0)<0) { 166 } else if (!matches(*argv, "okey")) [all...] |
/external/chromium_org/third_party/libxml/src/ |
testRelax.c | 57 int main(int argc, char **argv) { 64 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug"))) 69 if ((!strcmp(argv[i], "-memory")) || (!strcmp(argv[i], "--memory"))) { 73 if ((!strcmp(argv[i], "-noout")) || (!strcmp(argv[i], "--noout"))) { 76 if ((!strcmp(argv[i], "-tree")) || (!strcmp(argv[i], "--tree"))) { 83 if (argv[i][0] != '-') [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
ec.c | 86 int MAIN(int argc, char **argv) 119 prog = argv[0]; 121 argv++; 124 if (strcmp(*argv,"-inform") == 0) 127 informat=str2fmt(*(++argv)); 129 else if (strcmp(*argv,"-outform") == 0) 132 outformat=str2fmt(*(++argv)); 134 else if (strcmp(*argv,"-in") == 0) 137 infile= *(++argv); 139 else if (strcmp(*argv,"-out") == 0 [all...] |
/external/iproute2/tc/ |
m_mirred.c | 69 char **argv = *argv_p; local 80 if (matches(*argv, "action") == 0) { 82 } else if (matches(*argv, "egress") == 0) { 88 if (matches(*argv, "index") == 0) { 90 if (get_u32(&p.index, *argv, 10)) { 97 argv++; 101 fprintf(stderr, "was expecting egress (%s)\n", *argv); 104 } else if (!mirror && matches(*argv, "mirror") == 0) { 113 } else if (!redir && matches(*argv, "redirect") == 0) { 122 } else if ((redir || mirror) && matches(*argv, "dev") == 0) 213 char **argv = *argv_p; local [all...] |
tc.c | 63 static int parse_noqopt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 66 fprintf(stderr, "Unknown qdisc \"%s\", hence option \"%s\" is unparsable\n", qu->id, *argv); 82 static int parse_nofopt(struct filter_util *qu, char *fhandle, int argc, char **argv, struct nlmsghdr *n) 87 fprintf(stderr, "Unknown filter \"%s\", hence option \"%s\" is unparsable\n", qu->id, *argv); 221 static int do_cmd(int argc, char **argv) 223 if (matches(*argv, "qdisc") == 0) 224 return do_qdisc(argc-1, argv+1); 226 if (matches(*argv, "class") == 0) 227 return do_class(argc-1, argv+1); 229 if (matches(*argv, "filter") == 0 [all...] |
q_sfb.c | 51 static int sfb_parse_opt(struct qdisc_util *qu, int argc, char **argv, 66 if (strcmp(*argv, "rehash") == 0) { 68 if (get_u32(&opt.rehash_interval, *argv, 0)) { 72 } else if (strcmp(*argv, "db") == 0) { 74 if (get_u32(&opt.warmup_time, *argv, 0)) { 78 } else if (strcmp(*argv, "limit") == 0) { 80 if (get_u32(&opt.limit, *argv, 0)) { 84 } else if (strcmp(*argv, "max") == 0) { 86 if (get_u32(&opt.max, *argv, 0)) { 90 } else if (strcmp(*argv, "target") == 0) [all...] |
/external/openssl/apps/ |
ec.c | 86 int MAIN(int argc, char **argv) 119 prog = argv[0]; 121 argv++; 124 if (strcmp(*argv,"-inform") == 0) 127 informat=str2fmt(*(++argv)); 129 else if (strcmp(*argv,"-outform") == 0) 132 outformat=str2fmt(*(++argv)); 134 else if (strcmp(*argv,"-in") == 0) 137 infile= *(++argv); 139 else if (strcmp(*argv,"-out") == 0 [all...] |
/external/iproute2/genl/ |
genl.c | 46 static int parse_nofopt(struct genl_util *f, int argc, char **argv) 50 "is unparsable\n", f->name, *argv); 110 int main(int argc, char **argv) 113 if (argv[1][0] != '-') 115 if (matches(argv[1], "-stats") == 0 || 116 matches(argv[1], "-statistics") == 0) { 118 } else if (matches(argv[1], "-details") == 0) { 120 } else if (matches(argv[1], "-raw") == 0) { 122 } else if (matches(argv[1], "-Version") == 0) { 125 } else if (matches(argv[1], "-help") == 0) [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...] |
/system/core/toolbox/ |
getsebool.c | 15 int getsebool_main(int argc, char **argv) 20 while ((opt = getopt(argc, argv, "a")) > 0) { 24 usage(argv[0]); 27 argv[0]); 35 argv[0], strerror(errno)); 45 usage(argv[0]); 50 fprintf(stderr, "%s: SELinux is disabled\n", argv[0]); 55 usage(argv[0]); 59 fprintf(stderr, "%s: out of memory\n", argv[0]); 63 names[i] = strdup(argv[i + 1]) [all...] |
cat.c | 125 cook_args(char **argv) 132 if (*argv) { 133 if (!strcmp(*argv, "-")) 135 else if ((fp = fopen(*argv, 139 ++argv; 142 filename = *argv++; 147 } while (*argv); 187 raw_args(char **argv) 194 if (*argv) { 195 if (!strcmp(*argv, "-") [all...] |
/external/e2fsprogs/debugfs/ |
debugfs.c | 124 void do_open_filesys(int argc, char **argv) 134 while ((c = getopt (argc, argv, "iwfecb:s:d:D")) != EOF) { 158 blocksize = parse_ulong(optarg, argv[0], 164 superblock = parse_ulong(optarg, argv[0], 176 if (check_fs_not_open(argv[0])) 178 open_filesystem(argv[optind], open_flags, 185 "[-c] [-w] <device>\n", argv[0]); 188 void do_lcd(int argc, char **argv) 191 com_err(argv[0], 0, "Usage: %s %s", argv[0], "<native dir>") [all...] |
/ndk/sources/host-tools/make-3.81/ |
getopt.c | 92 As `getopt' works, it permutes the elements of ARGV so that, 108 each non-option ARGV-element is returned here. */ 112 /* Index in ARGV of the next element to be scanned. 122 how much of ARGV has been scanned so far. */ 138 by advancing to the next ARGV-element. */ 153 /* Describe how to deal with options that follow non-option ARGV-elements. 166 PERMUTE is the default. We permute the contents of ARGV as we scan, 172 to expect options and other ARGV-elements in any order and that care about 173 the ordering of the two. We describe each non-option ARGV-element 242 /* Describe the part of ARGV that contains non-options that hav [all...] |
/external/bison/lib/ |
spawnp.c | 29 const posix_spawnattr_t *attrp, char *const argv[], 32 return __spawni (pid, file, file_actions, attrp, argv, envp, 1);
|
/external/chromium/build/ |
extract_from_cab.py | 12 if len(sys.argv) != 4: 16 [cab_path, archived_file, output_dir] = sys.argv[1:]
|
/external/chromium/net/base/ |
run_all_unittests.cc | 15 int main(int argc, char** argv) { 18 NetTestSuite test_suite(argc, argv);
|
/external/chromium/testing/gtest/test/ |
gtest_color_test_.cc | 58 int main(int argc, char** argv) { 59 testing::InitGoogleTest(&argc, argv);
|
/external/chromium_org/build/ |
cp.py | 23 sys.exit(Main(sys.argv[1], sys.argv[2]))
|
/external/chromium_org/build/ios/ |
clean_env.py | 9 def Main(argv): 30 assert(len(argv) > 0) 33 first_entry = argv[0]; 35 argv = argv[1:]; 39 assert(len(argv) > 0) 62 args = argv[:] 77 sys.exit(Main(sys.argv[1:]))
|