Searched refs:argv (Results 151 - 175 of 223) sorted by relevance

123456789

/system/extras/tests/bionic/libstdc++/
H A Dtest_cctype.cpp97 int main(int argc, char **argv) argument
H A Dtest_cstddef.cpp97 int main(int argc, char **argv) argument
H A Dtest_cstdlib.cpp116 int main(int argc, char **argv) argument
H A Dtest_cstring.cpp73 int main(int argc, char **argv) argument
H A Dtest_ctime.cpp105 int main(int argc, char **argv) argument
/system/core/cpio/
H A Dmkbootfs.c322 int main(int argc, char *argv[]) argument
325 argv++;
327 if (argc > 1 && strcmp(argv[0], "-f") == 0) {
328 read_canned_config(argv[1]);
330 argv += 2;
336 char *x = strchr(*argv, '=');
343 archive(*argv, x);
345 argv++;
/system/core/toolbox/
H A Dmount.c276 int mount_main(int argc, char *argv[]) argument
285 progname = argv[0];
292 c = getopt(argc, argv, "o:rt:w");
323 dev = argv[optind];
324 dir = argv[optind + 1];
326 get_mounts_dev_dir(argv[optind], &dev, &dir);
H A Dreadtty.c56 int readtty_main(int argc, char *argv[]) argument
76 c = getopt(argc, argv, "nt:fa:r:pe:");
103 argv[0], optopt);
H A Dnandread.c21 int nandread_main(int argc, char **argv) argument
50 c = getopt(argc, argv, "d:f:s:S:L:Rhv");
84 " -h Print help\n", argv[0]);
88 argv[0], optopt);
94 fprintf(stderr, "%s: extra arguments\n", argv[0]);
98 fprintf(stderr, "%s: specify device name\n", argv[0]);
H A Dwipe.c39 int wipe_main (int argc, char *argv[]) argument
45 whatToWipe = argv[1];
H A Did.c33 int id_main(int argc, char **argv) argument
H A Duptime.c74 int uptime_main(int argc, char *argv[]) argument
/system/extras/showslab/
H A Dshowslab.c270 int main(int argc, char *argv[]) argument
280 if (argc == 3 && !strcmp(argv[1], "-n")) {
282 nr_rows = (unsigned int) strtoul(argv[2], NULL, 0);
288 else if (argc == 3 && !strcmp(argv[1], "-s"))
289 sort_func = set_sort_func(argv[2][0]) ? : DEF_SORT_FUNC;
291 fprintf(stderr, "usage: %s [options]\n\n", argv[0]);
/system/netd/
H A DMDnsSdListener.cpp130 void MDnsSdListener::Handler::stop(SocketClient *cli, int argc, char **argv, const char *str) { argument
138 int requestId = atoi(argv[2]);
393 int argc, char **argv) {
403 char* cmd = argv[1];
411 int requestId = atoi(argv[2]);
412 char *serviceType = argv[3];
416 stop(cli, argc, argv, "discover");
423 int requestId = atoi(argv[2]);
424 char *serviceName = argv[3];
425 char *serviceType = argv[
392 runCommand(SocketClient *cli, int argc, char **argv) argument
[all...]
/system/extras/cpustats/
H A Dcpustats.c69 int main(int argc, char *argv[]) { argument
79 if (!strcmp(argv[i], "-n")) {
82 usage(argv[0]);
85 iterations = atoi(argv[++i]);
88 if (!strcmp(argv[i], "-d")) {
91 usage(argv[0]);
94 delay = atoi(argv[++i]);
97 if (!strcmp(argv[i], "-m")) {
100 if (!strcmp(argv[i], "-h")) {
101 usage(argv[
[all...]
/system/core/logcat/
H A Dlogcat.cpp457 int main(int argc, char **argv) argument
471 if (argc == 2 && 0 == strcmp(argv[1], "--test")) {
476 if (argc == 2 && 0 == strcmp(argv[1], "--help")) {
477 android::show_help(argv[0]);
484 ret = getopt(argc, argv, "cdt:gsQf:r::n:v:b:B");
558 android::show_help(argv[0]);
568 android::show_help(argv[0]);
579 android::show_help(argv[0]);
655 android::show_help(argv[0]);
678 android::show_help(argv[
[all...]
/system/bluetooth/brcm_patchram_plus/
H A Dbrcm_patchram_plus.c441 parse_cmd_line(int argc, char **argv) argument
471 c = getopt_long_only (argc, argv, "d", long_options,
498 usage(argv[0]);
503 usage(argv[0]);
514 printf ("%s \n", argv[optind]);
515 if ((uart_fd = open(argv[optind], O_RDWR | O_NOCTTY)) == -1) {
517 argv[2], errno);
785 main (int argc, char **argv) argument
791 if (parse_cmd_line(argc, argv)) {
/system/core/mkbootimg/
H A Dmkbootimg.c95 int main(int argc, char **argv) argument
119 argv++;
124 char *arg = argv[0];
125 char *val = argv[1];
130 argv += 2;
/system/extras/tests/framebuffer/
H A Dfb_test.c257 int main(int argc, char **argv) { argument
264 bpp = atoi(argv[1]);
267 id = !!atoi(argv[4]);
272 w = atoi(argv[2]);
273 h = atoi(argv[3]);
/system/core/sh/
H A Dalias.c209 aliascmd(int argc, char **argv) argument
228 while ((n = *++argv) != NULL) {
248 unaliascmd(int argc, char **argv) argument
H A Dmiscbltin.c89 readcmd(int argc, char **argv) argument
214 umaskcmd(int argc, char **argv) argument
270 error("Illegal number: %s", argv[1]);
339 ulimitcmd(int argc, char **argv) argument
/system/core/libsparse/
H A Dsimg_dump.py31 me = posixpath.basename(sys.argv[0])
36 opts, args = getopt.getopt(sys.argv[1:],
/system/extras/tests/timetest/
H A Dtimetest.c58 int main(int argc, char **argv) argument
74 clock_id = atoi(argv[1]);
/system/bluetooth/tools/
H A Dsock_shutdown_bug_rfcomm.c27 int main(int argc, char **argv) { argument
/system/extras/tests/bionic/libc/bionic/
H A Dtest_pthread_cond.c67 int main(int argc, const char *argv[]) argument

Completed in 112 milliseconds

123456789