Home
last modified time | relevance | path

Searched refs:oat_filename (Results 1 – 11 of 11) sorted by relevance

/art/compiler/
Dimage_test.h188 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in Compile() local
189 oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); in Compile()
190 oat_filenames.push_back(oat_filename); in Compile()
352 const char* oat_filename = oat_filenames[i].c_str(); in Compile() local
353 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename)); in Compile()
359 << oat_filename; in Compile()
/art/runtime/
Doat_file.cc1134 OatFile* OatFile::Open(const std::string& oat_filename, in Open() argument
1143 CHECK(!oat_filename.empty()) << oat_location; in Open()
1146 std::string vdex_filename = GetVdexFilename(oat_filename); in Open()
1152 } else if (!OS::FileExists(oat_filename.c_str())) { in Open()
1153 *error_msg = StringPrintf("File %s does not exist.", oat_filename.c_str()); in Open()
1160 oat_filename, in Open()
1173 LOG(ERROR) << "Failed to dlopen: " << oat_filename << " with error " << *error_msg; in Open()
1189 oat_filename, in Open()
Doat_file_assistant.h289 std::string* oat_filename,
Doat_file_assistant.cc833 std::string* oat_filename, in DexLocationToOatFilename() argument
835 CHECK(oat_filename != nullptr); in DexLocationToOatFilename()
847 return GetDalvikCacheFilename(location.c_str(), cache_dir.c_str(), oat_filename, error_msg); in DexLocationToOatFilename()
Dutils.h177 std::string GetVdexFilename(const std::string& oat_filename);
Druntime.cc929 std::string oat_filename = in OpenDexFilesFromImage() local
949 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str())); in OpenDexFilesFromImage()
968 LOG(WARNING) << "Unable to use '" << oat_filename << "' because " << error_msg; in OpenDexFilesFromImage()
/art/oatdump/
Doatdump.cc2880 static int DumpOat(Runtime* runtime, const char* oat_filename, OatDumperOptions* options, in DumpOat() argument
2883 std::unique_ptr<OatFile> oat_file(OatFile::Open(oat_filename, in DumpOat()
2884 oat_filename, in DumpOat()
2892 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str()); in DumpOat()
2903 static int SymbolizeOat(const char* oat_filename, std::string& output_name, bool no_bits) { in SymbolizeOat() argument
2905 std::unique_ptr<OatFile> oat_file(OatFile::Open(oat_filename, in SymbolizeOat()
2906 oat_filename, in SymbolizeOat()
2914 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str()); in SymbolizeOat()
2941 const char* oat_filename) { in Dump() argument
2949 if (oat_filename != nullptr) { in Dump()
[all …]
/art/dex2oat/
Ddex2oat.cc1349 for (const char* oat_filename : oat_filenames_) { in OpenFile() local
1350 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename)); in OpenFile()
1352 PLOG(ERROR) << "Failed to create oat file: " << oat_filename; in OpenFile()
1356 PLOG(ERROR) << "Failed to make oat file world readable: " << oat_filename; in OpenFile()
1373 ? ReplaceFileExtension(oat_filename, "vdex") in OpenFile()
2692 const char* oat_filename = oat_filenames_[i]; in CreateImageFile() local
2695 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename)); in CreateImageFile()
2697 PLOG(ERROR) << "Failed to open ELF file: " << oat_filename; in CreateImageFile()
Ddex2oat_test.cc1269 const std::string oat_filename = dir + "/base.oat"; in TEST_F() local
1274 oat_filename, in TEST_F()
1281 std::unique_ptr<OatFile> odex_file(OatFile::Open(oat_filename.c_str(), in TEST_F()
1282 oat_filename.c_str(), in TEST_F()
/art/runtime/native/
Ddalvik_system_DexFile.cc699 std::string oat_filename = best_oat_file->GetLocation(); in DexFile_getDexFileOutputPaths() local
706 ScopedLocalRef<jstring> joatFilename(env, env->NewStringUTF(oat_filename.c_str())); in DexFile_getDexFileOutputPaths()
/art/runtime/gc/space/
Dimage_space.cc1373 std::string oat_filename = ImageHeader::GetOatLocationFromImageLocation(image_path); in OpenOatFile() local
1377 std::unique_ptr<OatFile> oat_file(OatFile::Open(oat_filename, in OpenOatFile()
1378 oat_filename, in OpenOatFile()
1387 oat_filename.c_str(), in OpenOatFile()