/art/dexlayout/ |
D | dex_visualize.h | 33 class Header; variable 36 void VisualizeDexLayout(dex_ir::Header* header, 41 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index);
|
D | dex_writer.h | 31 DexWriter(dex_ir::Header* header, MemMap* mem_map) : header_(header), mem_map_(mem_map) { } in DexWriter() 33 static void Output(dex_ir::Header* header, MemMap* mem_map); 67 dex_ir::Header* const header_;
|
D | dexlayout.h | 75 dex_ir::Header* 82 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() 83 void SetHeader(dex_ir::Header* header) { header_ = header; } in SetHeader() 134 dex_ir::Header* header_;
|
D | dex_ir_builder.cc | 29 Header* DexIrBuilder(const DexFile& dex_file) { in DexIrBuilder() 30 const DexFile::Header& disk_header = dex_file.GetHeader(); in DexIrBuilder() 31 Header* header = new Header(disk_header.magic_, in DexIrBuilder() 84 const DexFile::Header& disk_header = dex_file.GetHeader(); in CheckAndSetRemainingOffsets()
|
D | dex_ir_builder.h | 27 dex_ir::Header* DexIrBuilder(const DexFile& dex_file);
|
D | dex_visualize.cc | 47 explicit Dumper(dex_ir::Header* header) in Dumper() 247 void VisualizeDexLayout(dex_ir::Header* header, in VisualizeDexLayout() 306 static uint32_t FindNextByteAfterSection(dex_ir::Header* header, in FindNextByteAfterSection() 321 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index) { in ShowDexSectionStatistics()
|
D | dex_verify.h | 29 bool VerifyOutputDexFile(dex_ir::Header* orig_header, 30 dex_ir::Header* output_header,
|
D | dex_ir.h | 49 class Header; variable 80 virtual void Dispatch(Header* header) = 0; 389 class Header : public Item { 391 Header(const uint8_t* magic, in Header() function 413 ~Header() OVERRIDE { } in ~Header() 457 DISALLOW_COPY_AND_ASSIGN(Header); 813 MethodItem* GenerateMethodItem(Header& header, ClassDataItemIterator& cdii); 1223 std::vector<DexFileSection> GetSortedDexFileSections(dex_ir::Header* header,
|
D | dexdiag.cc | 292 std::unique_ptr<dex_ir::Header> header(dex_ir::DexIrBuilder(*dex_file)); in ProcessOneDexMapping()
|
D | dex_verify.cc | 31 bool VerifyOutputDexFile(dex_ir::Header* orig_header, in VerifyOutputDexFile() 32 dex_ir::Header* output_header, in VerifyOutputDexFile()
|
/art/runtime/ |
D | vdex_file.h | 53 struct Header { struct 55 Header(uint32_t number_of_dex_files_, 110 const Header& GetHeader() const { in GetHeader() 111 return *reinterpret_cast<const Header*>(Begin()); in GetHeader() 126 return mmap_->Size() >= sizeof(Header) && GetHeader().IsValid(); in IsValid() 138 return reinterpret_cast<const uint32_t*>(Begin() + sizeof(Header))[dex_file_index]; in GetLocationChecksum() 165 return Begin() + sizeof(Header) + GetSizeOfChecksumsSection(); in DexBegin()
|
D | vdex_file.cc | 32 constexpr uint8_t VdexFile::Header::kVdexInvalidMagic[4]; 33 constexpr uint8_t VdexFile::Header::kVdexMagic[4]; 34 constexpr uint8_t VdexFile::Header::kVdexVersion[4]; 36 bool VdexFile::Header::IsMagicValid() const { in IsMagicValid() 40 bool VdexFile::Header::IsVersionValid() const { in IsVersionValid() 44 VdexFile::Header::Header(uint32_t number_of_dex_files, in Header() function in art::VdexFile::Header 123 reinterpret_cast<Header*>(vdex->mmap_->Begin())->quickening_info_size_ = 0; in Open() 137 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData() 151 size_t size = reinterpret_cast<const DexFile::Header*>(dex_file_start)->file_size_; in OpenAllDexFiles()
|
D | dex_file_verifier_test.cc | 39 size_t offset = OFFSETOF_MEMBER(DexFile::Header, magic_) + 6; in MakeDexVersion37() 45 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); in FixUpChecksum() 48 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum() 1345 DexFile::Header* header = const_cast<DexFile::Header*>( in TEST_F() 1346 reinterpret_cast<const DexFile::Header*>(dex_file->Begin())); in TEST_F() 1655 DexFile::Header* header = reinterpret_cast<DexFile::Header*>( in TEST_F()
|
D | oat_file.cc | 285 const DexFile::Header* header = in FindDexFileMapItem() 286 BoundsCheckedCast<const DexFile::Header*>(dex_begin, dex_begin, dex_end); in FindDexFileMapItem() 443 if (UNLIKELY(DexSize() - dex_file_offset < sizeof(DexFile::Header))) { in Setup() 451 sizeof(DexFile::Header)); in Setup() 474 const DexFile::Header* header = reinterpret_cast<const DexFile::Header*>(dex_file_pointer); in Setup() 606 reinterpret_cast<const DexFile::Header*>(dex_file_pointer)->method_ids_size_); in Setup() 1394 const DexFile::Header* dex_header = reinterpret_cast<const DexFile::Header*>(dex_file_pointer_); in OatDexFile() 1410 return reinterpret_cast<const DexFile::Header*>(dex_file_pointer_)->file_size_; in FileSize()
|
D | dex_file.cc | 74 const uint32_t non_sum = OFFSETOF_MEMBER(DexFile::Header, signature_); in CalculateChecksum() 192 if (map->Size() < sizeof(DexFile::Header)) { in Open() 309 if (map->Size() < sizeof(DexFile::Header)) { in OpenFile() 316 const Header* dex_header = reinterpret_cast<const Header*>(map->Begin()); in OpenFile() 354 if (!zip_entry->IsAlignedTo(alignof(Header))) { in OpenOneDexFileFromZip() 358 << "please zipalign to " << alignof(Header) << " bytes. " in OpenOneDexFileFromZip() 533 header_(reinterpret_cast<const Header*>(base)), in DexFile() 550 CHECK_ALIGNED(begin_, alignof(Header)); in DexFile() 634 uint32_t DexFile::Header::GetVersion() const { in GetVersion()
|
D | dex_file_test.cc | 278 const DexFile::Header& header = dex_file->GetHeader(); in ValidateDexFileHeader() 304 TEST_F(DexFileTest, Header) { in TEST_F() argument 322 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
|
D | dex_file_verifier.h | 206 const DexFile::Header* const header_;
|
D | dex_file.h | 72 struct Header { struct 101 DISALLOW_COPY_AND_ASSIGN(Header); argument 524 const Header& GetHeader() const { in GetHeader() 1199 const Header* const header_;
|
D | dex_file_verifier.cc | 115 const DexFile::Header* header, in FindMethodName() 388 if (header_->header_size_ != sizeof(DexFile::Header)) { in CheckHeader() 2881 const DexFile::Header* const header, in GetStringOrError() 2903 const DexFile::Header* const header, in GetClassOrError() 2920 const DexFile::Header* const header, in GetFieldDescriptionOrError() 2937 const DexFile::Header* const header, in GetMethodDescriptionOrError()
|
/art/compiler/utils/ |
D | test_dex_file_builder.h | 85 uint8_t data[sizeof(DexFile::Header)]; in Build() 89 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(&header_data.data); in Build() 92 header->header_size_ = sizeof(DexFile::Header); in Build() 101 uint32_t string_ids_offset = sizeof(DexFile::Header); in Build() 219 std::memcpy(&dex_file_data_[0], header_data.data, sizeof(DexFile::Header)); in Build() 228 std::memcpy(&dex_file_data_[0], header_data.data, sizeof(DexFile::Header)); in Build()
|
/art/runtime/openjdkjvmti/ |
D | fixed_up_dex_file.cc | 44 reinterpret_cast<art::DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = in RecomputeDexChecksum()
|
D | ti_class.cc | 100 if (map->Size() < sizeof(art::DexFile::Header)) { in MakeSingleDexFile() 107 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map->Begin())->checksum_; in MakeSingleDexFile()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout.h | 46 const DexFile::Header& header,
|
D | dex_cache_arrays_layout-inl.h | 32 const DexFile::Header& header, in DexCacheArraysLayout()
|
/art/compiler/ |
D | oat_writer.cc | 68 typedef DexFile::Header __attribute__((aligned(1))) UnalignedDexFileHeader; 494 if (data.size() < sizeof(DexFile::Header)) { in AddRawDexFileSource() 551 vdex_size_ = sizeof(VdexFile::Header) + oat_dex_files_.size() * sizeof(VdexFile::VdexChecksum); in WriteAndOpenDexFiles() 2635 uint8_t raw_header[sizeof(DexFile::Header)]; in ReadDexFileHeader() 2636 if (!file->ReadFully(&raw_header, sizeof(DexFile::Header))) { in ReadDexFileHeader() 2662 if (header->file_size_ < sizeof(DexFile::Header)) { in ValidateDexFileHeader() 2867 if (extracted_size < sizeof(DexFile::Header)) { in WriteDexFile() 3244 off_t actual_offset = vdex_out->Seek(sizeof(VdexFile::Header), kSeekSet); in WriteChecksumsAndVdexHeader() 3245 if (actual_offset != sizeof(VdexFile::Header)) { in WriteChecksumsAndVdexHeader() 3277 VdexFile::Header vdex_header(oat_dex_files_.size(), in WriteChecksumsAndVdexHeader() [all …]
|