Searched defs:oat_filename (Results 1 - 7 of 7) sorted by relevance

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

Completed in 162 milliseconds