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

/art/runtime/
H A Dimage.h116 std::string oat_filename = image; local
117 if (oat_filename.length() <= 3) {
118 oat_filename += ".oat";
120 oat_filename.replace(oat_filename.length() - 3, 3, "oat");
122 return oat_filename;
H A Druntime.cc722 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(system_filename.c_str()); local
724 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str()));
735 LOG(INFO) << "Unable to use '" << oat_filename << "' because " << error_msg;
/art/compiler/
H A Dimage_test.cc61 std::string oat_filename(image_filename, 0, image_filename.size() - 3);
62 oat_filename += "oat";
63 ScratchFile oat_file(OS::CreateEmptyFile(oat_filename.c_str()));
H A Dimage_writer.cc132 const std::string& oat_filename,
138 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str()));
140 PLOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location;
146 PLOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location
185 LOG(ERROR) << "Failed to flush and close oat file " << oat_filename << " for " << oat_location;
131 Write(const std::string& image_filename, const std::string& oat_filename, const std::string& oat_location) argument
H A Dimage_writer.h89 bool Write(const std::string& image_filename, const std::string& oat_filename,
/art/runtime/gc/space/
H A Dimage_space.cc788 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path); local
792 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(),
798 oat_filename.c_str(), GetName(), error_msg->c_str());
/art/oatdump/
H A Doatdump.cc2262 static int DumpOat(Runtime* runtime, const char* oat_filename, OatDumperOptions* options, argument
2265 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, nullptr, nullptr, false,
2268 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());
2279 static int SymbolizeOat(const char* oat_filename, std::string& output_name) { argument
2281 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, nullptr, nullptr, false,
2284 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());

Completed in 7227 milliseconds