/art/dex2oat/linker/ |
D | oat_writer_test.cc | 114 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in WriteElf() 115 dex_file->GetHeader().file_size_); in WriteElf() 546 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail() 563 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() 564 dex_file1_data->GetHeader().file_size_); in TestDexFileInput() 578 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 579 dex_file2_data->GetHeader().file_size_); in TestDexFileInput() 626 dex_file1_data->GetHeader().checksum_); in TestDexFileInput() 628 dex_file2_data->GetHeader().checksum_); in TestDexFileInput() 630 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_); in TestDexFileInput() [all …]
|
/art/libdexfile/dex/ |
D | compact_dex_file.cc | 54 return (GetHeader().GetFeatureFlags() & in SupportsDefaultMethods() 104 debug_info_offsets_(DataBegin() + GetHeader().debug_info_offsets_pos_, in CompactDexFile() 105 GetHeader().debug_info_base_, in CompactDexFile() 106 GetHeader().debug_info_offsets_table_offset_) {} in CompactDexFile()
|
D | dex_file_loader_test.cc | 282 const DexFile::Header& header = dex_file->GetHeader(); in ValidateDexFileHeader() 326 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 335 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
|
D | compact_dex_file.h | 268 const Header& GetHeader() const { in GetHeader() function 269 return down_cast<const Header&>(DexFile::GetHeader()); in GetHeader()
|
D | dex_file_tracking_registrar.cc | 231 size_t map_offset = dex_file_->GetHeader().map_off_; in SetAllStringDataRegistration()
|
D | dex_file_verifier.h | 55 header_(&dex_file->GetHeader()), in DexFileVerifier()
|
/art/compiler/optimizing/ |
D | licm.cc | 53 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader()); in InputsAreDefinedBeforeLoop() 71 if (input != nullptr && IsPhiOf(input, info->GetHeader())) { in UpdateLoopPhisIn()
|
D | side_effects_analysis.cc | 85 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
|
D | superblock_cloner_test.cc | 257 EXPECT_EQ(loop_info->GetHeader(), header); in TEST_F() 339 EXPECT_EQ(new_loop_info->GetHeader(), header); in TEST_F() 398 EXPECT_EQ(loop_info->GetHeader(), new_header); in TEST_F() 451 EXPECT_EQ(loop1_header->GetLoopInformation()->GetHeader(), loop1_header); in CheckLoopStructureForLoopPeelingNested() 452 EXPECT_EQ(loop2_header->GetLoopInformation()->GetHeader(), loop2_header); in CheckLoopStructureForLoopPeelingNested() 453 EXPECT_EQ(loop3_header->GetLoopInformation()->GetHeader(), loop3_header); in CheckLoopStructureForLoopPeelingNested() 456 EXPECT_EQ(loop3_header->GetLoopInformation()->GetPreHeader()->GetLoopInformation()->GetHeader(), in CheckLoopStructureForLoopPeelingNested()
|
D | superblock_cloner.cc | 300 block_entry = outer_loop_->GetHeader(); in RecalculateBackEdgesInfo() 324 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo() 664 std::cout << "\tloop: " << bb->GetLoopInformation()->GetHeader()->GetBlockId(); in DumpBB() 1030 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll() 1101 HBasicBlock* loop_header = loop_info_->GetHeader(); in DoPeelUnrollImpl() 1137 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in PeelUnrollSimpleHelper() 1139 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in PeelUnrollSimpleHelper()
|
D | find_loops_test.cc | 108 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock() 316 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges()[0])); in TEST_F()
|
D | induction_var_analysis.cc | 32 const HInstructionList& phis = loop->GetHeader()->GetPhis(); in RotateEntryPhiFirst() 113 HBasicBlock* entry = loop->GetHeader(); in IsGuardedBy() 148 if (use.GetUser()->GetBlock() == loop->GetHeader() && in FindFirstLoopHeaderPhiUse() 207 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in RewriteBreakLoopBody() 893 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl() 1047 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount() 1138 HIf* ifs = loop->GetHeader()->GetLastInstruction()->AsIf(); in RewriteBreakLoop() 1153 body->GetSingleSuccessor() != loop->GetHeader() || in RewriteBreakLoop() 1184 loop->GetHeader()->ReplaceAndRemoveInstructionWith(cond, rep); in RewriteBreakLoop()
|
D | cha_guard_optimization.cc | 209 suspend->GetEnvironment(), loop_info->GetHeader()); in HoistGuard()
|
D | bounds_check_elimination.cc | 1250 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet() 1587 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop() 1658 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop() 1665 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop() 1689 HBasicBlock* header = loop->GetHeader(); in GetPreHeader() 1718 suspend->GetEnvironment(), loop->GetHeader()); in InsertDeoptInLoop() 1780 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded() 1786 HBasicBlock* header = loop->GetHeader(); in TransformLoopForDeoptimizationIfNeeded()
|
/art/runtime/ |
D | elf_file.cc | 171 program_headers_start_ = Begin() + GetHeader().e_phoff; in Setup() 173 if (!CheckAndSet(GetHeader().e_phoff, "program headers", &program_headers_start_, error_msg)) { in Setup() 178 if (!CheckAndSet(GetHeader().e_shoff, "section headers", §ion_headers_start_, error_msg)) { in Setup() 402 int64_t offset = static_cast<int64_t>(GetHeader().e_shoff + in CheckSectionsExist() 403 (GetHeader().e_shstrndx * GetHeader().e_shentsize)); in CheckSectionsExist() 550 typename ElfTypes::Ehdr& ElfFileImpl<ElfTypes>::GetHeader() const { in GetHeader() function in art::ElfFileImpl 675 return GetHeader().e_phnum; in GetProgramHeaderNum() 681 uint8_t* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader() 699 return GetHeader().e_shnum; in GetSectionHeaderNum() 710 uint8_t* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader() [all …]
|
D | common_runtime_test.h | 84 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
|
D | elf_file_impl.h | 74 Elf_Ehdr& GetHeader() const;
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 266 DexFile::Header* header = const_cast<DexFile::Header*>(&dex_file->GetHeader()); in UpdateDexChecksums() 745 loaded_dex_header_ = const_cast<DexFile::Header*>(&loaded_dex_->GetHeader()); in ReloadDex() 749 DexFile::Header& GetHeader() const { in GetHeader() function in art::hiddenapi::DexFileEditor 774 DexFile::Header& header = GetHeader(); in UpdateDataSize() 814 CHECK_EQ(old_item.offset_, GetHeader().map_off_); in CreateMapListWithNewItem() 824 GetHeader().map_off_ = new_map_offset; in CreateMapListWithNewItem() 846 GetHeader().checksum_ = loaded_dex_->CalculateChecksum(); in UpdateChecksum()
|
/art/dexdump/ |
D | dexdump.cc | 554 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader() 812 if (index < pDexFile->GetHeader().type_ids_size_) { in indexString() 820 if (index < pDexFile->GetHeader().string_ids_size_) { in indexString() 828 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 840 if (index < pDexFile->GetHeader().field_ids_size_) { in indexString() 861 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 871 if (secondary_index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 889 if (index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 1810 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile() 1825 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processDexFile()
|
/art/dexlayout/ |
D | dexlayout.h | 121 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() function
|
/art/dexlist/ |
D | dexlist.cc | 189 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 52 : DexCacheArraysLayout(pointer_size, dex_file->GetHeader(), dex_file->NumCallSiteIds()) { in DexCacheArraysLayout()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 89 dex_headers.push_back(&dex_file->GetHeader()); in Java_Main_hasVdexFile()
|
/art/libelffile/elf/ |
D | elf_debug_reader.h | 91 const Elf_Ehdr* GetHeader() { return header_; } in GetHeader() function
|
/art/libartbase/base/ |
D | common_art_test.h | 150 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
|