Searched defs:argv (Results 176 - 199 of 199) sorted by relevance

12345678

/system/extras/tests/memtest/
H A Dmemtest.cpp88 int cpufreq_test(int argc, char** argv);
89 int memcpy_test(int argc, char** argv);
90 int memset_test(int argc, char** argv);
91 int memcmp_test(int argc, char** argv);
92 int strlen_test(int argc, char** argv);
93 int malloc_test(int argc, char** argv);
94 int madvise_test(int argc, char** argv);
95 int crash_test(int argc, char** argv);
96 int stack_smasher_test(int argc, char** argv);
97 int crawl_test(int argc, char** argv);
105 main(int argc, char** argv) argument
137 memcpy_test(int argc, char** argv) argument
266 memset_test(int argc, char** argv) argument
403 memcmp_test(int argc, char** argv) argument
516 strlen_test(int argc, char** argv) argument
593 malloc_test(int argc, char** argv) argument
624 madvise_test(int argc, char** argv) argument
673 cpufreq_test(int argc, char** argv) argument
718 crash_test(int argc, char** argv) argument
732 stack_smasher_test(int argc, char** argv) argument
763 crawl_test(int argc, char** argv) argument
[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/bluetooth/tools/
H A Dasocket_test.c715 int main(int argc, char **argv) { argument
724 if (!strcmp(argv[1], type_table[i].name)) {
734 if (!strcmp(argv[2], action_table[i].name)) {
H A Dsocktest.c789 int main(int argc, char **argv) { argument
798 if (!strcmp(argv[1], type_table[i].name)) {
808 if (!strcmp(argv[2], action_table[i].name)) {
/system/core/fastboot/
H A Dfastboot.c739 #define skip(n) do { argc -= (n); argv += (n); } while (0)
742 int do_oem_command(int argc, char **argv) argument
750 strcat(command,*argv);
801 int main(int argc, char **argv) argument
819 c = getopt_long(argc, argv, "wub:n:s:S:lp:c:i:m:h", &longopts, NULL);
877 argv += optind;
884 if (argc > 0 && !strcmp(*argv, "devices")) {
890 if (argc > 0 && !strcmp(*argv, "help")) {
898 if(!strcmp(*argv, "getvar")) {
900 fb_queue_display(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/core/sh/
H A Deval.c164 evalcmd(int argc, char **argv) argument
171 p = argv[1];
174 ap = argv + 2;
634 parse_command_args(int argc, char **argv, int *use_syspath) argument
642 argv++;
645 cp = *argv;
649 argv++;
680 char **argv; local
700 (void) &argv;
749 argv
1124 bltincmd(int argc, char **argv) argument
1146 breakcmd(int argc, char **argv) argument
1165 returncmd(int argc, char **argv) argument
1184 falsecmd(int argc, char **argv) argument
1191 truecmd(int argc, char **argv) argument
1198 execcmd(int argc, char **argv) argument
1238 timescmd(int argc, char **argv) argument
[all...]
H A Djobs.c256 fgcmd(int argc, char **argv) argument
335 bgcmd(int argc, char **argv) argument
501 jobscmd(int argc, char **argv) argument
602 waitcmd(int argc, char **argv) argument
661 jobidcmd(int argc, char **argv) argument
H A Dvar.c561 exportcmd(int argc, char **argv) argument
566 int flag = argv[0][0] == 'r'? VREADONLY : VEXPORT;
571 showvars( pflag ? argv[0] : 0, flag, pflag );
596 localcmd(int argc, char **argv) argument
688 setvarcmd(int argc, char **argv) argument
691 return unsetcmd(argc, argv);
693 setvar(argv[1], argv[2], 0);
707 unsetcmd(int argc, char **argv) argument
H A Dexpand.c1543 wordexpcmd(int argc, char **argv) argument
1551 len += strlen(argv[i]);
1555 out1str(argv[i]);
/system/core/toolbox/
H A Ddd.c120 dd_main(int argc, char *argv[]) argument
124 while ((ch = getopt(argc, argv, "")) != -1) {
133 argv += (optind - 1);
135 jcl(argv);
1055 jcl(char **argv) argument
1062 while ((oper = *++argv) != NULL) {
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 Dtop.c111 int top_main(int argc, char *argv[]) { argument
121 if (!strcmp(argv[i], "-m")) {
124 usage(argv[0]);
127 max_procs = atoi(argv[++i]);
130 if (!strcmp(argv[i], "-n")) {
133 usage(argv[0]);
136 iterations = atoi(argv[++i]);
139 if (!strcmp(argv[i], "-d")) {
142 usage(argv[0]);
145 delay = atoi(argv[
[all...]
H A Dnewfs_msdos.c248 newfs_msdos_main(int argc, char *argv[]) argument
275 while ((ch = getopt(argc, argv, opts)) != -1)
363 argv += optind;
366 fname = *argv++;
372 dtype = *argv;
/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;
/system/netd/
H A DCommandListener.cpp223 int argc, char **argv) {
229 if (!strcmp(argv[1], "list")) {
246 } else if (!strcmp(argv[1], "readrxcounter")) {
253 if (readInterfaceCounters(argv[2], &rx, &tx)) {
264 } else if (!strcmp(argv[1], "readtxcounter")) {
271 if (readInterfaceCounters(argv[2], &rx, &tx)) {
281 } else if (!strcmp(argv[1], "getthrottle")) {
282 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
291 if (!strcmp(argv[
222 runCommand(SocketClient *cli, int argc, char **argv) argument
576 runCommand(SocketClient *cli, int argc, char **argv) argument
593 runCommand(SocketClient *cli, int argc, char **argv) argument
631 runCommand(SocketClient *cli, int argc, char **argv) argument
735 runCommand(SocketClient *cli, int argc, char **argv) argument
772 runCommand(SocketClient *cli, int argc, char **argv) argument
824 runCommand(SocketClient *cli, int argc, char **argv) argument
873 runCommand(SocketClient *cli, int argc, char **argv) argument
1002 runCommand(SocketClient *cli, int argc, char **argv) argument
1278 runCommand(SocketClient *cli, int argc, char **argv) argument
1357 runCommand(SocketClient *cli, int argc, char **argv) argument
[all...]
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...]
H A DBandwidthController.cpp44 extern "C" int logwrap(int argc, const char **argv);
170 const char *argv[MAX_CMD_ARGS]; local
203 argv[argc++] = tmp;
210 argv[argc] = NULL;
211 res = logwrap(argc, argv);
/system/core/adb/
H A Dadb.c1536 int main(int argc, char **argv) argument
1542 return adb_commandline(argc - 1, argv + 1);
1547 if((argc > 1) && (!strcmp(argv[1],"recovery"))) {
H A Dcommandline.c45 int install_app(transport_type transport, char* serial, int argc, char** argv);
46 int uninstall_app(transport_type transport, char* serial, int argc, char** argv);
540 int ppp(int argc, char **argv) argument
543 fprintf(stderr, "error: adb %s not implemented on Win32\n", argv[0]);
552 argv[0]);
557 adb_service_name = argv[1];
581 //argv[2] and beyond become ppp_args[1] and beyond
582 ppp_args[i - 1] = argv[i];
629 static int logcat(transport_type transport, char* serial, int argc, char **argv) argument
645 if (!strcmp(argv[
684 backup(int argc, char** argv) argument
740 restore(int argc, char** argv) argument
909 adb_commandline(int argc, char **argv) argument
1383 char *argv[16]; local
1452 pm_command(transport_type transport, char* serial, int argc, char** argv) argument
1473 uninstall_app(transport_type transport, char* serial, int argc, char** argv) argument
1537 install_app(transport_type transport, char* serial, int argc, char** argv) argument
[all...]
/system/core/charger/
H A Dcharger.c927 int main(int argc, char **argv) argument
/system/core/init/
H A Dinit.c836 int main(int argc, char **argv) argument
848 if (!strcmp(basename(argv[0]), "ueventd"))
849 return ueventd_main(argc, argv);
851 if (!strcmp(basename(argv[0]), "watchdogd"))
852 return watchdogd_main(argc, argv);
/system/core/sdcard/
H A Dsdcard.c1299 int main(int argc, char **argv) argument
1310 char* arg = argv[i];
/system/security/keystore/
H A Dkeystore.cpp1411 int main(int argc, char* argv[]) { argument
1417 if (chdir(argv[1]) == -1) {
1418 ALOGE("chdir: %s: %s", argv[1], strerror(errno));

Completed in 879 milliseconds

12345678