Searched defs:argc (Results 101 - 125 of 202) sorted by last modified time

123456789

/system/core/toolbox/
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 Dps.c203 int ps_main(int argc, char **argv) argument
214 while(argc > 1){
232 argc--;
H A Dr.c13 int r_main(int argc, char *argv[]) argument
21 if(argc < 2) return usage();
25 argc--;
29 argc--;
33 if(argc < 2) return usage();
48 if(argc > 2) {
H A Dreadtty.c56 int readtty_main(int argc, char *argv[]) argument
76 c = getopt(argc, argv, "nt:fa:r:pe:");
H A Dreboot.c7 int reboot_main(int argc, char *argv[]) argument
18 c = getopt(argc, argv, "np");
37 if(argc > optind + 1) {
48 else if(argc > optind)
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 Drestorecon.c54 int restorecon_main(int argc, char **argv) argument
62 ch = getopt(argc, argv, "nrRv");
81 argc -= optind;
83 if (!argc)
124 for (i = 0; i < argc; i++) {
H A Drm.c69 int rm_main(int argc, char *argv[]) argument
75 if (argc < 2)
80 c = getopt(argc, argv, "frR");
94 if (optind < 1 || optind >= argc) {
100 for (i = optind; i < argc; i++) {
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 Drmmod.c11 int rmmod_main(int argc, char **argv) argument
17 if (argc < 2) {
H A Drotatefb.c13 int rotatefb_main(int argc, char *argv[]) argument
23 c = getopt(argc, argv, "d:");
37 if(optind + 1 != argc) {
H A Droute.c51 int route_main(int argc, char *argv[]) argument
60 if (argc > 2 && !strcmp(argv[1], "add")) {
63 if (argc > 4 && !strcmp(argv[3], "dev")) {
71 if (argc > 6 && !strcmp(argv[3], "gw") && !strcmp(argv[5], "dev")) {
82 if (argc > 7 && !strcmp(argv[2], "-net") &&
H A Druncon.c8 int runcon_main(int argc, char **argv) argument
12 if (argc < 3) {
24 argc -= 2;
H A Dschedtop.c271 int schedtop_main(int argc, char **argv) argument
283 c = getopt(argc, argv, "d:ibtamun");
H A Dsendevent.c48 int sendevent_main(int argc, char *argv[]) argument
56 if(argc != 5) {
H A Dsetconsole.c31 int setconsole_main(int argc, char *argv[]) argument
45 c = getopt(argc, argv, "d:gtncv:poh");
H A Dsetenforce.c17 int setenforce_main(int argc, char **argv) argument
20 if (argc != 2) {
H A Dsetkey.c21 int setkey_main(int argc, char *argv[]) argument
40 c = getopt(argc, argv, "t:k:v:hr");
83 if(optind != argc || !did_something) {
H A Dsetprop.c5 int setprop_main(int argc, char *argv[]) argument
7 if(argc != 3) {
H A Dsetsebool.c47 int setsebool_main(int argc, char **argv) argument
49 if (argc < 2) {
54 return do_setsebool(argc, argv);
H A Dsleep.c43 int sleep_main(int argc, char *argv[]) argument
48 if (argc != 2) {
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 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 Dsync.c3 int sync_main(int argc, char **argv) argument

Completed in 100 milliseconds

123456789