Home
last modified time | relevance | path

Searched refs:Header (Results 1 – 9 of 9) sorted by relevance

/art/runtime/
Ddex_file_verifier_test.cc161 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); in FixUpChecksum()
164 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
Ddex_file_verifier.h118 const DexFile::Header* const header_;
Ddex_file_test.cc168 TEST_F(DexFileTest, Header) { in TEST_F() argument
173 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
Ddex_file.h78 struct Header { struct
104 DISALLOW_COPY_AND_ASSIGN(Header); argument
454 const Header& GetHeader() const { in GetHeader()
1000 const Header* const header_;
Doat_file.cc473 const DexFile::Header* header = reinterpret_cast<const DexFile::Header*>(dex_file_pointer); in Setup()
616 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
Ddex_file.cc235 if (map->Size() < sizeof(DexFile::Header)) { in OpenFile()
241 const Header* dex_header = reinterpret_cast<const Header*>(map->Begin()); in OpenFile()
405 header_(reinterpret_cast<const Header*>(base)), in DexFile()
Ddex_file_verifier.cc267 if (header_->header_size_ != sizeof(DexFile::Header)) { in CheckHeader()
/art/compiler/utils/
Dtest_dex_file_builder.h84 uint8_t data[sizeof(DexFile::Header)]; in Build()
88 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(&header_data.data); in Build()
99 uint32_t string_ids_offset = sizeof(DexFile::Header); in Build()
164 std::memcpy(&dex_file_data_[0], header_data.data, sizeof(DexFile::Header)); in Build()
/art/oatdump/
Doatdump.cc645 if (fsize == 0 || fsize < sizeof(DexFile::Header)) { in ExportDexFile()