/art/runtime/ |
D | vdex_file.cc | 45 constexpr uint8_t VdexFile::VerifierDepsHeader::kVdexInvalidMagic[4]; 46 constexpr uint8_t VdexFile::VerifierDepsHeader::kVdexMagic[4]; 47 constexpr uint8_t VdexFile::VerifierDepsHeader::kVerifierDepsVersion[4]; 48 constexpr uint8_t VdexFile::VerifierDepsHeader::kDexSectionVersion[4]; 49 constexpr uint8_t VdexFile::VerifierDepsHeader::kDexSectionVersionEmpty[4]; 51 bool VdexFile::VerifierDepsHeader::IsMagicValid() const { in IsMagicValid() 55 bool VdexFile::VerifierDepsHeader::IsVerifierDepsVersionValid() const { in IsVerifierDepsVersionValid() 59 bool VdexFile::VerifierDepsHeader::IsDexSectionVersionValid() const { in IsDexSectionVersionValid() 64 bool VdexFile::VerifierDepsHeader::HasDexSection() const { in HasDexSection() 68 VdexFile::VerifierDepsHeader::VerifierDepsHeader(uint32_t number_of_dex_files, in VerifierDepsHeader() [all …]
|
D | vdex_file_test.cc | 34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F() 43 vdex = VdexFile::Open( in TEST_F()
|
D | vdex_file.h | 64 class VdexFile { 159 friend class VdexFile; // For updating quickening_info_size_. member 179 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() function 183 static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr, 194 static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr, 206 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, in Open() 222 static std::unique_ptr<VdexFile> Open(int file_fd, in Open() 387 DISALLOW_COPY_AND_ASSIGN(VdexFile);
|
D | oat_file.h | 52 class VdexFile; variable 81 VdexFile* vdex_file, 131 std::unique_ptr<VdexFile>&& vdex_file, 364 VdexFile* GetVdexFile() const { in GetVdexFile() 383 std::unique_ptr<VdexFile> vdex_;
|
D | oat_file_assistant.cc | 323 bool OatFileAssistant::DexChecksumUpToDate(const VdexFile& file, std::string* error_msg) { in DexChecksumUpToDate() 403 VdexFile* vdex = file.GetVdexFile(); in GivenOatFileStatus() 767 std::unique_ptr<VdexFile> vdex; in Status() 775 vdex = VdexFile::Open(vdex_fd_, in Status() 785 vdex = VdexFile::Open(vdex_filename, in Status()
|
D | oat_file_assistant.h | 384 bool DexChecksumUpToDate(const VdexFile& file, std::string* error_msg);
|
D | oat_file.cc | 180 void SetVdex(VdexFile* vdex) { in SetVdex() 273 vdex_ = VdexFile::OpenAtAddress(vdex_begin_, in LoadVdex() 301 vdex_ = VdexFile::OpenAtAddress(vdex_begin_, in LoadVdex() 1238 VdexFile* vdex_file, 1323 VdexFile* vdex_file, in InitializeFromElfFile() 1414 std::unique_ptr<VdexFile>&& vdex_file, in Open() 1422 std::unique_ptr<VdexFile>&& vdex_file) { in Initialize() 1572 VdexFile* vdex_file, in OpenWithElfFile() 1711 std::unique_ptr<VdexFile>&& vdex_file, in OpenFromVdex()
|
D | oat_file_manager.cc | 732 std::unique_ptr<VdexFile> vdex_file = nullptr; in OpenDexFilesFromOat_Impl() 734 vdex_file = VdexFile::Open(vdex_path, in OpenDexFilesFromOat_Impl() 950 if (!VdexFile::WriteToDisk(vdex_path_, in Run()
|
/art/openjdkjvmti/ |
D | fixed_up_dex_file.cc | 54 static const art::VdexFile* GetVdex(const art::DexFile& original_dex_file) { in GetVdex() 68 const art::VdexFile* vdex = GetVdex(original_dex_file); in DoDexUnquicken()
|
/art/dex2oat/linker/ |
D | oat_writer.h | 51 class VdexFile; variable 164 const VdexFile& vdex_file,
|
D | oat_writer.cc | 575 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, in AddVdexDexFilesSource() 681 vdex_size_ = sizeof(VdexFile::VerifierDepsHeader) + in WriteAndOpenDexFiles() 682 oat_dex_files_.size() * sizeof(VdexFile::VdexChecksum); in WriteAndOpenDexFiles() 2584 sizeof(VdexFile::QuickeningTableOffsetType); in WriteQuickeningInfo() 3197 vdex_size_ += sizeof(VdexFile::DexSectionHeader); in WriteDexFiles() 3368 start_offset += sizeof(VdexFile::QuickeningTableOffsetType); in SeekToDexFile() 3370 size_dex_file_alignment_ += sizeof(VdexFile::QuickeningTableOffsetType); in SeekToDexFile() 3928 off_t checksums_offset = sizeof(VdexFile::VerifierDepsHeader); in WriteChecksumsAndVdexHeader() 3939 &oat_dex_file->dex_file_location_checksum_, sizeof(VdexFile::VdexChecksum))) { in WriteChecksumsAndVdexHeader() 3944 size_vdex_checksums_ += sizeof(VdexFile::VdexChecksum); in WriteChecksumsAndVdexHeader() [all …]
|
D | oat_writer_test.cc | 642 const VdexFile::DexSectionHeader &vdex_header = in TestDexFileInput()
|
/art/dexlayout/ |
D | dexdiag.cc | 330 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_name, in DisplayMappingIfFromVdexFile()
|
/art/dex2oat/ |
D | dex2oat.cc | 1275 input_vdex_file_ = VdexFile::Open(input_vdex_, in OpenFile() 1325 input_vdex_file_ = VdexFile::Open(input_vdex_fd_, in OpenFile() 1370 if (!vdex_out->WriteFully(&VdexFile::VerifierDepsHeader::kVdexInvalidMagic, in OpenFile() 1371 arraysize(VdexFile::VerifierDepsHeader::kVdexInvalidMagic))) { in OpenFile() 1399 std::unique_ptr<ZipEntry> zip_entry(dm_file_->Find(VdexFile::kVdexNameInDmFile, &error_msg)); in OpenFile() 1401 LOG(INFO) << "No " << VdexFile::kVdexNameInDmFile << " file in DexMetadata archive. " in OpenFile() 1405 VdexFile::kVdexNameInDmFile, in OpenFile() 1408 alignof(VdexFile)); in OpenFile() 1412 input_vdex_file_ = std::make_unique<VdexFile>(std::move(input_file)); in OpenFile() 2760 std::unique_ptr<VdexFile> input_vdex_file_;
|
D | dex2oat_test.cc | 1899 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location.c_str(), in TEST_F() 1938 writer.StartEntry(VdexFile::kVdexNameInDmFile, ZipWriter::kCompress); in TEST_F() 2037 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location2.c_str(), in TEST_F()
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 79 class VdexFile; variable
|
/art/oatdump/ |
D | oatdump.cc | 556 VdexFile::VerifierDepsHeader vdex_header = oat_file_.GetVdexFile()->GetVerifierDepsHeader(); 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() 777 std::unique_ptr<VdexFile> vdex_file(new VdexFile(std::move(mmap))); in OpenVdexUnquicken()
|