/frameworks/base/tools/aapt/ |
D | Main.cpp | 164 int main(int argc, char* const argv[]) in main() argument 175 if (argc < 2) { in main() 197 argc -= 2; in main() 203 while (argc && argv[0][0] == '-') { in main() 216 argc--; in main() 218 if (!argc) { in main() 229 argc--; in main() 231 if (!argc) { in main() 261 argc--; in main() 263 if (!argc) { in main() [all …]
|
D | printapk.cpp | 25 main(int argc, char** argv) in main() argument 39 if (argc != 2) { in main()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 28 status_t app_init(const char* className, int argc, const char* const argv[]) in app_init() argument 33 jr->callMain(className, argc, argv); in app_init() 118 int main(int argc, const char* const argv[]) in main() argument 121 mArgC = argc; in main() 125 for (int i=0; i<argc; i++) { in main() 138 argc--; in main() 143 int i = runtime.addVmArguments(argc, argv); in main() 146 if (i < argc) { in main() 151 if (i < argc) { in main() 154 bool startSystemServer = (i < argc) ? in main() [all …]
|
/frameworks/base/tools/aidl/ |
D | options.cpp | 34 parse_options(int argc, const char* const* argv, Options *options) in parse_options() argument 38 if (argc >= 2 && 0 == strcmp(argv[1], "--preprocess")) { in parse_options() 39 if (argc < 4) { in parse_options() 43 for (int i=3; i<argc; i++) { in parse_options() 54 while (i < argc) { in parse_options() 113 if (i < argc) { in parse_options() 122 if (i < argc) { in parse_options() 138 if (i != argc) { in parse_options() 139 fprintf(stderr, "unknown option%s:", (i==argc-1?(const char*)"":(const char*)"s")); in parse_options() 140 for (; i<argc-1; i++) { in parse_options()
|
D | options_test.cpp | 59 int argc = 0; in test() local 60 while (answer.argv[argc]) { in test() 61 argc++; in test() 67 int result = parse_options(argc, answer.argv, &options); in test() 238 main(int argc, const char** argv) in main() argument
|
D | options.h | 33 int parse_options(int argc, const char* const* argv, Options *options);
|
/frameworks/base/cmds/servicemanager/ |
D | bctest.c | 57 int main(int argc, char **argv) in main() argument 65 argc--; in main() 67 while (argc > 0) { in main() 78 if (argc < 2) { in main() 84 argc--; in main() 87 if (argc < 2) { in main() 92 argc--; in main() 98 argc--; in main()
|
/frameworks/base/cmds/backup/ |
D | backup.cpp | 29 usage(int argc, const char** argv) in usage() argument 105 main(int argc, const char** argv) in main() argument 107 if (argc <= 1) { in main() 110 if (argc == 3 && 0 == strcmp(argv[1], "list")) { in main() 113 if (argc == 4 && 0 == strcmp(argv[1], "print")) { in main() 116 return usage(argc, argv); in main()
|
/frameworks/base/cmds/service/ |
D | service.cpp | 58 int main(int argc, char* const argv[]) in main() argument 71 int ic = getopt(argc, argv, "h?"); in main() 88 if (optind >= argc) { in main() 93 if (optind < argc) { in main() 116 if (optind+1 < argc) { in main() 128 while (optind < argc) { in main() 131 if (optind >= argc) { in main() 140 if (optind >= argc) { in main() 164 while (optind < argc) in main() 245 if (optind < argc) { in main()
|
/frameworks/base/tests/backup/ |
D | backup_helper_test.cpp | 49 main(int argc, const char** argv) in main() argument 53 if (argc == 1) { in main() 62 for (int i=1; i<argc; i++) { in main() 121 main(int argc, char** argv) in main() argument
|
/frameworks/base/cmds/keystore/ |
D | keystore_cli.c | 45 int main(int argc, char **argv) in main() argument 51 if (argc < 2) { in main() 64 for (i = 2; i < argc; ++i) { in main()
|
/frameworks/base/cmds/dumpsys/ |
D | dumpsys.cpp | 29 int main(int argc, char* const argv[]) in main() argument 41 if (argc == 1) { in main() 47 for (int i=2; i<argc; i++) { in main()
|
/frameworks/base/opengl/tests/filter/ |
D | filter.cpp | 15 int main(int argc, char** argv) in main() argument 17 if (argc!=2 && argc!=3) { in main() 23 int usePbuffer = argc==3 && !strcmp(argv[2], "pbuffer"); in main()
|
/frameworks/base/libs/utils/ |
D | misc.cpp | 53 char* concatArgv(int argc, const char* const argv[]) in concatArgv() argument 63 if (idx == argc || argv[idx] == NULL) in concatArgv() 83 if (idx == argc || argv[idx] == NULL) in concatArgv()
|
/frameworks/base/tools/localize/ |
D | localize.cpp | 606 main(int argc, const char** argv) in main() argument 611 if (argc == 2 && 0 == strcmp(argv[1], "--test")) { in main() 615 if (argc < 2) { in main() 631 while (index < argc) { in main() 656 for (; index<argc; index++) { in main() 675 for (; index<argc; index++) { in main() 686 if (argc < index+1) { in main() 693 for (; index<argc; index++) { in main() 705 while (index < argc) { in main() 719 if (index == argc-1) { in main() [all …]
|
/frameworks/base/media/sdutils/ |
D | sdutil.cpp | 134 int main(int argc, char **argv) in main() argument 136 const char* command = (argc > 1 ? argv[1] : ""); in main() 137 const char* argument = (argc > 2 ? argv[2] : ""); in main()
|
/frameworks/base/opengl/tests/angeles/ |
D | app-linux.cpp | 180 int main(int argc, char *argv[]) in main() argument 183 argc = argc; in main()
|
/frameworks/base/include/android_runtime/ |
D | AndroidRuntime.h | 54 status_t callMain(const char* className, int argc, const char* const argv[]); 62 int addVmArguments(int argc, const char* const argv[]);
|
/frameworks/base/cmds/stagefright/ |
D | stagefright.cpp | 211 int main(int argc, char **argv) { in main() argument 222 while ((res = getopt(argc, argv, "han:lm:b:p")) >= 0) { in main() 275 argc -= optind; in main() 349 for (int k = 0; k < argc; ++k) { in main()
|
D | record.cpp | 117 int main(int argc, char **argv) { 121 if (argc != 2) { 210 int main(int argc, char **argv) { in main() argument
|
/frameworks/base/cmds/runtime/ |
D | main_runtime.cpp | 342 int main(int argc, char* const argv[]) in main() argument 358 for (int i = 0; i < argc; i++) in main() 363 ic = getopt(argc, argv, "g:j:v:d:l:ns"); in main() 395 if (optind < argc) { in main()
|
/frameworks/base/cmds/surfaceflinger/ |
D | main_surfaceflinger.cpp | 10 int main(int argc, char** argv) in main() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 471 int argc; in readArgumentList() local 480 argc = Integer.parseInt(s); in readArgumentList() 487 if (argc > MAX_ZYGOTE_ARGC) { in readArgumentList() 491 String[] result = new String[argc]; in readArgumentList() 492 for (int i = 0; i < argc; i++) { in readArgumentList()
|
/frameworks/base/media/mediaserver/ |
D | main_mediaserver.cpp | 36 int main(int argc, char** argv) in main() argument
|
/frameworks/base/cmds/bugreport/ |
D | bugreport.c | 24 int main(int argc, char *argv[]) { in main() argument
|