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

/art/compiler/
H A Delf_patcher.h37 const std::string& oat_location,
49 const std::string& oat_location,
52 return ElfPatcher::Patch(driver, elf_file, oat_location,
H A Delf_patcher.cc40 const std::string& oat_location,
44 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location);
47 oat_file = OatFile::Open(oat_location, oat_location, nullptr, nullptr, false, error_msg);
49 *error_msg = StringPrintf("Unable to find or open oat file at '%s': %s", oat_location.c_str(),
39 Patch(const CompilerDriver* driver, ElfFile* elf_file, const std::string& oat_location, ImageAddressCallback cb, void* cb_data, std::string* error_msg) argument
H A Dimage_writer.h57 const std::string& oat_location,
H A Dimage_writer.cc78 const std::string& oat_location,
91 LOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location; local
95 oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, &error_msg);
97 LOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location
157 LOG(ERROR) << "Failed to flush and close oat file " << oat_filename << " for " << oat_location; local
75 Write(const std::string& image_filename, uintptr_t image_begin, const std::string& oat_filename, const std::string& oat_location, bool compile_pic) argument
/art/dex2oat/
H A Ddex2oat.cc338 const std::string& oat_location, std::string* error_msg) {
349 return ElfPatcher::Patch(compiler_driver, elf_file.get(), oat_location, error_msg);
358 const std::string& oat_location,
455 if (!PatchOatCode(driver.get(), oat_file, oat_location, &error_msg)) {
468 const std::string& oat_location,
475 if (!image_writer.Write(image_filename, image_base, oat_filename, oat_location,
858 std::string oat_location; local
959 oat_location = option.substr(strlen("--oat-location=")).data();
1289 if (oat_location.empty()) {
1290 oat_location
337 PatchOatCode(const CompilerDriver* compiler_driver, File* oat_file, const std::string& oat_location, std::string* error_msg) argument
353 CreateOatFile(const std::string& boot_image_option, const std::string& android_root, bool is_host, const std::vector<const DexFile*>& dex_files, File* oat_file, const std::string& oat_location, const std::string& bitcode_filename, bool image, std::unique_ptr<std::set<std::string>>& image_classes, std::unique_ptr<std::set<std::string>>& compiled_classes, bool dump_stats, bool dump_passes, TimingLogger& timings, CumulativeLogger& compiler_phases_timings, int swap_fd, std::string profile_file, SafeMap<std::string, std::string>* key_value_store) argument
[all...]
/art/runtime/
H A Dclass_linker.h283 bool OpenDexFilesFromOat(const char* dex_location, const char* oat_location,
585 // Find an opened oat dex file that contains dex_location. If oat_location is not nullptr,
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,
626 // Creates the oat file from the dex_location to the oat_location. Needs a file descriptor for
629 int fd, const char* oat_location,
H A Dclass_linker.cc702 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFile(const char* oat_location, argument
709 if (oat_location != nullptr) {
710 if (oat_file->GetLocation() != oat_location) {
799 << "dex_location=" << next_name << " oat_location=" << oat_file->GetLocation().c_str()
827 bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, argument
844 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location,
860 if (oat_location != nullptr) {
870 if (!scoped_flock.Init(oat_location, &error_msg)) {
875 // TODO Caller specifically asks for this oat_location. We should honor it. Probably?
877 oat_location,
979 FindOatFileInOatLocationForDexFile(const char* dex_location, uint32_t dex_location_checksum, const char* oat_location, std::string* error_msg) argument
1044 CreateOatFileForDexLocation(const char* dex_location, int fd, const char* oat_location, std::vector<std::string>* error_msgs) argument
1235 FindOpenedOatFileFromOatLocation(const std::string& oat_location) argument
1566 FindOatFileFromOatLocation(const std::string& oat_location, std::string* error_msg) argument
[all...]
H A Druntime.cc612 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_location.c_str()); local
621 std::unique_ptr<OatFile> oat_file(OatFile::OpenWithElfFile(elf_file.release(), oat_location,
/art/oatdump/
H A Doatdump.cc1040 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); local
1041 os << "OAT LOCATION: " << oat_location; local
1044 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location);
1046 oat_file = OatFile::Open(oat_location, oat_location, nullptr, nullptr, false, &error_msg);

Completed in 120 milliseconds