Searched defs:argc (Results 176 - 200 of 202) sorted by relevance

123456789

/system/core/sh/
H A Dexec.c331 hashcmd(int argc, char **argv) argument
948 typecmd(int argc, char **argv) argument
H A Deval.c164 evalcmd(int argc, char **argv) argument
170 if (argc > 1) {
172 if (argc > 2) {
634 parse_command_args(int argc, char **argv, int *use_syspath) argument
636 int sv_argc = argc;
643 if (--argc == 0)
650 argc--;
664 return sv_argc - argc;
681 int argc; local
701 (void) &argc;
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
570 if (argc <= 1 || pflag) {
596 localcmd(int argc, char **argv) argument
688 setvarcmd(int argc, char **argv) argument
690 if (argc <= 2)
691 return unsetcmd(argc, argv);
692 else if (argc == 3)
707 unsetcmd(int argc, char **argv) argument
H A Dexpand.c1543 wordexpcmd(int argc, char **argv) argument
1548 out1fmt("%d", argc - 1);
1550 for (i = 1, len = 0; i < argc; i++)
1554 for (i = 1; i < argc; i++) {
/system/extras/atrace/
H A Datrace.c455 int main(int argc, char **argv) argument
459 if (argc == 2 && 0 == strcmp(argv[1], "--help")) {
467 ret = getopt(argc, argv, "b:cidflst:uwyznS:");
/system/extras/tests/fstest/
H A Dperm_checker.c407 int main(int argc, char **argv) argument
412 if (argc > 2) {
415 config_file = (argc == 2) ? argv[1] : DEFAULT_CONFIG_FILE;
/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, cha
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,
512 if (optind < argc) {
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
719 if (argc != 3) {
H A Dsocktest.c789 int main(int argc, char **argv) { argument
793 if (argc != 3) {
/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...]
/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")) {
484 ret = getopt(argc, argv, "cdt:gsQf:r::n:v:b:B");
703 } else if (argc == optind) {
719 for (int i = optind ; i < argc ; i++) {
/system/core/toolbox/
H A Ddd.c120 dd_main(int argc, char *argv[]) argument
124 while ((ch = getopt(argc, argv, "")) != -1) {
132 argc -= (optind - 1);
H A Dgetevent.c473 static void usage(int argc, char *argv[]) argument
490 int getevent_main(int argc, char *argv[]) argument
513 c = getopt(argc, argv, "tns:Sv::dpilqc:rh");
573 usage(argc, argv);
580 if (optind + 1 == argc) {
584 if (optind != argc) {
585 usage(argc, argv);
H A Dtop.c111 int top_main(int argc, char *argv[]) { argument
120 for (i = 1; i < argc; i++) {
122 if (i + 1 >= argc) {
131 if (i + 1 >= argc) {
140 if (i + 1 >= argc) {
149 if (i + 1 >= argc) {
H A Dnewfs_msdos.c248 newfs_msdos_main(int argc, char *argv[]) argument
275 while ((ch = getopt(argc, argv, opts)) != -1)
362 argc -= optind;
364 if (argc < 1 || argc > 2)
/system/core/toolbox/grep/
H A Dgrep.c317 grep_main(int argc, char *argv[]) argument
384 aargv = (char **)grep_calloc(eargc + argc + 1,
390 for (j = 1; j < (unsigned int)argc; j++, i++)
393 aargc = eargc + argc;
396 aargc = argc;
/system/netd/
H A DCommandListener.cpp223 int argc, char **argv) {
224 if (argc < 2) {
247 if (argc != 3) {
265 if (argc != 3) {
282 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
308 if (argc != 5) {
323 if (argc < 4) {
328 rc = sInterfaceCtrl->interfaceCommand(argc, argv, &rbuf);
339 if (argc <
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
131 if (argc != 3) {
393 int argc, char **argv) {
394 if (argc < 2) {
396 asprintf( &msg, "Invalid number of arguments to mdnssd: %i", argc);
406 if (argc != 4) {
416 stop(cli, argc, argv, "discover");
418 if (argc != 6) {
436 stop(cli, argc, argv, "register");
438 if (argc !
392 runCommand(SocketClient *cli, int argc, char **argv) argument
[all...]
/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
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...]
/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
849 return ueventd_main(argc, argv);
852 return watchdogd_main(argc, argv);
/system/core/sdcard/
H A Dsdcard.c1299 int main(int argc, char **argv) argument
1309 for (i = 1; i < argc; i++) {

Completed in 525 milliseconds

123456789