Searched refs:vdex_filename (Results 1 – 11 of 11) sorted by relevance
/art/runtime/ |
D | vdex_file.cc | 100 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 …]
|
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 | 107 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 …]
|
D | oat_file_assistant.cc | 440 /* 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()
|
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 | 590 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/ |
D | dex2oat.cc | 1283 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()
|
D | dex2oat_test.cc | 1389 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/ |
D | dalvik_system_DexFile.cc | 839 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()
|