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

/art/runtime/
H A Dimage.h97 std::string oat_filename = image; local
98 if (oat_filename.length() <= 3) {
99 oat_filename += ".oat";
101 oat_filename.replace(oat_filename.length() - 3, 3, "oat");
103 return oat_filename;
H A Druntime.cc611 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(system_filename.c_str()); local
613 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str()));
624 LOG(INFO) << "Unable to use '" << oat_filename << "' because " << error_msg;
/art/runtime/native/
H A Ddalvik_system_DexFile.cc289 static jbyte IsDexOptNeededForFile(const std::string& oat_filename, const char* filename, argument
293 std::unique_ptr<const OatFile> oat_file(OatFile::Open(oat_filename, oat_filename, nullptr,
301 LOG(INFO) << "DexFile_isDexOptNeeded failed to open oat file '" << oat_filename
322 << filename << " for " << oat_filename << ": " << error_msg;
326 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename
333 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename
339 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename
349 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename
357 LOG(INFO) << "DexFile_isDexOptNeeded file " << oat_filename
[all...]
/art/compiler/
H A Dimage_test.cc60 std::string oat_filename(image_filename, 0, image_filename.size() - 3);
61 oat_filename += "oat";
62 ScratchFile oat_file(OS::CreateEmptyFile(oat_filename.c_str()));
H A Dimage_writer.h56 const std::string& oat_filename,
H A Dimage_writer.cc77 const std::string& oat_filename,
89 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str()));
91 LOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location;
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;
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.cc467 const std::string& oat_filename,
475 if (!image_writer.Write(image_filename, image_base, oat_filename, oat_location,
486 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str()));
488 PLOG(ERROR) << "Failed to open ELF file: " << oat_filename;
499 PLOG(ERROR) << "Failed to flush and close patched oat file " << oat_filename;
856 std::string oat_filename; local
932 oat_filename = option.substr(strlen("--oat-file=")).data();
1112 if (oat_filename.empty() && oat_fd == -1) {
1116 if (!oat_filename.empty() && oat_fd != -1) {
1205 std::string oat_stripped(oat_filename);
1700 PLOG(ERROR) << "Failed to flush and close oat file: " << oat_location << "/" << oat_filename; local
[all...]
/art/runtime/gc/space/
H A Dimage_space.cc740 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path); local
744 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(),
749 oat_filename.c_str(), GetName(), error_msg->c_str());
/art/oatdump/
H A Doatdump.cc1703 const char* oat_filename = nullptr; local
1718 oat_filename = option.substr(strlen("--oat-file=")).data();
1758 if (image_location == nullptr && oat_filename == nullptr) {
1763 if (image_location != nullptr && oat_filename != nullptr) {
1769 bool absolute_addresses = (oat_filename == nullptr);
1776 if (oat_filename != nullptr) {
1779 OatFile::Open(oat_filename, oat_filename, nullptr, nullptr, false, &error_msg);
1781 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());

Completed in 3947 milliseconds