Lines Matching refs:parser_options

656   void ParseInstructionSetVariant(const StringPiece& option, ParserOptions* parser_options) {  in ParseInstructionSetVariant()  argument
660 instruction_set_, str.as_string(), &parser_options->error_msg); in ParseInstructionSetVariant()
662 Usage("%s", parser_options->error_msg.c_str()); in ParseInstructionSetVariant()
666 void ParseInstructionSetFeatures(const StringPiece& option, ParserOptions* parser_options) { in ParseInstructionSetFeatures() argument
671 instruction_set_, "default", &parser_options->error_msg); in ParseInstructionSetFeatures()
674 parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
679 &parser_options->error_msg); in ParseInstructionSetFeatures()
681 Usage("Error parsing '%s': %s", option.data(), parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
685 void ParseCompilerBackend(const StringPiece& option, ParserOptions* parser_options) { in ParseCompilerBackend() argument
687 parser_options->requested_specific_compiler = true; in ParseCompilerBackend()
713 void ProcessOptions(ParserOptions* parser_options) { in ProcessOptions() argument
742 if (!parser_options->oat_symbols.empty() && oat_fd_ != -1) { in ProcessOptions()
746 if (!parser_options->oat_symbols.empty() && is_host_) { in ProcessOptions()
758 if (!parser_options->oat_symbols.empty() && in ProcessOptions()
759 parser_options->oat_symbols.size() != oat_filenames_.size()) { in ProcessOptions()
775 if (!IsBootImage() && parser_options->boot_image_filename.empty()) { in ProcessOptions()
776 parser_options->boot_image_filename += android_root_; in ProcessOptions()
777 parser_options->boot_image_filename += "/framework/boot.art"; in ProcessOptions()
779 if (!parser_options->boot_image_filename.empty()) { in ProcessOptions()
780 boot_image_filename_ = parser_options->boot_image_filename; in ProcessOptions()
849 if (!parser_options->oat_symbols.empty()) { in ProcessOptions()
850 oat_unstripped_ = std::move(parser_options->oat_symbols); in ProcessOptions()
857 instruction_set_, "default", &parser_options->error_msg); in ProcessOptions()
860 parser_options->error_msg.c_str()); in ProcessOptions()
915 if (parser_options->watch_dog_enabled) { in ProcessOptions()
916 int64_t timeout = parser_options->watch_dog_timeout_in_ms > 0 in ProcessOptions()
917 ? parser_options->watch_dog_timeout_in_ms in ProcessOptions()
1116 std::unique_ptr<ParserOptions> parser_options(new ParserOptions()); in ParseArgs() local
1144 parser_options->oat_symbols.push_back(option.substr(strlen("--oat-symbols=")).data()); in ParseArgs()
1150 parser_options->watch_dog_enabled = true; in ParseArgs()
1152 parser_options->watch_dog_enabled = false; in ParseArgs()
1156 &parser_options->watch_dog_timeout_in_ms, in ParseArgs()
1181 parser_options->boot_image_filename = option.substr(strlen("--boot-image=")).data(); in ParseArgs()
1187 ParseInstructionSetVariant(option, parser_options.get()); in ParseArgs()
1189 ParseInstructionSetFeatures(option, parser_options.get()); in ParseArgs()
1191 ParseCompilerBackend(option, parser_options.get()); in ParseArgs()
1256 ProcessOptions(parser_options.get()); in ParseArgs()