Home
last modified time | relevance | path

Searched refs:oat_location (Results 1 – 9 of 9) sorted by relevance

/art/compiler/
Delf_patcher.h37 const std::string& oat_location,
49 const std::string& oat_location, in Patch() argument
52 return ElfPatcher::Patch(driver, elf_file, oat_location, in Patch()
Delf_patcher.cc40 const std::string& oat_location, in Patch() argument
44 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location); in Patch()
47 oat_file = OatFile::Open(oat_location, oat_location, nullptr, nullptr, false, error_msg); in Patch()
49 *error_msg = StringPrintf("Unable to find or open oat file at '%s': %s", oat_location.c_str(), in Patch()
Dimage_writer.cc78 const std::string& oat_location, in Write() argument
91 LOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location; in Write()
95 oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, &error_msg); in Write()
97 LOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location in Write()
157 LOG(ERROR) << "Failed to flush and close oat file " << oat_filename << " for " << oat_location; in Write()
Dimage_writer.h57 const std::string& oat_location,
/art/dex2oat/
Ddex2oat.cc338 const std::string& oat_location, std::string* error_msg) { in PatchOatCode() argument
349 return ElfPatcher::Patch(compiler_driver, elf_file.get(), oat_location, error_msg); in PatchOatCode()
358 const std::string& oat_location, in CreateOatFile() argument
455 if (!PatchOatCode(driver.get(), oat_file, oat_location, &error_msg)) { in CreateOatFile()
468 const std::string& oat_location, in CreateImageFile() argument
475 if (!image_writer.Write(image_filename, image_base, oat_filename, oat_location, in CreateImageFile()
858 std::string oat_location; in dex2oat() local
959 oat_location = option.substr(strlen("--oat-location=")).data(); in dex2oat()
1289 if (oat_location.empty()) { in dex2oat()
1290 oat_location = oat_filename; in dex2oat()
[all …]
/art/runtime/
Dclass_linker.h283 bool OpenDexFilesFromOat(const char* dex_location, const char* oat_location,
587 const OatFile::OatDexFile* FindOpenedOatDexFile(const char* oat_location,
593 const OatFile* FindOatFileFromOatLocation(const std::string& oat_location,
597 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location)
622 const char* oat_location,
629 int fd, const char* oat_location,
Dclass_linker.cc702 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFile(const char* oat_location, in FindOpenedOatDexFile() argument
709 if (oat_location != nullptr) { in FindOpenedOatDexFile()
710 if (oat_file->GetLocation() != oat_location) { in FindOpenedOatDexFile()
827 bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, in OpenDexFilesFromOat() argument
844 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location, in OpenDexFilesFromOat()
860 if (oat_location != nullptr) { in OpenDexFilesFromOat()
870 if (!scoped_flock.Init(oat_location, &error_msg)) { in OpenDexFilesFromOat()
877 oat_location, &error_msg)); in OpenDexFilesFromOat()
881 dex_location, oat_location, error_msg.c_str()); in OpenDexFilesFromOat()
935 if (oat_location == nullptr) { in OpenDexFilesFromOat()
[all …]
Druntime.cc612 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_location.c_str()); in OpenDexFilesFromImage() local
621 std::unique_ptr<OatFile> oat_file(OatFile::OpenWithElfFile(elf_file.release(), oat_location, in OpenDexFilesFromImage()
/art/oatdump/
Doatdump.cc1040 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump() local
1041 os << "OAT LOCATION: " << oat_location; in Dump()
1044 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location); in Dump()
1046 oat_file = OatFile::Open(oat_location, oat_location, nullptr, nullptr, false, &error_msg); in Dump()