/art/compiler/ |
D | elf_patcher.h | 37 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()
|
D | elf_patcher.cc | 40 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()
|
D | image_writer.cc | 78 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()
|
D | image_writer.h | 57 const std::string& oat_location,
|
/art/dex2oat/ |
D | dex2oat.cc | 338 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/ |
D | class_linker.h | 283 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,
|
D | class_linker.cc | 702 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 …]
|
D | runtime.cc | 612 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/ |
D | oatdump.cc | 1040 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()
|