Home
last modified time | relevance | path

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

/art/runtime/
Dimage.h96 std::string oat_filename = image; in GetOatLocationFromImageLocation() local
97 if (oat_filename.length() <= 3) { in GetOatLocationFromImageLocation()
98 oat_filename += ".oat"; in GetOatLocationFromImageLocation()
100 oat_filename.replace(oat_filename.length() - 3, 3, "oat"); in GetOatLocationFromImageLocation()
102 return oat_filename; in GetOatLocationFromImageLocation()
Druntime.cc595 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(system_filename.c_str()); in OpenDexFilesFromImage() local
597 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str())); in OpenDexFilesFromImage()
608 LOG(INFO) << "Unable to use '" << oat_filename << "' because " << error_msg; in OpenDexFilesFromImage()
/art/runtime/native/
Ddalvik_system_DexFile.cc289 static jbyte IsDexOptNeededForFile(const std::string& oat_filename, const char* filename, in CopyProfileFile() argument
292 std::unique_ptr<const OatFile> oat_file(OatFile::Open(oat_filename, oat_filename, nullptr, in CopyProfileFile()
296 LOG(INFO) << "DexFile_isDexOptNeeded failed to open oat file '" << oat_filename in CopyProfileFile()
312 << filename << " for " << oat_filename << ": " << error_msg; in CopyProfileFile()
316 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename in CopyProfileFile()
323 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename in CopyProfileFile()
329 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename in CopyProfileFile()
339 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename in CopyProfileFile()
347 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename in CopyProfileFile()
353 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename in CopyProfileFile()
[all …]
/art/compiler/
Dimage_test.cc60 std::string oat_filename(image_filename, 0, image_filename.size() - 3); in TEST_F() local
61 oat_filename += "oat"; in TEST_F()
62 ScratchFile oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in TEST_F()
Dimage_writer.cc73 const std::string& oat_filename, in Write() argument
82 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str())); in Write()
84 LOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location; in Write()
90 LOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location in Write()
Dimage_writer.h51 const std::string& oat_filename,
/art/dex2oat/
Ddex2oat.cc448 const std::string& oat_filename, in CreateImageFile() argument
456 if (!image_writer.Write(image_filename, image_base, oat_filename, oat_location)) { in CreateImageFile()
463 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str())); in CreateImageFile()
465 PLOG(ERROR) << "Failed to open ELF file: " << oat_filename; in CreateImageFile()
824 std::string oat_filename; in dex2oat() local
893 oat_filename = option.substr(strlen("--oat-file=")).data(); in dex2oat()
1057 if (oat_filename.empty() && oat_fd == -1) { in dex2oat()
1061 if (!oat_filename.empty() && oat_fd != -1) { in dex2oat()
1138 std::string oat_stripped(oat_filename); in dex2oat()
1143 oat_unstripped += oat_filename; in dex2oat()
[all …]
/art/runtime/gc/space/
Dimage_space.cc666 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path); in OpenOatFile() local
668 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(), in OpenOatFile()
672 oat_filename.c_str(), GetName(), error_msg->c_str()); in OpenOatFile()
/art/oatdump/
Doatdump.cc1688 const char* oat_filename = nullptr; in oatdump() local
1703 oat_filename = option.substr(strlen("--oat-file=")).data(); in oatdump()
1743 if (image_location == nullptr && oat_filename == nullptr) { in oatdump()
1748 if (image_location != nullptr && oat_filename != nullptr) { in oatdump()
1754 bool absolute_addresses = (oat_filename == nullptr); in oatdump()
1761 if (oat_filename != nullptr) { in oatdump()
1764 OatFile::Open(oat_filename, oat_filename, nullptr, false, &error_msg); in oatdump()
1766 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str()); in oatdump()