/art/dexdump/ |
D | dexdump_main.cc | 63 int dexdumpDriver(int argc, char** argv) { in dexdumpDriver() argument 72 const int ic = getopt(argc, argv, "acdefghijl:no:s"); in dexdumpDriver() 130 if (optind == argc) { in dexdumpDriver() 154 while (optind < argc) { in dexdumpDriver() 162 int main(int argc, char** argv) { in main() argument 167 return art::dexdumpDriver(argc, argv); in main()
|
/art/artd/ |
D | artd_main.cc | 37 Options ParseOptions(int argc, char** argv) { in ParseOptions() argument 39 for (int i = 1; i < argc; i++) { in ParseOptions() 54 int main([[maybe_unused]] int argc, char* argv[]) { in main() argument 57 art::artd::Options options = art::artd::ParseOptions(argc, argv); in main()
|
/art/tools/dexanalyze/ |
D | dexanalyze.cc | 68 int Parse(int argc, char** argv) { in Parse() 70 for (i = 1; i < argc; ++i) { in Parse() 76 if (i + 1 >= argc) { in Parse() 90 if (i + 1 >= argc) { in Parse() 112 filenames_.insert(filenames_.end(), argv + i, argv + argc); in Parse() 191 static int Run(int argc, char** argv) { in Run() argument 195 int result = options.Parse(argc, argv); in Run() 241 int main(int argc, char** argv) { in main() argument 243 return art::dexanalyze::DexAnalyze::Run(argc, argv); in main()
|
/art/dalvikvm/ |
D | dalvikvm.cc | 109 static int dalvikvm(int argc, char** argv) { in dalvikvm() argument 114 argc--; in dalvikvm() 121 int option_count = argc; in dalvikvm() 132 for (curr_opt = arg_idx = 0; arg_idx < argc; arg_idx++) { in dalvikvm() 186 if (arg_idx == argc) { in dalvikvm() 217 int main(int argc, char** argv) { in main() argument 220 art::FastExit(art::dalvikvm(argc, argv)); in main()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 148 void ParseArgs(int argc, char **argv) { in ParseArgs() argument 149 original_argc = argc; in ParseArgs() 156 argc--; in ParseArgs() 158 if (argc == 0) { in ParseArgs() 162 for (int i = 0; i < argc; ++i) { in ParseArgs() 191 if (i + 1 == argc) { in ParseArgs() 402 static ReturnCode dexoptAnalyze(int argc, char** argv) { in dexoptAnalyze() argument 406 analyzer.ParseArgs(argc, argv); in dexoptAnalyze() 413 int main(int argc, char **argv) { in main() argument 414 art::dexoptanalyzer::ReturnCode return_code = art::dexoptanalyzer::dexoptAnalyze(argc, argv); in main()
|
/art/libarttools/ |
D | art_exec.cc | 94 Options ParseOptions(int argc, char** argv) { in ParseOptions() argument 96 for (int i = 1; i < argc; i++) { in ParseOptions() 134 if (i + 1 >= argc) { in ParseOptions() 189 int main(int argc, char** argv) { in main() argument 192 Options options = ParseOptions(argc, argv); in main() 233 std::vector<char*> command_args(&argv[options.command_pos], &argv[argc + 1]); in main()
|
/art/dexlist/ |
D | dexlist.cc | 208 int dexlistDriver(int argc, char** argv) { in dexlistDriver() argument 215 const int ic = getopt(argc, argv, "o:m:"); in dexlistDriver() 247 if (optind == argc) { in dexlistDriver() 270 while (optind < argc) { in dexlistDriver() 280 int main(int argc, char** argv) { in main() argument 285 return art::dexlistDriver(argc, argv); in main()
|
/art/test/common/ |
D | gtest_main.cc | 40 int main(int argc, char** argv, char** envp) { in main() argument 48 return IsolateMain(argc, argv, envp); in main()
|
/art/cmdline/ |
D | cmdline.h | 102 bool Parse(int argc, char** argv) { in Parse() 105 argc--; in Parse() 107 if (argc == 0) { in Parse() 114 for (int i = 0; i < argc; i++) { in Parse() 128 if (i + 1 == argc) { in Parse() 367 int Main(int argc, char** argv) { in Main() 375 if (args_ == nullptr || !args_->Parse(argc, argv)) { in Main()
|
D | cmdline_parser.h | 573 CmdlineResult Parse(const char* argv[], int argc) { in Parse() 574 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/odrefresh/ |
D | odrefresh_main.cc | 130 int InitializeConfig(int argc, char** argv, OdrConfig* config) { in InitializeConfig() argument 142 for (; n < argc - 1; ++n) { in InitializeConfig() 258 int main(int argc, char** argv) { in main() argument 268 int n = InitializeConfig(argc, argv, &config); in main() 273 argc -= n; in main() 274 if (argc != 1) { in main() 275 ArgumentError("Expected 1 argument, but have %d.", argc); in main()
|
D | odrefresh_broken.cc | 20 int main([[maybe_unused]] int argc, [[maybe_unused]] char** argv) { in main() argument
|
/art/test/generate-boot-image/ |
D | generate-boot-image.cc | 178 int Main(int argc, char** argv) { in Main() argument 182 for (int i = 1; i < argc; i++) { in Main() 213 for (i++; i < argc; i++) { in Main() 263 int main(int argc, char** argv) { return art::gbi::Main(argc, argv); } in main() argument
|
/art/tools/veridex/ |
D | veridex.cc | 96 static void ParseArgs(VeridexOptions* options, int argc, char** argv) { in ParseArgs() argument 99 argc--; in ParseArgs() 101 for (int i = 0; i < argc; ++i) { in ParseArgs() 136 static int Run(int argc, char** argv) { in Run() argument 138 ParseArgs(&options, argc, argv); in Run() 341 int main(int argc, char** argv) { in main() argument 343 return art::Veridex::Run(argc, argv); in main()
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 136 static int Main(int argc, char** argv) { in Main() argument 138 if (argc != 3) { in Main() 171 int main(int argc, char** argv) { in main() argument 172 return art::Main(argc, argv); in main()
|
/art/dexopt_chroot_setup/ |
D | dexopt_chroot_setup_main.cc | 25 int main([[maybe_unused]] int argc, char* argv[]) { in main() argument
|
/art/tools/fuzzer/ |
D | libart_verify_dex_fuzzer.cc | 20 extern "C" int LLVMFuzzerInitialize([[maybe_unused]] int* argc, [[maybe_unused]] char*** argv) { in LLVMFuzzerInitialize() argument
|
/art/dex2oat/ |
D | dex2oat_options.h | 61 static std::unique_ptr<Dex2oatArgumentMap> Parse(int argc,
|
D | dex2oat_options.cc | 469 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() argument 473 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
|
D | dex2oat.cc | 962 void InsertCompileOptions(int argc, char** argv) { in InsertCompileOptions() argument 965 for (int i = 0; i < argc; ++i) { in InsertCompileOptions() 981 for (int i = 0; i < argc; ++i) { in InsertCompileOptions() 1045 void ParseArgs(int argc, char** argv) { in ParseArgs() argument 1046 original_argc = argc; in ParseArgs() 1056 std::unique_ptr<M> args_uptr = M::Parse(argc, const_cast<const char**>(argv), &error_msg); in ParseArgs() 3105 static dex2oat::ReturnCode Dex2oat(int argc, char** argv) { in Dex2oat() argument 3117 dex2oat->ParseArgs(argc, argv); in Dex2oat() 3138 dex2oat->InsertCompileOptions(argc, argv); in Dex2oat() 3198 int main(int argc, char** argv) { in main() argument [all …]
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 780 void Run(int argc, char** argv) { in Run() argument 781 switch (ParseArgs(argc, argv)) { in Run() 797 Command ParseArgs(int argc, char** argv) { in ParseArgs() argument 800 argc--; in ParseArgs() 802 if (argc > 0) { in ParseArgs() 806 for (int i = 1; i < argc; ++i) { in ParseArgs() 826 for (int i = 1; i < argc; ++i) { in ParseArgs() 1115 int main(int argc, char** argv) { in main() argument 1116 art::hiddenapi::original_argc = argc; in main() 1120 art::hiddenapi::HiddenApi().Run(argc, argv); in main()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 275 int main(int argc, char** argv) { in main() argument 280 return main.Main(argc, argv); in main()
|
/art/profman/ |
D | profman.cc | 333 void ParseArgs(int argc, char **argv) { in ParseArgs() argument 334 original_argc = argc; in ParseArgs() 342 argc--; in ParseArgs() 344 if (argc == 0) { in ParseArgs() 348 for (int i = 0; i < argc; ++i) { in ParseArgs() 2000 static int profman(int argc, char** argv) { in profman() argument 2004 profman.ParseArgs(argc, argv); in profman() 2041 int main(int argc, char **argv) { in main() argument 2042 return art::profman(argc, argv); in main()
|
/art/imgdiag/ |
D | page_info.cc | 432 int main(int argc, char** argv) { in main() argument 434 return main.Main(argc, argv); in main()
|