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

12345678

/system/core/toolbox/
H A Dexists.c5 int exists_main(int argc, char *argv[]) argument
11 if(stat(argv[1], &s)) {
H A Dgetenforce.c7 int getenforce_main(int argc, char **argv) argument
H A Dlsmod.c3 extern int cat_main(int argc, char **argv);
5 int lsmod_main(int argc, char **argv) argument
H A Druncon.c8 int runcon_main(int argc, char **argv) argument
13 fprintf(stderr, "usage: %s context program args...\n", argv[0]);
17 rc = setexeccon(argv[1]);
19 fprintf(stderr, "Could not set context to %s: %s\n", argv[1], strerror(errno));
23 argv += 2;
25 execvp(argv[0], argv);
26 fprintf(stderr, "Could not exec %s: %s\n", argv[0], strerror(errno));
H A Dsetprop.c5 int setprop_main(int argc, char *argv[]) argument
12 if(property_set(argv[1], argv[2])){
H A Dstart.c8 int start_main(int argc, char *argv[]) argument
13 property_set("ctl.start", argv[1]);
H A Dstop.c6 int stop_main(int argc, char *argv[]) argument
11 property_set("ctl.stop", argv[1]);
H A Dsync.c3 int sync_main(int argc, char **argv) argument
H A Dchcon.c7 int chcon_main(int argc, char **argv) argument
12 fprintf(stderr, "usage: %s context path...\n", argv[0]);
17 rc = setfilecon(argv[i], argv[1]);
20 argv[0], argv[i], argv[1], strerror(errno));
H A Dionice.c10 int ionice_main(int argc, char *argv[]) argument
21 if (!(pid = atoi(argv[1]))) {
35 if (!strcmp(argv[2], "none")) {
37 } else if (!strcmp(argv[2], "rt")) {
39 } else if (!strcmp(argv[2], "be")) {
41 } else if (!strcmp(argv[2], "idle")) {
44 fprintf(stderr, "Unsupported class '%s'\n", argv[2]);
48 ioprio = atoi(argv[3]);
H A Dln.c12 int ln_main(int argc, char *argv[]) argument
18 if(!strcmp(argv[1],"-s")) {
21 argv++;
27 ret = symlink(argv[1], argv[2]);
29 ret = link(argv[1], argv[2]);
H A Dprintenv.c6 int printenv_main (int argc, char **argv) argument
20 v = getenv(argv[i]);
/system/extras/tests/bionic/libc/other/
H A Dtest_arc4random.c30 int main(int argc, char *argv[]) argument
H A Dtest_atomics.c6 int main(int argc, const char *argv[]) argument
H A Dtest_system.c7 main(int argc, char *argv[]) argument
14 rv = system(argv[1]);
/system/core/libdiskconfig/
H A Ddump_diskconfig.c26 main(int argc, char *argv[]) argument
31 ALOGE("usage: %s <conf file>", argv[0]);
35 if (!(dinfo = load_diskconfig(argv[1], NULL)))
/system/extras/tests/bionic/libc/bionic/
H A Dtest_static_init.cpp7 int main(int argc, char** argv) argument
/system/extras/tests/bionic/libc/common/
H A Dtest_strptime.c24 int main(int argc, char **argv) argument
/system/extras/tests/bionic/libstdc++/
H A Dtest_cassert.cpp46 int main(int argc, char **argv) argument
H A Dtest_cctype.cpp97 int main(int argc, char **argv) argument
H A Dtest_cstdint.cpp42 int main(int argc, char **argv) argument
/system/bluetooth/tools/
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
/system/core/libsysutils/src/
H A DFrameworkCommand.cpp28 int FrameworkCommand::runCommand(SocketClient *c, int argc, char **argv) { argument

Completed in 115 milliseconds

12345678