/art/dexdump/ |
D | dexdump_main.cc | 61 int dexdumpDriver(int argc, char** argv) { in dexdumpDriver() argument 73 const int ic = getopt(argc, argv, "cdefghil:t:o:"); in dexdumpDriver() 122 if (optind == argc) { in dexdumpDriver() 146 while (optind < argc) { in dexdumpDriver() 154 int main(int argc, char** argv) { in main() argument 155 return art::dexdumpDriver(argc, argv); in main()
|
/art/dalvikvm/ |
D | dalvikvm.cc | 108 static int dalvikvm(int argc, char** argv) { in dalvikvm() argument 113 argc--; in dalvikvm() 120 int option_count = argc; in dalvikvm() 131 for (curr_opt = arg_idx = 0; arg_idx < argc; arg_idx++) { in dalvikvm() 185 if (arg_idx == argc) { in dalvikvm() 211 int main(int argc, char** argv) { in main() argument 212 return art::dalvikvm(argc, argv); in main()
|
/art/profman/ |
D | profman.cc | 126 void ParseArgs(int argc, char **argv) { in ParseArgs() argument 127 original_argc = argc; in ParseArgs() 134 argc--; in ParseArgs() 136 if (argc == 0) { in ParseArgs() 140 for (int i = 0; i < argc; ++i) { in ParseArgs() 355 static int profman(int argc, char** argv) { in profman() argument 359 profman.ParseArgs(argc, argv); in profman() 371 int main(int argc, char **argv) { in main() argument 372 return art::profman(argc, argv); in main()
|
/art/dexlist/ |
D | dexlist.cc | 216 int dexlistDriver(int argc, char** argv) { in dexlistDriver() argument 227 const int ic = getopt(argc, argv, "o:m:"); in dexlistDriver() 259 if (optind == argc) { in dexlistDriver() 282 while (optind < argc) { in dexlistDriver() 292 int main(int argc, char** argv) { in main() argument 293 return art::dexlistDriver(argc, argv); in main()
|
/art/cmdline/ |
D | cmdline.h | 128 bool Parse(int argc, char** argv) { in Parse() 131 argc--; in Parse() 133 if (argc == 0) { in Parse() 140 for (int i = 0; i < argc; i++) { in Parse() 295 int Main(int argc, char** argv) { in Main() 302 if (args_ == nullptr || !args_->Parse(argc, argv)) { in Main()
|
D | cmdline_parser.h | 472 CmdlineResult Parse(const char* argv[], int argc) { in Parse() 473 return Parse(TokenRange(&argv[1], argc - 1)); // ignore argv[0] because it's the program name in Parse()
|
D | README.md | 53 int main(char** argv, int argc) { 55 auto result = parser.parse(argv, argc));
|
/art/tools/dmtracedump/ |
D | createtesttrace.cc | 409 int32_t parseOptions(int32_t argc, char** argv) { in parseOptions() argument 412 int32_t opt = getopt(argc, argv, "v:d"); in parseOptions() 433 int32_t main(int32_t argc, char** argv) { in main() argument 437 if (parseOptions(argc, argv) || argc - optind != 2) { in main()
|
D | tracedump.cc | 2530 int32_t parseOptions(int32_t argc, char** argv) { in parseOptions() argument 2532 int32_t opt = getopt(argc, argv, "d:hg:kos:t:"); in parseOptions() 2566 int32_t main(int32_t argc, char** argv) { in main() argument 2570 if (parseOptions(argc, argv) || argc - optind != 1) return usage(argv[0]); in main()
|
/art/dex2oat/ |
D | dex2oat.cc | 1011 void InsertCompileOptions(int argc, char** argv) { in InsertCompileOptions() argument 1013 for (int i = 0; i < argc; ++i) { in InsertCompileOptions() 1042 void ParseArgs(int argc, char** argv) { in ParseArgs() argument 1043 original_argc = argc; in ParseArgs() 1050 argc--; in ParseArgs() 1052 if (argc == 0) { in ParseArgs() 1059 for (int i = 0; i < argc; i++) { in ParseArgs() 1124 if (++i >= argc) { in ParseArgs() 1167 InsertCompileOptions(argc, argv); in ParseArgs() 2613 static int dex2oat(int argc, char** argv) { in dex2oat() argument [all …]
|
/art/patchoat/ |
D | patchoat.cc | 1217 static int patchoat(int argc, char **argv) { in patchoat() argument 1221 orig_argc = argc; in patchoat() 1229 argc--; in patchoat() 1231 if (argc == 0) { in patchoat() 1256 for (int i = 0; i < argc; ++i) { in patchoat() 1377 int main(int argc, char **argv) { in main() argument 1378 return art::patchoat(argc, argv); in main()
|
/art/runtime/ |
D | common_runtime_test.cc | 54 int main(int argc, char **argv) { in main() argument 62 testing::InitGoogleTest(&argc, argv); in main()
|
/art/imgdiag/ |
D | imgdiag.cc | 1145 int main(int argc, char** argv) { in main() argument 1147 return main.Main(argc, argv); in main()
|
/art/oatdump/ |
D | oatdump.cc | 2606 int main(int argc, char** argv) { in main() argument 2608 return main.Main(argc, argv); in main()
|