Lines Matching refs:parser_options
621 void ParseInstructionSetVariant(const StringPiece& option, ParserOptions* parser_options) { in ParseInstructionSetVariant() argument
626 instruction_set_, str.as_string(), &parser_options->error_msg)); in ParseInstructionSetVariant()
628 Usage("%s", parser_options->error_msg.c_str()); in ParseInstructionSetVariant()
632 void ParseInstructionSetFeatures(const StringPiece& option, ParserOptions* parser_options) { in ParseInstructionSetFeatures() argument
638 instruction_set_, "default", &parser_options->error_msg)); in ParseInstructionSetFeatures()
641 parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
646 &parser_options->error_msg)); in ParseInstructionSetFeatures()
648 Usage("Error parsing '%s': %s", option.data(), parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
652 void ParseCompilerBackend(const StringPiece& option, ParserOptions* parser_options) { in ParseCompilerBackend() argument
654 parser_options->requested_specific_compiler = true; in ParseCompilerBackend()
680 void ProcessOptions(ParserOptions* parser_options) { in ProcessOptions() argument
702 if (!parser_options->oat_symbols.empty() && oat_fd_ != -1) { in ProcessOptions()
706 if (!parser_options->oat_symbols.empty() && is_host_) { in ProcessOptions()
714 if (!parser_options->oat_symbols.empty() && in ProcessOptions()
715 parser_options->oat_symbols.size() != oat_filenames_.size()) { in ProcessOptions()
731 if (!boot_image_ && parser_options->boot_image_filename.empty()) { in ProcessOptions()
732 parser_options->boot_image_filename += android_root_; in ProcessOptions()
733 parser_options->boot_image_filename += "/framework/boot.art"; in ProcessOptions()
735 if (!parser_options->boot_image_filename.empty()) { in ProcessOptions()
736 boot_image_filename_ = parser_options->boot_image_filename; in ProcessOptions()
805 if (!parser_options->oat_symbols.empty()) { in ProcessOptions()
806 oat_unstripped_ = std::move(parser_options->oat_symbols); in ProcessOptions()
814 instruction_set_, "default", &parser_options->error_msg)); in ProcessOptions()
817 parser_options->error_msg.c_str()); in ProcessOptions()
886 if (parser_options->watch_dog_enabled) { in ProcessOptions()
1056 std::unique_ptr<ParserOptions> parser_options(new ParserOptions()); in ParseArgs() local
1076 parser_options->oat_symbols.push_back(option.substr(strlen("--oat-symbols=")).data()); in ParseArgs()
1080 parser_options->watch_dog_enabled = true; in ParseArgs()
1082 parser_options->watch_dog_enabled = false; in ParseArgs()
1106 parser_options->boot_image_filename = option.substr(strlen("--boot-image=")).data(); in ParseArgs()
1112 ParseInstructionSetVariant(option, parser_options.get()); in ParseArgs()
1114 ParseInstructionSetFeatures(option, parser_options.get()); in ParseArgs()
1116 ParseCompilerBackend(option, parser_options.get()); in ParseArgs()
1164 ProcessOptions(parser_options.get()); in ParseArgs()