Lines Matching refs:error_msg

866     std::string error_msg;  member
883 compiler_options_->instruction_set_, option, &parser_options->error_msg); in ParseInstructionSetVariant()
885 Usage("%s", parser_options->error_msg.c_str()); in ParseInstructionSetVariant()
892 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ParseInstructionSetFeatures()
895 parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
900 option, &parser_options->error_msg); in ParseInstructionSetFeatures()
902 Usage("Error parsing '%s': %s", option.c_str(), parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
1072 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ProcessOptions()
1075 parser_options->error_msg.c_str()); in ProcessOptions()
1300 std::string error_msg; in ParseArgs() local
1301 std::unique_ptr<M> args_uptr = M::Parse(argc, const_cast<const char**>(argv), &error_msg); in ParseArgs()
1303 Usage("Failed to parse command line: %s", error_msg.c_str()); in ParseArgs()
1442 if (!ReadCompilerOptions(args, compiler_options_.get(), &error_msg)) { in ParseArgs()
1443 Usage(error_msg.c_str()); in ParseArgs()
1481 std::string error_msg; in OpenFile() local
1486 &error_msg); in OpenFile()
1531 std::string error_msg; in OpenFile() local
1538 &error_msg); in OpenFile()
1542 PLOG(WARNING) << "Failed opening vdex file: " << error_msg; in OpenFile()
1590 std::string error_msg; in OpenFile() local
1592 dm_file_.reset(ZipArchive::OpenFromFd(dm_fd_, "DexMetadata", &error_msg)); in OpenFile()
1594 dm_file_.reset(ZipArchive::Open(dm_file_location_.c_str(), &error_msg)); in OpenFile()
1597 LOG(WARNING) << "Could not open DexMetadata archive " << error_msg; in OpenFile()
1603 std::string error_msg; in OpenFile() local
1605 std::unique_ptr<ZipEntry> zip_entry(dm_file_->Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFile()
1613 &error_msg, in OpenFile()
1616 LOG(WARNING) << "Could not open vdex file in DexMetadata archive: " << error_msg; in OpenFile()
2915 std::string* error_msg) { in ReadCommentedInputFromZip() argument
2916 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip()
2920 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(input_filename, error_msg)); in ReadCommentedInputFromZip()
2922 *error_msg = StringPrintf("Failed to find '%s' within '%s': %s", input_filename, in ReadCommentedInputFromZip()
2923 zip_filename, error_msg->c_str()); in ReadCommentedInputFromZip()
2926 MemMap input_file = zip_entry->ExtractToMemMap(zip_filename, input_filename, error_msg); in ReadCommentedInputFromZip()
2928 *error_msg = StringPrintf("Failed to extract '%s' from '%s': %s", input_filename, in ReadCommentedInputFromZip()
2929 zip_filename, error_msg->c_str()); in ReadCommentedInputFromZip()