Searched refs:argc (Results 1 - 25 of 219) sorted by last modified time

123456789

/system/security/keystore/
H A Dkeystore.cpp1411 int main(int argc, char* argv[]) { argument
1413 if (argc < 2) {
H A Dkeystore_cli.cpp44 int main(int argc, char* argv[]) argument
46 if (argc < 2) {
60 for (int i = 2; i < argc; ++i) {
/system/vold/
H A DCommandListener.cpp53 void CommandListener::dumpArgs(int argc, char **argv, int argObscure) { argument
59 for (i = 0; i < argc; i++) {
73 if (i != (argc -1)) {
86 int argc, char **argv) {
116 int argc, char **argv) {
117 dumpArgs(argc, argv, -1);
119 if (argc < 2) {
130 if (argc != 3 || (argc == 3 && (strcmp(argv[2], "off") && strcmp(argv[2], "on")))) {
136 if (argc !
85 runCommand(SocketClient *cli, int argc, char **argv) argument
115 runCommand(SocketClient *cli, int argc, char **argv) argument
213 runCommand(SocketClient *cli, int argc, char **argv) argument
302 runCommand(SocketClient *cli, int argc, char **argv) argument
432 runCommand(SocketClient *cli, int argc, char **argv) argument
496 runCommand(SocketClient *cli, int argc, char **argv) argument
539 runCommand(SocketClient *cli, int argc, char **argv) argument
[all...]
H A DCommandListener.h29 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);
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);
H A Dlogwrapper.c93 void child(int argc, const char**argv) { argument
95 char* argv_child[argc + 1];
96 memcpy(argv_child, argv, argc * sizeof(char *));
97 argv_child[argc] = NULL;
107 int logwrap(int argc, const char* argv[], int background) argument
159 child(argc, argv);
H A Dvdc.c37 static int do_cmd(int sock, int argc, char **argv);
39 int main(int argc, char **argv) { argument
42 if (argc < 2)
54 exit(do_cmd(sock, argc, argv));
57 static int do_cmd(int sock, int argc, char **argv) { argument
62 for (i = 1; i < argc; i++) {
66 asprintf(&cmp, "%s%s", argv[i], (i == (argc -1)) ? "" : " ");
68 asprintf(&cmp, "\"%s\"%s", argv[i], (i == (argc -1)) ? "" : " ");
/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,
512 if (optind < argc) {
785 main (int argc, char **argv) argument
791 if (parse_cmd_line(argc, argv)) {
/system/bluetooth/brfpatch/
H A Dbrfpatch.c166 int main(int argc, char **argv) { argument
168 if (argc != 3)
/system/bluetooth/tools/
H A Dasocket_test.c715 int main(int argc, char **argv) { argument
719 if (argc != 3) {
H A Dbttest.c67 int main(int argc, char **argv) { argument
70 if (argc != 2) {
H A Dpipetest.c414 int main(int argc, char **argv) { argument
417 if (argc != 2) {
H A Dsock_shutdown_bug_l2cap.c26 int main(int argc, char **argv) { argument
H A Dsock_shutdown_bug_rfcomm.c27 int main(int argc, char **argv) { argument
H A Dsock_shutdown_bug_tcp.c25 int main(int argc, char **argv) { argument
H A Dsock_shutdown_test.c287 int main(int argc, char **argv) { argument
291 if (argc != 3) {
H A Dsocktest.c789 int main(int argc, char **argv) { argument
793 if (argc != 3) {
/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 Dadb.h459 int adb_commandline(int argc, char **argv);
H A Dadb_client.h42 int adb_send_emulator_command(int argc, char** argv);
H A Dbackup_service.c94 int argc; local
99 argc = 3;
101 argc++;
106 bu_args = (char**) alloca(argc*sizeof(char*) + 1);
109 argc = 0;
110 bu_args[argc++] = "bu";
112 bu_args[argc++] = portnum;
113 bu_args[argc++] = operation;
115 bu_args[argc++] = p;
122 bu_args[argc]
[all...]
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
550 if (argc < 2) {
578 ppp_args = (const char **) alloca(sizeof(char *) * argc + 1);
580 for (i = 2 ; i < argc ; i++) {
629 static int logcat(transport_type transport, char* serial, int argc, char **argv) argument
649 argc -= 1;
651 while(argc-- > 0) {
684 static int backup(int argc, cha argument
740 restore(int argc, char** argv) argument
909 adb_commandline(int argc, char **argv) argument
1384 int argc; 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...]
H A Dconsole.c27 int adb_send_emulator_command(int argc, char** argv) argument
37 for (nn = 1; nn < argc; nn++) {
39 adb_write( fd, (nn == argc-1) ? "\n" : " ", 1 );
/system/core/charger/
H A Dcharger.c927 int main(int argc, char **argv) argument

Completed in 90 milliseconds

123456789