Home
last modified time | relevance | path

Searched refs:VdexFile (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dvdex_file.cc51 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 …]
Dvdex_file_test.cc33 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
41 vdex = VdexFile::Open( in TEST_F()
Dvdex_file.h87 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);
Druntime_image.cc1094 VdexFile* vdex_file = oat_dex_file->GetOatFile()->GetVdexFile(); in WriteObjects()
/art/dex2oat/
Ddex2oat_vdex_test.cc71 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_;
Ddex2oat_test.cc1432 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()
Ddex2oat.cc1268 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/
Doat_file.h54 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_;
Doat_file_assistant.cc1062 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()
Doat_file.cc190 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 …]
Doat_file_manager.cc556 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/
Doat_writer.h50 class VdexFile; variable
153 const VdexFile& vdex_file,
Doat_writer.cc444 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/
Dcompiler_driver.h77 class VdexFile; variable
/art/oatdump/
Doatdump.cc596 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()