Searched defs:oat_location (Results 1 - 6 of 6) sorted by relevance

/art/compiler/
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, NULL, 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.cc74 const std::string& oat_location) {
84 LOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location; local
88 oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, &error_msg);
90 LOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location
71 Write(const std::string& image_filename, uintptr_t image_begin, const std::string& oat_filename, const std::string& oat_location) argument
/art/runtime/
H A Druntime.cc596 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_location.c_str()); local
605 std::unique_ptr<OatFile> oat_file(OatFile::OpenWithElfFile(elf_file.release(), oat_location,
H A Dclass_linker.cc686 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFile(const char* oat_location, argument
693 if (oat_location != nullptr) {
694 if (oat_file->GetLocation() != oat_location) {
783 << "dex_location=" << next_name << " oat_location=" << oat_file->GetLocation().c_str()
811 bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, argument
828 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location,
844 if (oat_location != nullptr) {
854 if (!scoped_flock.Init(oat_location, &error_msg)) {
859 // TODO Caller specifically asks for this oat_location. We should honor it. Probably?
861 oat_location,
963 FindOatFileInOatLocationForDexFile(const char* dex_location, uint32_t dex_location_checksum, const char* oat_location, std::string* error_msg) argument
1028 CreateOatFileForDexLocation(const char* dex_location, int fd, const char* oat_location, std::vector<std::string>* error_msgs) argument
1215 FindOpenedOatFileFromOatLocation(const std::string& oat_location) argument
1550 FindOatFileFromOatLocation(const std::string& oat_location, std::string* error_msg) argument
[all...]
/art/dex2oat/
H A Ddex2oat.cc329 const std::string& oat_location, std::string* error_msg) {
340 return ElfPatcher::Patch(compiler_driver, elf_file.get(), oat_location, error_msg);
349 const std::string& oat_location,
437 if (!PatchOatCode(driver.get(), oat_file, oat_location, &error_msg)) {
449 const std::string& oat_location,
456 if (!image_writer.Write(image_filename, image_base, oat_filename, oat_location)) {
826 std::string oat_location; local
920 oat_location = option.substr(strlen("--oat-location=")).data();
1221 if (oat_location.empty()) {
1222 oat_location
328 PatchOatCode(const CompilerDriver* compiler_driver, File* oat_file, const std::string& oat_location, std::string* error_msg) argument
344 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, bool dump_stats, bool dump_passes, TimingLogger& timings, CumulativeLogger& compiler_phases_timings, std::string profile_file, SafeMap<std::string, std::string>* key_value_store) argument
[all...]
/art/oatdump/
H A Doatdump.cc1030 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); local
1031 os << "OAT LOCATION: " << oat_location; local
1034 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location);
1036 oat_file = OatFile::Open(oat_location, oat_location, nullptr, false, &error_msg);

Completed in 320 milliseconds