Lines Matching refs:VdexFile
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()
165 alignof(VdexFile)); in OpenFromDm()
170 std::unique_ptr<VdexFile> vdex_file = std::make_unique<VdexFile>(std::move(input_file)); in OpenFromDm()
183 const uint8_t* VdexFile::GetNextDexFileData(const uint8_t* cursor, uint32_t dex_file_index) const { in GetNextDexFileData()
199 const uint8_t* VdexFile::GetNextTypeLookupTableData(const uint8_t* cursor, in GetNextTypeLookupTableData()
215 bool VdexFile::OpenAllDexFiles(std::vector<std::unique_ptr<const DexFile>>* dex_files, in OpenAllDexFiles()
257 bool VdexFile::WriteToDisk(const std::string& path, in WriteToDisk()
275 VdexFile::VdexFileHeader vdex_header(/* has_dex_section= */ false); in WriteToDisk()
276 VdexFile::VdexSectionHeader sections[static_cast<uint32_t>(VdexSection::kNumberOfSections)]; in WriteToDisk()
282 sizeof(VdexFile::VdexChecksum) * dex_files.size(); in WriteToDisk()
330 static_assert(sizeof(*checksum_ptr) == sizeof(VdexFile::VdexChecksum)); in WriteToDisk()
332 sizeof(VdexFile::VdexChecksum))) { in WriteToDisk()
370 bool VdexFile::MatchesDexFileChecksums(const std::vector<const DexFile::Header*>& dex_headers) in MatchesDexFileChecksums()
387 bool VdexFile::HasOnlyStandardDexFiles() const { in HasOnlyStandardDexFiles()
444 ClassStatus VdexFile::ComputeClassStatus(Thread* self, Handle<mirror::Class> cls) const { in ComputeClassStatus()