Searched refs:argc (Results 1 - 25 of 219) sorted by relevance

123456789

/system/core/init/
H A Dueventd.h20 int ueventd_main(int argc, char **argv);
H A Dwatchdogd.h20 int watchdogd_main(int argc, char **argv);
/system/core/include/cutils/
H A Dzygote.h24 int zygote_run_oneshot(int sendStdio, int argc, const char **argv);
25 int zygote_run(int argc, const char **argv);
26 int zygote_run_wait(int argc, const char **argv, void (*post_run_func)(int));
/system/core/toolbox/
H A Dlsmod.c3 extern int cat_main(int argc, char **argv);
5 int lsmod_main(int argc, char **argv) argument
H A Drmdir.c12 int rmdir_main(int argc, char *argv[]) argument
16 if(argc < 2) return usage();
18 while(argc > 1) {
19 argc--;
H A Dsync.c3 int sync_main(int argc, char **argv) argument
H A Dexists.c5 int exists_main(int argc, char *argv[]) argument
9 if(argc < 2) return 1;
H A Dsetprop.c5 int setprop_main(int argc, char *argv[]) argument
7 if(argc != 3) {
H A Dstart.c8 int start_main(int argc, char *argv[]) argument
12 if(argc > 1) {
H A Dstop.c6 int stop_main(int argc, char *argv[]) argument
10 if(argc > 1) {
H A Dln.c12 int ln_main(int argc, char *argv[]) argument
16 if(argc < 2) return usage();
20 argc--;
24 if(argc < 3) return usage();
H A Dprintenv.c6 int printenv_main (int argc, char **argv) argument
12 if (argc == 1) {
19 for (i=1; i<argc; i++) {
H A Dsmd.c7 int smd_main(int argc, char **argv) argument
11 argc--;
14 if((argc > 0) && (argv[0][0] == '-')) {
16 argc--;
27 while(argc > 0) {
35 argc--;
37 write(fd, argc ? " " : "\r", 1);
H A Dtoolbox.c7 static int toolbox_main(int argc, char **argv) argument
10 if (argc > 1) {
11 return main(argc - 1, argv + 1);
34 int main(int argc, char **argv) argument
39 if((argc > 1) && (argv[1][0] == '@')) {
41 argc--;
51 return tools[i].func(argc, argv);
H A Drenice.c77 int renice_main(int argc, char *argv[]) argument
84 argc--;
87 if (argc < 1)
93 argc--;
98 if (argc < 2)
104 if (argc < 1)
108 argc--;
111 if (argc < 1)
114 while(argc) {
118 argc
[all...]
H A Dchcon.c7 int chcon_main(int argc, char **argv) argument
11 if (argc < 3) {
16 for (i = 2; i < argc; i++) {
H A Dsleep.c43 int sleep_main(int argc, char *argv[]) argument
48 if (argc != 2) {
/system/core/libdiskconfig/
H A Ddump_diskconfig.c26 main(int argc, char *argv[]) argument
30 if (argc < 2) {
/system/extras/tests/bionic/libstdc++/
H A Dtest_cstdint.cpp42 int main(int argc, char **argv) argument
H A Dtest_cassert.cpp46 int main(int argc, char **argv) argument
/system/extras/tests/bionic/libc/other/
H A Dtest_arc4random.c30 int main(int argc, char *argv[]) argument
H A Dtest_system.c7 main(int argc, char *argv[]) argument
11 if (argc < 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/netd/
H A DInterfaceController.h35 int interfaceCommand(int argc, char *argv[], char **rbuf);
39 int (*sendCommand_)(int argc, char *argv[], char **rbuf);
/system/vold/
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);

Completed in 151 milliseconds

123456789