Searched refs:oat_filename (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | image.h | 116 std::string oat_filename = image; in GetOatLocationFromImageLocation() local 117 if (oat_filename.length() <= 3) { in GetOatLocationFromImageLocation() 118 oat_filename += ".oat"; in GetOatLocationFromImageLocation() 120 oat_filename.replace(oat_filename.length() - 3, 3, "oat"); in GetOatLocationFromImageLocation() 122 return oat_filename; in GetOatLocationFromImageLocation()
|
D | runtime.cc | 722 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(system_filename.c_str()); in OpenDexFilesFromImage() local 724 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str())); in OpenDexFilesFromImage() 735 LOG(INFO) << "Unable to use '" << oat_filename << "' because " << error_msg; in OpenDexFilesFromImage()
|
/art/compiler/ |
D | image_test.cc | 61 std::string oat_filename(image_filename, 0, image_filename.size() - 3); in TEST_F() local 62 oat_filename += "oat"; in TEST_F() 63 ScratchFile oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in TEST_F()
|
D | image_writer.cc | 132 const std::string& oat_filename, in Write() argument 138 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str())); in Write() 140 PLOG(ERROR) << "Failed to open oat file " << oat_filename << " for " << oat_location; in Write() 146 PLOG(ERROR) << "Failed to open writable oat file " << oat_filename << " for " << oat_location in Write() 185 LOG(ERROR) << "Failed to flush and close oat file " << oat_filename << " for " << oat_location; in Write()
|
D | image_writer.h | 89 bool Write(const std::string& image_filename, const std::string& oat_filename,
|
/art/runtime/gc/space/ |
D | image_space.cc | 788 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path); in OpenOatFile() local 792 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(), in OpenOatFile() 798 oat_filename.c_str(), GetName(), error_msg->c_str()); in OpenOatFile()
|
/art/oatdump/ |
D | oatdump.cc | 2262 static int DumpOat(Runtime* runtime, const char* oat_filename, OatDumperOptions* options, in DumpOat() argument 2265 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, nullptr, nullptr, false, in DumpOat() 2268 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str()); in DumpOat() 2279 static int SymbolizeOat(const char* oat_filename, std::string& output_name) { in SymbolizeOat() argument 2281 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, nullptr, nullptr, false, in SymbolizeOat() 2284 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str()); in SymbolizeOat()
|