Home
last modified time | relevance | path

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

/art/runtime/
Dvdex_file.cc100 const std::string& vdex_filename, in OpenAtAddress() argument
105 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress()
106 *error_msg = "File " + vdex_filename + " does not exist."; in OpenAtAddress()
112 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenAtAddress()
114 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); in OpenAtAddress()
117 *error_msg = "Could not open file " + vdex_filename + in OpenAtAddress()
124 *error_msg = "Could not read the length of file " + vdex_filename; in OpenAtAddress()
133 vdex_filename, in OpenAtAddress()
145 const std::string& vdex_filename, in OpenAtAddress() argument
164 vdex_filename.c_str(), in OpenAtAddress()
[all …]
Dvdex_file.h186 const std::string& vdex_filename,
199 const std::string& vdex_filename,
206 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, in Open() argument
214 vdex_filename, in Open()
224 const std::string& vdex_filename, in Open() argument
234 vdex_filename, in Open()
Doat_file.cc107 const std::string& vdex_filename,
121 const std::string& vdex_filename,
138 bool LoadVdex(const std::string& vdex_filename,
144 const std::string& vdex_filename,
190 const std::string& vdex_filename, in OpenOatFile() argument
218 if (!ret->LoadVdex(vdex_filename, writable, low_4gb, error_msg)) { in OpenOatFile()
269 bool OatFileBase::LoadVdex(const std::string& vdex_filename, in LoadVdex() argument
276 vdex_filename, in LoadVdex()
283 vdex_filename.c_str(), in LoadVdex()
291 const std::string& vdex_filename, in LoadVdex() argument
[all …]
Doat_file_assistant.cc440 /* out */ std::string* vdex_filename) { in AnonymousDexVdexLocation() argument
463 *vdex_filename = GetVdexFilename(odex_filename); in AnonymousDexVdexLocation()
766 std::string vdex_filename = GetVdexFilename(filename_); in Status() local
777 vdex_filename, in Status()
785 vdex = VdexFile::Open(vdex_filename, in Status()
793 VLOG(oat) << "unable to open vdex file " << vdex_filename << ": " << error_msg; in Status()
Doat_file_assistant.h257 /* out */ std::string* vdex_filename);
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc95 std::string vdex_filename; in Java_Main_hasVdexFile() local
101 &vdex_filename) && in Java_Main_hasVdexFile()
102 OS::FileExists(vdex_filename.c_str()); in Java_Main_hasVdexFile()
/art/dex2oat/linker/
Dimage_test.h202 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/oatdump/
Doatdump.cc590 std::string vdex_filename = GetVdexFilename(oat_file_.GetLocation()); in Dump() local
591 if (!OS::FileExists(vdex_filename.c_str())) { in Dump()
592 os << "File " << vdex_filename.c_str() << " does not exist\n"; in Dump()
597 std::unique_ptr<const VdexFile> vdex_file = OpenVdexUnquicken(vdex_filename, in Dump()
748 std::unique_ptr<const VdexFile> OpenVdexUnquicken(const std::string& vdex_filename, in OpenVdexUnquicken() argument
751 std::unique_ptr<const File> file(OS::OpenFileForReading(vdex_filename.c_str())); in OpenVdexUnquicken()
753 *error_msg = "Could not open file " + vdex_filename + " for reading."; in OpenVdexUnquicken()
759 *error_msg = "Could not read the length of file " + vdex_filename; in OpenVdexUnquicken()
770 vdex_filename.c_str(), in OpenVdexUnquicken()
773 *error_msg = "Failed to mmap file " + vdex_filename + ": " + *error_msg; in OpenVdexUnquicken()
/art/dex2oat/
Ddex2oat.cc1283 std::string vdex_filename = output_vdex_.empty() in OpenFile() local
1286 if (vdex_filename == input_vdex_ && output_vdex_.empty()) { in OpenFile()
1288 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile()
1291 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile()
1293 PLOG(ERROR) << "Failed to open vdex file: " << vdex_filename; in OpenFile()
1297 PLOG(ERROR) << "Failed to make vdex file world readable: " << vdex_filename; in OpenFile()
Ddex2oat_test.cc1389 const std::string vdex_filename = dir + "/base.vdex"; in TEST_F() local
1498 const std::string vdex_filename = dir + "/base.vdex"; in TEST_F() local
/art/runtime/native/
Ddalvik_system_DexFile.cc839 std::string vdex_filename = GetVdexFilename(best_oat_file->GetLocation()); in DexFile_getDexFileOutputPaths() local
841 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str())); in DexFile_getDexFileOutputPaths()