Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 29) sorted by relevance

12

/art/dexdump/
Ddexdump_main.cc63 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/
Dartd_main.cc37 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/
Ddexanalyze.cc68 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/
Ddalvikvm.cc109 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/
Ddexoptanalyzer.cc148 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/
Dart_exec.cc94 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/
Ddexlist.cc208 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/
Dgtest_main.cc40 int main(int argc, char** argv, char** envp) { in main() argument
48 return IsolateMain(argc, argv, envp); in main()
/art/cmdline/
Dcmdline.h102 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()
Dcmdline_parser.h573 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()
DREADME.md53 int main(char** argv, int argc) {
55 auto result = parser.parse(argv, argc));
/art/odrefresh/
Dodrefresh_main.cc130 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()
Dodrefresh_broken.cc20 int main([[maybe_unused]] int argc, [[maybe_unused]] char** argv) { in main() argument
/art/test/generate-boot-image/
Dgenerate-boot-image.cc178 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/
Dveridex.cc96 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/
Dcreate_minidebuginfo.cc136 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/
Ddexopt_chroot_setup_main.cc25 int main([[maybe_unused]] int argc, char* argv[]) { in main() argument
/art/tools/fuzzer/
Dlibart_verify_dex_fuzzer.cc20 extern "C" int LLVMFuzzerInitialize([[maybe_unused]] int* argc, [[maybe_unused]] char*** argv) { in LLVMFuzzerInitialize() argument
/art/dex2oat/
Ddex2oat_options.h61 static std::unique_ptr<Dex2oatArgumentMap> Parse(int argc,
Ddex2oat_options.cc469 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() argument
473 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
Ddex2oat.cc962 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/
Dhiddenapi.cc780 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/
Dart_verifier.cc275 int main(int argc, char** argv) { in main() argument
280 return main.Main(argc, argv); in main()
/art/profman/
Dprofman.cc333 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/
Dpage_info.cc432 int main(int argc, char** argv) { in main() argument
434 return main.Main(argc, argv); in main()

12