Searched refs:vdex_filename (Results 1 – 12 of 12) sorted by relevance
/art/runtime/ |
D | vdex_file.cc | 70 const std::string& vdex_filename, in OpenAtAddress() argument 75 ScopedTrace trace(("VdexFile::OpenAtAddress " + vdex_filename).c_str()); in OpenAtAddress() 76 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress() 77 *error_msg = "File " + vdex_filename + " does not exist."; in OpenAtAddress() 83 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenAtAddress() 85 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); in OpenAtAddress() 88 *error_msg = "Could not open file " + vdex_filename + in OpenAtAddress() 95 *error_msg = "Could not read the length of file " + vdex_filename; in OpenAtAddress() 104 vdex_filename, in OpenAtAddress() 116 const std::string& vdex_filename, in OpenAtAddress() argument [all …]
|
D | vdex_file.h | 196 const std::string& vdex_filename, 209 const std::string& vdex_filename, 216 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, in Open() argument 224 vdex_filename, in Open() 234 const std::string& vdex_filename, in Open() argument 244 vdex_filename, in Open()
|
D | oat_file.cc | 109 const std::string& vdex_filename, 123 const std::string& vdex_filename, 140 bool LoadVdex(const std::string& vdex_filename, 146 const std::string& vdex_filename, 197 const std::string& vdex_filename, in OpenOatFile() argument 225 if (!ret->LoadVdex(vdex_filename, writable, low_4gb, error_msg)) { in OpenOatFile() 293 bool OatFileBase::LoadVdex(const std::string& vdex_filename, in LoadVdex() argument 300 vdex_filename, in LoadVdex() 307 vdex_filename.c_str(), in LoadVdex() 315 const std::string& vdex_filename, in LoadVdex() argument [all …]
|
D | oat_file_assistant.h | 268 /* out */ std::string* vdex_filename);
|
D | oat_file_assistant.cc | 476 /* out */ std::string* vdex_filename) { in AnonymousDexVdexLocation() argument 498 *vdex_filename = GetVdexFilename(odex_filename); in AnonymousDexVdexLocation()
|
/art/libartbase/base/ |
D | file_utils_test.cc | 261 const std::string vdex_filename = in TEST_F() local 263 CHECK_EQ(vdex_filename, ReplaceFileExtension(art_filename, "vdex")); in TEST_F()
|
/art/dex2oat/linker/ |
D | image_test.h | 202 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile() local 203 out_helper.vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str()))); in DoCompile() 204 vdex_filenames.push_back(vdex_filename); in DoCompile()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 820 std::string vdex_filename; in DexFile_getDexFileOutputPaths() local 855 vdex_filename = GetVdexFilename(oat_filename); in DexFile_getDexFileOutputPaths() 857 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str())); in DexFile_getDexFileOutputPaths()
|
/art/oatdump/ |
D | oatdump.cc | 608 std::string vdex_filename = GetVdexFilename(oat_file_.GetLocation()); in Dump() local 609 if (!OS::FileExists(vdex_filename.c_str())) { in Dump() 610 os << "File " << vdex_filename.c_str() << " does not exist\n"; in Dump() 615 std::unique_ptr<const VdexFile> vdex_file = OpenVdex(vdex_filename, in Dump() 766 std::unique_ptr<const VdexFile> OpenVdex(const std::string& vdex_filename, in OpenVdex() argument 769 std::unique_ptr<const File> file(OS::OpenFileForReading(vdex_filename.c_str())); in OpenVdex() 771 *error_msg = "Could not open file " + vdex_filename + " for reading."; in OpenVdex() 777 *error_msg = "Could not read the length of file " + vdex_filename; in OpenVdex() 788 vdex_filename.c_str(), in OpenVdex() 791 *error_msg = "Failed to mmap file " + vdex_filename + ": " + *error_msg; in OpenVdex()
|
/art/dex2oat/ |
D | dex2oat.cc | 1214 std::string vdex_filename = output_vdex_.empty() in OpenFile() local 1217 if (vdex_filename == input_vdex_ && output_vdex_.empty()) { in OpenFile() 1219 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile() 1222 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile() 1224 PLOG(ERROR) << "Failed to open vdex file: " << vdex_filename; in OpenFile() 1228 PLOG(ERROR) << "Failed to make vdex file world readable: " << vdex_filename; in OpenFile()
|
D | dex2oat_test.cc | 1202 const std::string vdex_filename = dir + "/base.vdex"; in TEST_F() local 1310 const std::string vdex_filename = dir + "/base.vdex"; in TEST_F() local
|
/art/runtime/gc/space/ |
D | image_space.cc | 1932 std::string vdex_filename = ImageHeader::GetVdexLocationFromImageLocation(art_filename); in CompileExtension() local 1935 android::base::unique_fd vdex_fd(memfd_create_compat(vdex_filename.c_str(), /*flags=*/ 0)); in CompileExtension()
|