Lines Matching refs:error_msg

119 const DexFile* OpenDexFile(const OatDexFile* oat_dex_file, std::string* error_msg) {  in OpenDexFile()  argument
125 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release(); in OpenDexFile()
243 std::string error_msg; in WalkOatDexFile() local
244 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile()
512 std::string error_msg; in Dump() local
513 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in Dump()
516 << error_msg; in Dump()
557 std::string error_msg; in Dump() local
560 const DexFile* dex_file = OpenDexFile(oat_dex_files_[i], &error_msg); in Dump()
562 os << "Error opening dex file: " << error_msg << std::endl; in Dump()
592 std::string error_msg; in Dump() local
602 &error_msg); in Dump()
604 os << "Failed to open vdex file: " << error_msg << "\n"; in Dump()
634 &error_msg); in Dump()
636 os << "DexLayout failed to process Dex file: " + error_msg; in Dump()
652 &error_msg)); in Dump()
654 os << "Failed to load DexFile from layout container: " + error_msg; in Dump()
710 std::string error_msg; in GetQuickOatCode() local
711 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in GetQuickOatCode()
714 << "': " << error_msg; in GetQuickOatCode()
753 /* out */ std::string* error_msg) { in OpenVdexUnquicken() argument
756 *error_msg = "Could not open file " + vdex_filename + " for reading."; in OpenVdexUnquicken()
762 *error_msg = "Could not read the length of file " + vdex_filename; in OpenVdexUnquicken()
774 error_msg); in OpenVdexUnquicken()
776 *error_msg = "Failed to mmap file " + vdex_filename + ": " + *error_msg; in OpenVdexUnquicken()
782 *error_msg = "Vdex file is not valid"; in OpenVdexUnquicken()
787 if (!vdex_file->OpenAllDexFiles(&tmp_dex_files, error_msg)) { in OpenVdexUnquicken()
788 *error_msg = "Failed to open Dex files from Vdex: " + *error_msg; in OpenVdexUnquicken()
845 std::string error_msg; in AddAllOffsets() local
846 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in AddAllOffsets()
849 << "': " << error_msg; in AddAllOffsets()
905 std::string error_msg; in DumpOatDexFile() local
906 const DexFile* const dex_file = OpenDexFile(&oat_dex_file, &error_msg); in DumpOatDexFile()
908 os << "NOT FOUND: " << error_msg << "\n\n"; in DumpOatDexFile()
967 std::string error_msg; in ExportDexFile() local
982 dex_file = OpenDexFile(&oat_dex_file, &error_msg); in ExportDexFile()
984 os << "Failed to open dex file '" << dex_file_location << "': " << error_msg; in ExportDexFile()
1888 std::string error_msg; in Dump() local
1899 &error_msg); in Dump()
1902 os << "OAT FILE NOT FOUND: " << error_msg << "\n"; in Dump()
2783 std::string error_msg; in DumpImages() local
2789 &error_msg)); in DumpImages()
2791 LOG(ERROR) << "Failed to open oat file " << options->app_oat_ << " with error " << error_msg; in DumpImages()
2795 gc::space::ImageSpace::CreateFromAppImage(options->app_image_, oat_file.get(), &error_msg)); in DumpImages()
2798 << error_msg; in DumpImages()
2803 if (!runtime->GetClassLinker()->OpenImageDexFiles(space.get(), &dex_files, &error_msg)) { in DumpImages()
2805 << error_msg; in DumpImages()
2844 std::string error_msg; in InstallOatFile() local
2845 const DexFile* const dex_file = OpenDexFile(odf, &error_msg); in InstallOatFile()
2846 CHECK(dex_file != nullptr) << error_msg; in InstallOatFile()
2912 std::string error_msg; in DumpOat() local
2920 &error_msg)); in DumpOat()
2922 LOG(ERROR) << "Failed to open oat file from '" << oat_filename << "': " << error_msg; in DumpOat()
2940 std::string error_msg; in SymbolizeOat() local
2948 &error_msg)); in SymbolizeOat()
2950 LOG(ERROR) << "Failed to open oat file from '" << oat_filename << "': " << error_msg; in SymbolizeOat()
2990 std::string error_msg; in Dump() local
2998 &error_msg)); in Dump()
3000 LOG(ERROR) << "Failed to open oat file from '" << oat_filename << "': " << error_msg; in Dump()
3424 std::string* error_msg) override { in ParseCustom()
3427 ParseStatus base_parse = Base::ParseCustom(raw_option, raw_option_length, error_msg); in ParseCustom()
3465 *error_msg = "Address conversion failed"; in ParseCustom()
3483 ParseStatus ParseChecks(std::string* error_msg) override { in ParseChecks()
3490 ParseStatus parent_checks = Base::ParseChecks(error_msg); in ParseChecks()
3497 *error_msg = "Either --image or --oat-file must be specified"; in ParseChecks()
3500 *error_msg = "Either --image or --oat-file must be specified but not both"; in ParseChecks()