Searched defs:argc (Results 1 - 25 of 202) sorted by path

123456789

/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 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
/system/core/cpio/
H A Dmkbootfs.c322 int main(int argc, char *argv[]) argument
324 argc--;
327 if (argc > 1 && strcmp(argv[0], "-f") == 0) {
329 argc -= 2;
333 if(argc == 0) die("no directories to process?!");
335 while(argc-- > 0){
/system/core/debuggerd/
H A Dcrasher.c77 int main(int argc, char **argv) argument
85 if(argc > 1) {
H A Ddebuggerd.c503 int main(int argc, char** argv) { argument
504 if (argc == 1) {
511 for (int i = 1; i < argc; i++) {
/system/core/fastboot/
H A Dfastboot.c739 #define skip(n) do { argc -= (n); argv += (n); } while (0)
740 #define require(n) do { if (argc < (n)) {usage(); exit(1);}} while (0)
742 int do_oem_command(int argc, char **argv) argument
746 if (argc <= 1) return 0;
752 if(argc == 0) break;
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);
876 argc -= optind;
879 if (argc == 0 && !wants_wipe) {
884 if (argc >
[all...]
H A Dusbtest.c151 int process_args(int argc, char **argv) argument
153 while(argc-- > 0) {
178 int main(int argc, char **argv) argument
183 if(argc < 2)
186 if(argc > 2) {
187 if(process_args(argc - 2, argv + 2))
/system/core/fs_mgr/
H A Dfs_mgr_main.c35 static void parse_options(int argc, char *argv[], int *a_flag, int *u_flag, int *n_flag, argument
40 if (argc <= 1) {
45 if (argc != 3) {
51 if (argc != 5) {
59 if (argc != 3) {
78 int main(int argc, char *argv[]) argument
90 parse_options(argc, argv, &a_flag, &u_flag, &n_flag, &n_name, &n_blk_dev);
93 fstab = argv[argc - 1];
/system/core/gpttool/
H A Dgpttool.c252 int main(int argc, char **argv) argument
264 if (argc < 2)
268 if (argc < 3)
271 argc -= 2;
275 argc -= 1;
320 while (argc > 1) {
352 argc--;
/system/core/init/
H A Dinit.c836 int main(int argc, char **argv) argument
849 return ueventd_main(argc, argv);
852 return watchdogd_main(argc, argv);
H A Dueventd.c50 int ueventd_main(int argc, char **argv) argument
H A Dwatchdogd.c29 int watchdogd_main(int argc, char **argv) argument
42 if (argc >= 2)
45 if (argc >= 3)

Completed in 83 milliseconds

123456789