Home
last modified time | relevance | path

Searched refs:parse_result (Results 1 – 4 of 4) sorted by relevance

/art/compiler/driver/
Dcompiler_options.cc136 CmdlineResult parse_result = parser.Parse(options); in ParseCompilerOptions() local
137 if (!parse_result.IsSuccess()) { in ParseCompilerOptions()
138 *error_msg = parse_result.GetMessage(); in ParseCompilerOptions()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc168 int parse_result = std::stoi(std::string( in ParseArgs() local
170 if (parse_result != static_cast<int>(ProfileAnalysisResult::kOptimize) && in ParseArgs()
171 parse_result != static_cast<int>(ProfileAnalysisResult::kDontOptimizeSmallDelta) && in ParseArgs()
172 parse_result != static_cast<int>(ProfileAnalysisResult::kDontOptimizeEmptyProfiles)) { in ParseArgs()
173 Usage("Invalid --profile-analysis-result= %d", parse_result); in ParseArgs()
175 profile_analysis_result_ = static_cast<ProfileAnalysisResult>(parse_result); in ParseArgs()
/art/runtime/
Dparsed_options.cc658 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse() local
661 if (parse_result.IsError()) { in DoParse()
662 if (parse_result.GetStatus() == CmdlineResult::kUsage) { in DoParse()
663 UsageMessage(stdout, "%s\n", parse_result.GetMessage().c_str()); in DoParse()
665 } else if (parse_result.GetStatus() == CmdlineResult::kUnknown && !ignore_unrecognized) { in DoParse()
666 Usage("%s\n", parse_result.GetMessage().c_str()); in DoParse()
669 Usage("%s\n", parse_result.GetMessage().c_str()); in DoParse()
/art/dex2oat/
Ddex2oat_options.cc482 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse() local
483 if (!parse_result.IsSuccess()) { in Parse()
484 *error_msg = parse_result.GetMessage(); in Parse()