/art/dexdump/ |
D | dexdump_main.cc | 60 int dexdumpDriver(int argc, char** argv) { in dexdumpDriver() argument 68 const int ic = getopt(argc, argv, "acdefghijl:o:"); in dexdumpDriver() 120 if (optind == argc) { in dexdumpDriver() 144 while (optind < argc) { in dexdumpDriver() 152 int main(int argc, char** argv) { in main() argument 156 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/dexlayout/ |
D | dexlayout_main.cc | 72 int DexlayoutDriver(int argc, char** argv) { in DexlayoutDriver() argument 84 const int ic = getopt(argc, argv, "abcdefghil:o:p:stvw:x:"); in DexlayoutDriver() 159 if (optind == argc) { in DexlayoutDriver() 202 while (optind < argc) { in DexlayoutDriver() 216 int main(int argc, char** argv) { in main() argument 220 return art::DexlayoutDriver(argc, argv); in main()
|
D | dexdiag.cc | 449 static int DexDiagMain(int argc, char* argv[]) { in DexDiagMain() argument 450 if (argc < 2) { in DexDiagMain() 457 for (int i = 1; i < argc - 1; ++i) { in DexDiagMain() 481 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10); in DexDiagMain() 483 std::cerr << StringPrintf("Invalid PID \"%s\".\n", argv[argc - 1]) << std::endl; in DexDiagMain() 544 int main(int argc, char* argv[]) { in main() argument 545 return art::DexDiagMain(argc, argv); in main()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 141 void ParseArgs(int argc, char **argv) { in ParseArgs() argument 142 original_argc = argc; in ParseArgs() 149 argc--; in ParseArgs() 151 if (argc == 0) { in ParseArgs() 155 for (int i = 0; i < argc; ++i) { in ParseArgs() 303 static int dexoptAnalyze(int argc, char** argv) { in dexoptAnalyze() argument 307 analyzer.ParseArgs(argc, argv); in dexoptAnalyze() 313 int main(int argc, char **argv) { in main() argument 314 return art::dexoptAnalyze(argc, argv); in main()
|
/art/dexlist/ |
D | dexlist.cc | 221 int dexlistDriver(int argc, char** argv) { in dexlistDriver() argument 228 const int ic = getopt(argc, argv, "o:m:"); in dexlistDriver() 260 if (optind == argc) { in dexlistDriver() 283 while (optind < argc) { in dexlistDriver() 293 int main(int argc, char** argv) { in main() argument 297 return art::dexlistDriver(argc, argv); in main()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 171 void ParseArgs(int argc, char** argv) { in ParseArgs() argument 172 original_argc = argc; in ParseArgs() 179 argc--; in ParseArgs() 181 if (argc == 0) { in ParseArgs() 185 for (int i = 0; i < argc; ++i) { in ParseArgs() 372 int main(int argc, char** argv) { in main() argument 376 hiddenapi.ParseArgs(argc, argv); in main()
|
/art/cmdline/ |
D | cmdline.h | 133 bool Parse(int argc, char** argv) { in Parse() 136 argc--; in Parse() 138 if (argc == 0) { in Parse() 145 for (int i = 0; i < argc; i++) { in Parse() 306 int Main(int argc, char** argv) { in Main() 314 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/veridex/ |
D | veridex.cc | 86 static void ParseArgs(VeridexOptions* options, int argc, char** argv) { in ParseArgs() argument 89 argc--; in ParseArgs() 99 for (int i = 0; i < argc; ++i) { in ParseArgs() 130 static int Run(int argc, char** argv) { in Run() argument 132 ParseArgs(&options, argc, argv); in Run() 306 int main(int argc, char** argv) { in main() argument 307 return art::Veridex::Run(argc, argv); in main()
|
/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 | 2534 int32_t parseOptions(int32_t argc, char** argv) { in parseOptions() argument 2536 int32_t opt = getopt(argc, argv, "d:hg:kos:t:"); in parseOptions() 2570 int32_t main(int32_t argc, char** argv) { in main() argument 2574 if (parseOptions(argc, argv) || argc - optind != 1) return usage(argv[0]); in main()
|
/art/dex2oat/ |
D | dex2oat_options.h | 61 static std::unique_ptr<Dex2oatArgumentMap> Parse(int argc,
|
D | dex2oat_options.cc | 270 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() argument 274 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
|
D | dex2oat.cc | 1102 void InsertCompileOptions(int argc, char** argv) { in InsertCompileOptions() argument 1105 for (int i = 0; i < argc; ++i) { in InsertCompileOptions() 1171 void ParseArgs(int argc, char** argv) { in ParseArgs() argument 1172 original_argc = argc; in ParseArgs() 1182 std::unique_ptr<M> args_uptr = M::Parse(argc, const_cast<const char**>(argv), &error_msg); in ParseArgs() 1301 InsertCompileOptions(argc, argv); in ParseArgs() 3100 static dex2oat::ReturnCode Dex2oat(int argc, char** argv) { in Dex2oat() argument 3112 dex2oat->ParseArgs(argc, argv); in Dex2oat() 3176 int main(int argc, char** argv) { in main() argument 3177 int result = static_cast<int>(art::Dex2oat(argc, argv)); in main()
|
/art/profman/ |
D | profman.cc | 203 void ParseArgs(int argc, char **argv) { in ParseArgs() argument 204 original_argc = argc; in ParseArgs() 212 argc--; in ParseArgs() 214 if (argc == 0) { in ParseArgs() 218 for (int i = 0; i < argc; ++i) { in ParseArgs() 1271 static int profman(int argc, char** argv) { in profman() argument 1275 profman.ParseArgs(argc, argv); in profman() 1308 int main(int argc, char **argv) { in main() argument 1309 return art::profman(argc, argv); in main()
|
/art/patchoat/ |
D | patchoat.cc | 1204 static int patchoat(int argc, char **argv) { in patchoat() argument 1209 orig_argc = argc; in patchoat() 1215 argc--; in patchoat() 1217 if (argc == 0) { in patchoat() 1234 for (int i = 0; i < argc; ++i) { in patchoat() 1303 int main(int argc, char **argv) { in main() argument 1304 return art::patchoat(argc, argv); in main()
|
/art/runtime/ |
D | common_runtime_test.cc | 62 int main(int argc, char **argv) { in main() argument 71 testing::InitGoogleTest(&argc, argv); in main()
|
/art/tools/jfuzz/ |
D | jfuzz.cc | 1302 int32_t main(int32_t argc, char** argv) { in main() argument 1317 int32_t option = getopt(argc, argv, "s:d:l:i:n:vh"); in main()
|
/art/imgdiag/ |
D | imgdiag.cc | 1771 int main(int argc, char** argv) { in main() argument 1773 return main.Main(argc, argv); in main()
|
/art/oatdump/ |
D | oatdump.cc | 3864 int main(int argc, char** argv) { in main() argument 3869 return main.Main(argc, argv); in main()
|