Home
last modified time | relevance | path

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

/art/dexdump/
Ddexdump_main.cc61 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/
Ddalvikvm.cc108 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/
Dprofman.cc126 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/
Ddexlist.cc216 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/
Dcmdline.h128 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()
Dcmdline_parser.h472 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()
DREADME.md53 int main(char** argv, int argc) {
55 auto result = parser.parse(argv, argc));
/art/tools/dmtracedump/
Dcreatetesttrace.cc409 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()
Dtracedump.cc2530 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/
Ddex2oat.cc1011 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/
Dpatchoat.cc1217 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/
Dcommon_runtime_test.cc54 int main(int argc, char **argv) { in main() argument
62 testing::InitGoogleTest(&argc, argv); in main()
/art/imgdiag/
Dimgdiag.cc1145 int main(int argc, char** argv) { in main() argument
1147 return main.Main(argc, argv); in main()
/art/oatdump/
Doatdump.cc2606 int main(int argc, char** argv) { in main() argument
2608 return main.Main(argc, argv); in main()