Lines Matching refs:argv
95 static void ParseArgs(VeridexOptions* options, int argc, char** argv) { in ParseArgs() argument
97 argv++; in ParseArgs()
101 if (StartsWith(argv[i], kDexFileOption)) { in ParseArgs()
102 options->dex_file = Substr(argv[i], strlen(kDexFileOption)); in ParseArgs()
103 } else if (StartsWith(argv[i], kStubsOption)) { in ParseArgs()
104 options->core_stubs = Substr(argv[i], strlen(kStubsOption)); in ParseArgs()
105 } else if (StartsWith(argv[i], kFlagsOption)) { in ParseArgs()
106 options->flags_file = Substr(argv[i], strlen(kFlagsOption)); in ParseArgs()
107 } else if (strcmp(argv[i], kImprecise) == 0) { in ParseArgs()
109 } else if (StartsWith(argv[i], kTargetSdkVersion)) { in ParseArgs()
110 options->target_sdk_version = atoi(Substr(argv[i], strlen(kTargetSdkVersion))); in ParseArgs()
111 } else if (StartsWith(argv[i], kAppClassFilter)) { in ParseArgs()
113 Substr(argv[i], strlen(kAppClassFilter)), ","); in ParseArgs()
114 } else if (StartsWith(argv[i], kExcludeApiListsOption)) { in ParseArgs()
116 Substr(argv[i], strlen(kExcludeApiListsOption)), ","); in ParseArgs()
118 LOG(ERROR) << "Unknown command line argument: " << argv[i]; in ParseArgs()
135 static int Run(int argc, char** argv) { in Run() argument
137 ParseArgs(&options, argc, argv); in Run()
138 android::base::InitLogging(argv); in Run()
345 int main(int argc, char** argv) { in main() argument
346 return art::Veridex::Run(argc, argv); in main()