/art/runtime/ |
D | vdex_file.cc | 52 constexpr uint8_t VdexFile::VdexFileHeader::kVdexInvalidMagic[4]; 53 constexpr uint8_t VdexFile::VdexFileHeader::kVdexMagic[4]; 54 constexpr uint8_t VdexFile::VdexFileHeader::kVdexVersion[4]; 56 bool VdexFile::VdexFileHeader::IsMagicValid() const { in IsMagicValid() 60 bool VdexFile::VdexFileHeader::IsVdexVersionValid() const { in IsVdexVersionValid() 64 VdexFile::VdexFileHeader::VdexFileHeader(bool has_dex_section ATTRIBUTE_UNUSED) in VdexFileHeader() 72 std::unique_ptr<VdexFile> VdexFile::OpenAtAddress(uint8_t* mmap_addr, in OpenAtAddress() 114 std::unique_ptr<VdexFile> VdexFile::OpenAtAddress(uint8_t* mmap_addr, in OpenAtAddress() 148 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress() 157 std::unique_ptr<VdexFile> VdexFile::OpenFromDm(const std::string& filename, in OpenFromDm() [all …]
|
D | vdex_file_test.cc | 34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F() 42 vdex = VdexFile::Open( in TEST_F()
|
D | vdex_file.h | 88 class VdexFile { 187 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() function 191 static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr, 201 static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr, 212 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, in Open() 226 static std::unique_ptr<VdexFile> Open(int file_fd, in Open() 243 static std::unique_ptr<VdexFile> OpenFromDm(const std::string& filename, 323 DISALLOW_COPY_AND_ASSIGN(VdexFile);
|
D | oat_file.h | 50 class VdexFile; variable 164 std::unique_ptr<VdexFile>&& vdex_file, 170 std::unique_ptr<VdexFile>&& vdex_file, 370 VdexFile* GetVdexFile() const { in GetVdexFile() 407 std::unique_ptr<VdexFile> vdex_;
|
D | oat_file_assistant.cc | 348 bool OatFileAssistant::DexChecksumUpToDate(const VdexFile& file, std::string* error_msg) { in DexChecksumUpToDate() 430 VdexFile* vdex = file.GetVdexFile(); in GivenOatFileStatus() 854 std::unique_ptr<VdexFile> vdex; in GetFile() 862 vdex = VdexFile::Open(vdex_fd_, in GetFile() 871 vdex = VdexFile::Open(filename_, in GetFile() 889 std::unique_ptr<VdexFile> vdex(VdexFile::OpenFromDm(filename_, *dm_file)); in GetFile()
|
D | oat_file.cc | 188 void SetVdex(VdexFile* vdex) { in SetVdex() 283 vdex_ = VdexFile::OpenAtAddress(vdex_begin_, in LoadVdex() 310 vdex_ = VdexFile::OpenAtAddress( in LoadVdex() 465 const VdexFile* vdex_file, in ComputeAndCheckTypeLookupTableData() 1551 VdexFile* vdex_file, 1602 VdexFile* vdex_file, in InitializeFromElfFile() 1693 std::unique_ptr<VdexFile>&& vdex_file, in Open() 1709 std::unique_ptr<VdexFile>&& unique_vdex_file, in Open() 1712 VdexFile* vdex_file = unique_vdex_file.get(); in Open() 1983 std::unique_ptr<VdexFile>&& vdex_file, in OpenFromVdex() [all …]
|
D | oat_file_manager.cc | 347 VdexFile* vdex_file = oat_file->GetVdexFile(); in OpenDexFilesFromOat() 495 std::unique_ptr<VdexFile> vdex_file = nullptr; in OpenDexFilesFromOat_Impl() 497 vdex_file = VdexFile::Open(vdex_path, in OpenDexFilesFromOat_Impl() 708 if (!VdexFile::WriteToDisk(vdex_path_, in Run()
|
D | oat_file_assistant.h | 393 bool DexChecksumUpToDate(const VdexFile& file, std::string* error_msg);
|
/art/dex2oat/ |
D | dex2oat_vdex_test.cc | 73 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location.c_str(), in GetVerifierDeps() 83 VdexFile::VdexFileHeader vdex_header = vdex->GetVdexFileHeader(); in GetVerifierDeps() 154 std::vector<std::unique_ptr<VdexFile>> opened_vdex_files_;
|
D | dex2oat.cc | 1254 input_vdex_file_ = VdexFile::Open(input_vdex_, in OpenFile() 1303 input_vdex_file_ = VdexFile::Open(input_vdex_fd_, in OpenFile() 1360 input_vdex_file_ = VdexFile::OpenFromDm(dm_file_location_, *dm_file_); in OpenFile() 2925 std::unique_ptr<VdexFile> input_vdex_file_;
|
D | dex2oat_test.cc | 1842 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location.c_str(), in TEST_F() 1879 writer.StartEntry(VdexFile::kVdexNameInDmFile, ZipWriter::kCompress); in TEST_F()
|
/art/dexlayout/ |
D | dexdiag.cc | 330 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_name, in DisplayMappingIfFromVdexFile()
|
/art/dex2oat/linker/ |
D | oat_writer.h | 51 class VdexFile; variable 153 const VdexFile& vdex_file,
|
D | oat_writer.cc | 605 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, const char* location) { in AddVdexDexFilesSource() 695 size_vdex_header_ = sizeof(VdexFile::VdexFileHeader) + in WriteAndOpenDexFiles() 696 VdexSection::kNumberOfSections * sizeof(VdexFile::VdexSectionHeader); in WriteAndOpenDexFiles() 697 size_vdex_checksums_ = oat_dex_files_.size() * sizeof(VdexFile::VdexChecksum); in WriteAndOpenDexFiles() 3971 off_t checksums_offset = VdexFile::GetChecksumsOffset(); in FinishVdexFile() 3972 VdexFile::VdexChecksum* checksums_data = in FinishVdexFile() 3973 reinterpret_cast<VdexFile::VdexChecksum*>(vdex_begin + checksums_offset); in FinishVdexFile() 3980 uint8_t* ptr = vdex_begin + sizeof(VdexFile::VdexFileHeader); in FinishVdexFile() 3983 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kChecksumSection, in FinishVdexFile() 3986 ptr += sizeof(VdexFile::VdexSectionHeader); in FinishVdexFile() [all …]
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 77 class VdexFile; variable
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 421 const VdexFile* vdex_file = oat_file->GetVdexFile(); in ValidateBcp()
|
/art/oatdump/ |
D | oatdump.cc | 578 VdexFile::VdexFileHeader vdex_header = oat_file_.GetVdexFile()->GetVdexFileHeader(); in Dump() 621 std::unique_ptr<const VdexFile> vdex_file = OpenVdex(vdex_filename, in Dump() 772 std::unique_ptr<const VdexFile> OpenVdex(const std::string& vdex_filename, in OpenVdex() 801 std::unique_ptr<VdexFile> vdex_file(new VdexFile(std::move(mmap))); in OpenVdex()
|