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

/art/runtime/
H A Dimage.h168 std::string oat_filename = image; local
169 if (oat_filename.length() <= 3) {
170 oat_filename += ".oat";
172 oat_filename.replace(oat_filename.length() - 3, 3, "oat");
174 return oat_filename;
H A Druntime.cc842 std::string oat_filename = local
852 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str()));
868 LOG(WARNING) << "Unable to use '" << oat_filename << "' because " << error_msg;
/art/compiler/
H A Dimage_test.cc152 std::string oat_filename(image_filename.substr(0, image_filename.size() - strlen("art")) + "oat");
153 oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str())));
154 oat_filenames.push_back(oat_filename);
296 const char* oat_filename = oat_filenames[i].c_str(); local
297 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename));
303 << oat_filename;
/art/oatdump/
H A Doatdump.cc2315 static int DumpOat(Runtime* runtime, const char* oat_filename, OatDumperOptions* options, argument
2318 OatFile* oat_file = OatFile::Open(oat_filename,
2319 oat_filename,
2327 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());
2338 static int SymbolizeOat(const char* oat_filename, std::string& output_name, bool no_bits) { argument
2340 OatFile* oat_file = OatFile::Open(oat_filename,
2341 oat_filename,
2349 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());
/art/dex2oat/
H A Ddex2oat.cc1197 for (const char* oat_filename : oat_filenames_) {
1198 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename));
1200 PLOG(ERROR) << "Failed to create oat file: " << oat_filename;
1204 PLOG(ERROR) << "Failed to make oat file world readable: " << oat_filename;
2283 const char* oat_filename = oat_filenames_[i]; variable
2286 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename));
2288 PLOG(ERROR) << "Failed to open ELF file: " << oat_filename;
/art/runtime/gc/space/
H A Dimage_space.cc1436 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path); local
1440 OatFile* oat_file = OatFile::Open(oat_filename,
1441 oat_filename,
1450 oat_filename.c_str(), GetName(), error_msg->c_str());

Completed in 159 milliseconds