Searched refs:argv (Results 176 - 200 of 223) sorted by relevance

123456789

/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c125 main(int argc, char *argv[]) argument
140 while ((opt = getopt(argc, argv, "d:D:s:e:p:t:?")) != -1) {
229 testPrintE(" %s [options]", basename(argv[0]));
253 basename(argv[0]));
/system/vold/
H A DExt4.cpp45 extern "C" int logwrap(int argc, const char **argv, int background);
H A DFat.cpp45 extern "C" int logwrap(int argc, const char **argv, int background);
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp149 void printHeader(int argc, char **argv, const TestCase& testCase) argument
154 printf("%s ", argv[i]);
202 // @param argc, argv have a wild guess.
204 void parseCmdLine(int argc, char **argv, TestCase *testCase)\ argument
213 c = getopt_long (argc, argv,
682 int main(int argc, char **argv) argument
688 parseCmdLine(argc, argv, &testCase);
689 printHeader(argc, argv, testCase);
H A Dplot_sdcard.py307 def main(argv):
309 (optlist, args) = getopt.getopt(argv[1:],
334 main(sys.argv)
/system/extras/atrace/
H A Datrace.c455 int main(int argc, char **argv) argument
459 if (argc == 2 && 0 == strcmp(argv[1], "--help")) {
460 showHelp(argv[0]);
467 ret = getopt(argc, argv, "b:cidflst:uwyznS:");
548 showHelp(argv[0]);
/system/core/toolbox/
H A Dgetevent.c473 static void usage(int argc, char *argv[]) argument
475 fprintf(stderr, "Usage: %s [-t] [-n] [-s switchmask] [-S] [-v [mask]] [-d] [-p] [-i] [-l] [-q] [-c count] [-r] [device]\n", argv[0]);
490 int getevent_main(int argc, char *argv[]) argument
513 c = getopt(argc, argv, "tns:Sv::dpilqc:rh");
571 argv[0], optopt);
573 usage(argc, argv);
581 device = argv[optind];
585 usage(argc, argv);
H A Dlsusb.c204 int lsusb_main(int argc, char **argv) argument
208 if (argc == 2 && !strcmp(argv[1], "-v"))
H A Dls.c441 int ls_main(int argc, char **argv) argument
452 if (argv[i][0] == '-') {
454 const char *arg = argv[i]+1;
473 strlist_append_dup(&files, argv[i]);
H A Dwatchprops.c40 int watchprops_main(int argc, char *argv[]) argument
/system/netd/
H A DMDnsSdListener.h107 int runCommand(SocketClient *c, int argc, char** argv);
111 void stop(SocketClient *cli, int argc, char **argv, const char *str);
/system/extras/showmap/
H A Dshowmap.c316 int main(int argc, char *argv[]) argument
325 for (argc--, argv++; argc > 0; argc--, argv++) {
326 arg = argv[0];
/system/extras/tests/bionic/libstdc++/
H A Dtest_cstdio.cpp162 int main(int argc, char **argv) argument
/system/bluetooth/tools/
H A Dsock_shutdown_test.c287 int main(int argc, char **argv) { argument
296 if (!strcmp(argv[1], type_table[i].name)) {
306 if (!strcmp(argv[2], action_table[i].name)) {
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp98 int main(int argc, char *argv[]) argument
114 while ((opt = getopt(argc, argv, "s:c:n:d:?")) != -1) {
163 cerr << basename(argv[0]) << " [options]" << endl;
/system/extras/tests/framebuffer/
H A Dmdp_test.c172 int main(int argc, const char *argv[]) argument
195 while ((opt = getopt(argc, argv, "s:d:f:t:u:v:")) != -1) {
268 fprintf(stderr, "Usage: %s -s source -d dest\n", argv[0]);
/system/core/sh/
H A Darith.c1527 expcmd(argc, argv)
1529 char **argv;
1537 p = argv[1];
1543 ap = argv + 2;
1566 main(argc, argv)
1567 char *argv[];
1569 printf("%d\n", exp(argv[1]));
H A Dcd.c79 cdcmd(int argc, char **argv) argument
308 pwdcmd(int argc, char **argv) argument
H A Dtrap.c132 trapcmd(int argc, char **argv) argument
148 ap = argv + 1;
/system/core/init/
H A Dueventd.c50 int ueventd_main(int argc, char **argv) argument
/system/core/toolbox/grep/
H A Dgrep.c317 grep_main(int argc, char *argv[]) argument
387 aargv[0] = argv[0];
391 aargv[i + 1] = argv[j];
395 aargv = argv;
H A Dgrep.h146 int grep_tree(char **argv);
/system/extras/sane_schedstat/
H A Dsane_schedstat.c141 int main(int argc, char **argv) { argument
/system/extras/tests/fstest/
H A Dperm_checker.c407 int main(int argc, char **argv) argument
413 printf("\nSyntax: %s [configfilename]\n", argv[0]);
415 config_file = (argc == 2) ? argv[1] : DEFAULT_CONFIG_FILE;
416 executable_file = argv[0];
/system/core/libion/
H A Dion_test.c196 int main(int argc, char* argv[]) { argument
215 c = getopt_long(argc, argv, "af:h:l:mr:st", opts, &i);

Completed in 116 milliseconds

123456789