/art/runtime/ |
D | vdex_file.cc | 51 bool VdexFile::VdexFileHeader::IsMagicValid() const { in IsMagicValid() 55 bool VdexFile::VdexFileHeader::IsVdexVersionValid() const { in IsVdexVersionValid() 59 VdexFile::VdexFileHeader::VdexFileHeader([[maybe_unused]] bool has_dex_section) in VdexFileHeader() 67 std::unique_ptr<VdexFile> VdexFile::OpenAtAddress(uint8_t* mmap_addr, in OpenAtAddress() 109 std::unique_ptr<VdexFile> VdexFile::OpenAtAddress(uint8_t* mmap_addr, in OpenAtAddress() 143 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress() 152 std::unique_ptr<VdexFile> VdexFile::OpenFromDm(const std::string& filename, in OpenFromDm() 155 std::unique_ptr<ZipEntry> zip_entry(archive.Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFromDm() 157 LOG(INFO) << "No " << VdexFile::kVdexNameInDmFile << " file in DexMetadata archive. " in OpenFromDm() 163 VdexFile::kVdexNameInDmFile, in OpenFromDm() [all …]
|
D | vdex_file_test.cc | 33 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F() 41 vdex = VdexFile::Open( in TEST_F()
|
D | vdex_file.h | 87 class VdexFile { 186 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() function 190 EXPORT static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr, 200 EXPORT static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr, 211 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, in Open() 225 static std::unique_ptr<VdexFile> Open(int file_fd, in Open() 242 EXPORT static std::unique_ptr<VdexFile> OpenFromDm(const std::string& filename, 326 DISALLOW_COPY_AND_ASSIGN(VdexFile);
|
D | runtime_image.cc | 1094 VdexFile* vdex_file = oat_dex_file->GetOatFile()->GetVdexFile(); in WriteObjects()
|
/art/dex2oat/ |
D | dex2oat_vdex_test.cc | 71 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location, in GetVerifierDeps() 81 VdexFile::VdexFileHeader vdex_header = vdex->GetVdexFileHeader(); in GetVerifierDeps() 135 std::vector<std::unique_ptr<VdexFile>> opened_vdex_files_;
|
D | dex2oat_test.cc | 1432 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location, in TEST_F() 1469 writer.StartEntry(VdexFile::kVdexNameInDmFile, ZipWriter::kCompress); in TEST_F() 1766 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location, in TEST_F()
|
D | dex2oat.cc | 1268 input_vdex_file_ = VdexFile::Open(input_vdex_, in OpenFile() 1317 input_vdex_file_ = VdexFile::Open(input_vdex_fd_, in OpenFile() 1374 input_vdex_file_ = VdexFile::OpenFromDm(dm_file_location_, *dm_file_); in OpenFile() 2927 std::unique_ptr<VdexFile> input_vdex_file_;
|
/art/runtime/oat/ |
D | oat_file.h | 54 class VdexFile; variable 172 std::unique_ptr<VdexFile>&& vdex_file, 179 std::unique_ptr<VdexFile>&& vdex_file, 392 VdexFile* GetVdexFile() const { in GetVdexFile() 430 std::unique_ptr<VdexFile> vdex_;
|
D | oat_file_assistant.cc | 1062 std::unique_ptr<VdexFile> vdex; in GetFile() 1070 vdex = VdexFile::Open(vdex_fd_, in GetFile() 1079 vdex = VdexFile::Open(filename_, in GetFile() 1098 std::unique_ptr<VdexFile> vdex(VdexFile::OpenFromDm(filename_, *dm_file)); in GetFile() 1280 const VdexFile* vdex_file = oat_file->GetVdexFile(); in CheckDisableCompactDex()
|
D | oat_file.cc | 190 void SetVdex(VdexFile* vdex) { in SetVdex() 300 vdex_ = VdexFile::OpenAtAddress(vdex_begin_, in LoadVdex() 327 vdex_ = VdexFile::OpenAtAddress(vdex_begin_, in LoadVdex() 512 const VdexFile* vdex_file, in ComputeAndCheckTypeLookupTableData() 1571 VdexFile* vdex_file, 1621 VdexFile* vdex_file, in InitializeFromElfFile() 1712 std::unique_ptr<VdexFile>&& vdex_file, in Open() 1729 std::unique_ptr<VdexFile>&& unique_vdex_file, in Open() 1733 VdexFile* vdex_file = unique_vdex_file.get(); in Open() 2004 std::unique_ptr<VdexFile>&& vdex_file, in OpenFromVdex() [all …]
|
D | oat_file_manager.cc | 556 std::unique_ptr<VdexFile> vdex_file = nullptr; in OpenDexFilesFromOat_Impl() 558 vdex_file = VdexFile::Open(vdex_path, in OpenDexFilesFromOat_Impl() 768 if (!VdexFile::WriteToDisk(vdex_path_, in Run()
|
/art/dex2oat/linker/ |
D | oat_writer.h | 50 class VdexFile; variable 153 const VdexFile& vdex_file,
|
D | oat_writer.cc | 444 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, const char* location) { in AddVdexDexFilesSource() 530 size_vdex_header_ = sizeof(VdexFile::VdexFileHeader) + in WriteAndOpenDexFiles() 531 VdexSection::kNumberOfSections * sizeof(VdexFile::VdexSectionHeader); in WriteAndOpenDexFiles() 532 size_vdex_checksums_ = oat_dex_files_.size() * sizeof(VdexFile::VdexChecksum); in WriteAndOpenDexFiles() 3720 off_t checksums_offset = VdexFile::GetChecksumsOffset(); in FinishVdexFile() 3721 VdexFile::VdexChecksum* checksums_data = in FinishVdexFile() 3722 reinterpret_cast<VdexFile::VdexChecksum*>(vdex_begin + checksums_offset); in FinishVdexFile() 3729 uint8_t* ptr = vdex_begin + sizeof(VdexFile::VdexFileHeader); in FinishVdexFile() 3732 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kChecksumSection, in FinishVdexFile() 3735 ptr += sizeof(VdexFile::VdexSectionHeader); in FinishVdexFile() [all …]
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 77 class VdexFile; variable
|
/art/oatdump/ |
D | oatdump.cc | 596 VdexFile::VdexFileHeader vdex_header = oat_file_.GetVdexFile()->GetVdexFileHeader(); in Dump() 639 std::unique_ptr<const VdexFile> vdex_file = OpenVdex(vdex_filename, in Dump() 786 std::unique_ptr<const VdexFile> OpenVdex(const std::string& vdex_filename, in OpenVdex() 815 std::unique_ptr<VdexFile> vdex_file(new VdexFile(std::move(mmap))); in OpenVdex()
|