Searched defs:argc (Results 126 - 150 of 202) sorted by last modified time

123456789

/system/core/toolbox/
H A Dsyren.c62 syren_main(int argc, char **argv) argument
70 if (argc < 3) {
92 if (argc < 4)
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 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 Dtouch.c15 int touch_main(int argc, char *argv[]) argument
23 for (i = 1; i < argc; i++) {
32 if ((i+1) >= argc)
50 if (i+1 != argc)
H A Dumount.c59 int umount_main(int argc, char *argv[]) argument
64 if(argc != 2) {
H A Duptime.c74 int uptime_main(int argc, char *argv[]) argument
H A Dvmstat.c72 int vmstat_main(int argc, char *argv[]) { argument
82 for (i = 1; i < argc; i++) {
84 if (i >= argc - 1) {
92 if (i >= argc - 1) {
100 if (i >= argc - 1) {
H A Dwatchprops.c40 int watchprops_main(int argc, char *argv[]) argument
H A Dwipe.c39 int wipe_main (int argc, char *argv[]) argument
43 if (argc != 2) return usage();
/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/cpustats/
H A Dcpustats.c69 int main(int argc, char *argv[]) { argument
78 for (i = 0; i < argc; i++) {
80 if (i + 1 >= argc) {
89 if (i + 1 >= argc) {
/system/extras/ext4_utils/
H A Dext2simg.c178 int main(int argc, char **argv) argument
188 while ((opt = getopt(argc, argv, "cvzS")) != -1) {
205 if (optind >= argc) {
213 if (optind >= argc) {
221 if (optind < argc) {
H A Dext4fixup_main.c28 int main(int argc, char **argv) argument
39 while ((opt = getopt(argc, argv, "vnd:")) != -1) {
53 if (optind >= argc) {
61 if (optind < argc) {
H A Dmake_ext4fs_main.c50 int main(int argc, char **argv) argument
69 while ((opt = getopt(argc, argv, "l:j:b:g:i:I:L:a:fwzJsctS:")) != -1) {
151 if (optind >= argc) {
159 if (optind < argc)
162 if (optind < argc) {
H A Dsetup_fs.c68 int main(int argc, char **argv) argument
72 while (argc > 1) {
76 argc--;
/system/extras/fatblock/
H A Dfatblock.c150 int main(int argc, char *argv[]) { argument
161 if (argc != 3)
/system/extras/latencytop/
H A Dlatencytop.c68 int main(int argc, char *argv[]) { argument
79 for (i = 1; i < argc; i++) {
81 if (i >= argc - 1) {
89 if (i >= argc - 1) {
101 if (i >= argc - 1) {
109 if (i >= argc - 1) {
/system/extras/librank/
H A Dlibrank.c165 int main(int argc, char *argv[]) { argument
193 for (i = 1; i < argc; i++) {
195 if (i + 1 >= argc) {
/system/extras/micro_bench/
H A Dmicro_bench.c180 int main(int argc, char **argv) { argument
184 if (argc < 3 || argc > 4) {
188 if (argc == 3) {
/system/extras/procmem/
H A Dprocmem.c41 int main(int argc, char *argv[]) { argument
77 if (argc < 2) {
85 for (i = 1; i < argc - 1; i++) {
96 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10);
98 fprintf(stderr, "Invalid PID \"%s\".\n", argv[argc - 1]);
/system/extras/procrank/
H A Dprocrank.c117 int main(int argc, char *argv[]) { argument
141 for (arg = 1; arg < argc; arg++) {
/system/extras/sane_schedstat/
H A Dsane_schedstat.c141 int main(int argc, char **argv) { argument
/system/extras/showmap/
H A Dshowmap.c316 int main(int argc, char *argv[]) argument
325 for (argc--, argv++; argc > 0; argc--, argv++) {
339 if (argc != 1) {
/system/extras/showslab/
H A Dshowslab.c270 int main(int argc, char *argv[]) argument
278 if (argc > 1) {
280 if (argc == 3 && !strcmp(argv[1], "-n")) {
288 else if (argc == 3 && !strcmp(argv[1], "-s"))
/system/extras/sound/
H A Dplaywav.c329 int main(int argc, char **argv) argument
336 argc--;
338 while (argc > 0) {
348 argc--;
350 if (argc == 0) {
358 argc--;

Completed in 66 milliseconds

123456789