Searched refs:vdex_filename (Results 1 – 11 of 11) sorted by relevance
/art/runtime/ |
D | vdex_file.cc | 101 const std::string& vdex_filename, in OpenAtAddress() argument 106 ScopedTrace trace(("VdexFile::OpenAtAddress " + vdex_filename).c_str()); in OpenAtAddress() 107 if (!OS::FileExists(vdex_filename.c_str())) { in OpenAtAddress() 108 *error_msg = "File " + vdex_filename + " does not exist."; in OpenAtAddress() 114 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenAtAddress() 116 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); in OpenAtAddress() 119 *error_msg = "Could not open file " + vdex_filename + in OpenAtAddress() 126 *error_msg = "Could not read the length of file " + vdex_filename; in OpenAtAddress() 135 vdex_filename, in OpenAtAddress() 147 const std::string& vdex_filename, in OpenAtAddress() argument [all …]
|
D | vdex_file.h | 186 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()
|
D | oat_file.cc | 108 const std::string& vdex_filename, 122 const std::string& vdex_filename, 139 bool LoadVdex(const std::string& vdex_filename, 145 const std::string& vdex_filename, 195 const std::string& vdex_filename, in OpenOatFile() argument 223 if (!ret->LoadVdex(vdex_filename, writable, low_4gb, error_msg)) { in OpenOatFile() 281 bool OatFileBase::LoadVdex(const std::string& vdex_filename, in LoadVdex() argument 288 vdex_filename, in LoadVdex() 295 vdex_filename.c_str(), in LoadVdex() 303 const std::string& vdex_filename, in LoadVdex() argument [all …]
|
D | oat_file_assistant.cc | 444 /* out */ std::string* vdex_filename) { in AnonymousDexVdexLocation() argument 467 *vdex_filename = GetVdexFilename(odex_filename); in AnonymousDexVdexLocation() 750 std::string vdex_filename = GetVdexFilename(filename_); in Status() local 761 vdex_filename, in Status() 769 vdex = VdexFile::Open(vdex_filename, in Status() 777 VLOG(oat) << "unable to open vdex file " << vdex_filename << ": " << error_msg; in Status()
|
D | oat_file_assistant.h | 257 /* out */ std::string* vdex_filename);
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 95 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/ |
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/oatdump/ |
D | oatdump.cc | 589 std::string vdex_filename = GetVdexFilename(oat_file_.GetLocation()); in Dump() local 590 if (!OS::FileExists(vdex_filename.c_str())) { in Dump() 591 os << "File " << vdex_filename.c_str() << " does not exist\n"; in Dump() 596 std::unique_ptr<const VdexFile> vdex_file = OpenVdexUnquicken(vdex_filename, in Dump() 747 std::unique_ptr<const VdexFile> OpenVdexUnquicken(const std::string& vdex_filename, in OpenVdexUnquicken() argument 750 std::unique_ptr<const File> file(OS::OpenFileForReading(vdex_filename.c_str())); in OpenVdexUnquicken() 752 *error_msg = "Could not open file " + vdex_filename + " for reading."; in OpenVdexUnquicken() 758 *error_msg = "Could not read the length of file " + vdex_filename; in OpenVdexUnquicken() 769 vdex_filename.c_str(), in OpenVdexUnquicken() 772 *error_msg = "Failed to mmap file " + vdex_filename + ": " + *error_msg; in OpenVdexUnquicken()
|
/art/dex2oat/ |
D | dex2oat.cc | 1474 std::string vdex_filename = output_vdex_.empty() in OpenFile() local 1477 if (vdex_filename == input_vdex_ && output_vdex_.empty()) { in OpenFile() 1479 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile() 1482 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile() 1484 PLOG(ERROR) << "Failed to open vdex file: " << vdex_filename; in OpenFile() 1488 PLOG(ERROR) << "Failed to make vdex file world readable: " << vdex_filename; in OpenFile()
|
D | dex2oat_test.cc | 1421 const std::string vdex_filename = dir + "/base.vdex"; in TEST_F() local 1529 const std::string vdex_filename = dir + "/base.vdex"; in TEST_F() local
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 842 std::string vdex_filename = GetVdexFilename(best_oat_file->GetLocation()); in DexFile_getDexFileOutputPaths() local 844 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str())); in DexFile_getDexFileOutputPaths()
|