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

123456789

/system/core/toolbox/
H A Dlsof.c220 int lsof_main(int argc, char *argv[]) argument
225 pid = strtol(argv[1], &endptr, 10);
H A Dnetstat.c146 int netstat_main(int argc, char *argv[]) argument
H A Dschedtop.c271 int schedtop_main(int argc, char **argv) argument
283 c = getopt(argc, argv, "d:ibtamun");
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 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/extras/tests/directiotest/
H A Ddirectiotest.c169 int main(int argc, const char *argv[]) argument
186 path = argv[1];
/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/debuggerd/
H A Ddebuggerd.c503 int main(int argc, char** argv) { argument
512 if (!strcmp(argv[i], "-b")) {
515 tid = atoi(argv[i]);
/system/core/libsync/
H A Dsync_test.c75 int main(int argc __attribute__((unused)), char *argv[] __attribute__((unused)))
/system/extras/tests/framebuffer/
H A Drefresh.c27 int main(int argc, char** argv) argument
/system/extras/tests/memtest/
H A Dfptest.cpp126 int fp_test(int argc, char** argv) { argument
/system/bluetooth/tools/
H A Dpipetest.c414 int main(int argc, char **argv) { argument
422 if (!strcmp(argv[1], function_table[i].name)) {
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/sh/
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 Dexpand.c1543 wordexpcmd(int argc, char **argv) argument
1551 len += strlen(argv[i]);
1555 out1str(argv[i]);
/system/netd/
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/toolbox/grep/
H A Dutil.c112 grep_tree(char **argv) argument
136 if (!(fts = fts_open(argv, fts_flags, NULL)))
/system/core/adb/
H A Dadb.h459 int adb_commandline(int argc, char **argv);
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"))) {
/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));
/system/core/sdcard/
H A Dsdcard.c1299 int main(int argc, char **argv) argument
1310 char* arg = argv[i];
/system/core/charger/
H A Dcharger.c927 int main(int argc, char **argv) argument

Completed in 183 milliseconds

123456789