/art/dex2oat/linker/ |
D | oat_writer_test.cc | 285 dex_file_data->GetHeader().checksum_); in CheckOatWriteResult() 287 ASSERT_EQ(dex_file_data->GetHeader().file_size_, opened_dex_file->GetHeader().file_size_); in CheckOatWriteResult() 288 ASSERT_EQ(0, memcmp(&dex_file_data->GetHeader(), in CheckOatWriteResult() 289 &opened_dex_file->GetHeader(), in CheckOatWriteResult() 290 dex_file_data->GetHeader().file_size_)); in CheckOatWriteResult() 577 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail() 596 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() 597 dex_file1_data->GetHeader().file_size_); in TestDexFileInput() 613 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 614 dex_file2_data->GetHeader().file_size_); in TestDexFileInput() [all …]
|
/art/libdexfile/dex/ |
D | compact_dex_file.cc | 51 return (GetHeader().GetFeatureFlags() & in SupportsDefaultMethods() 95 debug_info_offsets_(DataBegin() + GetHeader().debug_info_offsets_pos_, in CompactDexFile() 96 GetHeader().debug_info_base_, in CompactDexFile() 97 GetHeader().debug_info_offsets_table_offset_) {} in CompactDexFile()
|
D | dex_file_loader_test.cc | 420 const DexFile::Header& header = dex_file->GetHeader(); in ValidateDexFileHeader() 464 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 473 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 482 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 491 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 514 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
|
D | compact_dex_file.h | 289 const Header& GetHeader() const { in GetHeader() function 290 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.h | 285 const Header& GetHeader() const { in GetHeader() function 292 return GetHeader().GetVersion(); in GetDexVersion() 297 bool HasDexContainer() const { return GetHeader().HasDexContainer(); } in HasDexContainer()
|
D | dex_file_loader.cc | 424 size_t file_size = dex_files->back()->GetHeader().file_size_; in Open() 580 size_t file_size = dex_files->back()->GetHeader().file_size_; in OpenFromZipEntry()
|
/art/runtime/ |
D | dex2oat_environment_test.h | 132 ASSERT_EQ(multi1[0]->GetHeader().checksum_, multi2[0]->GetHeader().checksum_); in SetUp() 133 ASSERT_NE(multi1[1]->GetHeader().checksum_, multi2[1]->GetHeader().checksum_); in SetUp()
|
/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 | superblock_cloner_test.cc | 262 EXPECT_EQ(loop_info->GetHeader(), header); in TEST_F() 321 EXPECT_EQ(new_loop_info->GetHeader(), header); in TEST_F() 358 EXPECT_EQ(loop_info->GetHeader(), new_header); in TEST_F() 400 EXPECT_EQ(loop_info->GetHeader(), header); in TEST_F() 401 EXPECT_EQ(second_loop_info->GetHeader(), second_header); in TEST_F() 458 EXPECT_EQ(loop1_header->GetLoopInformation()->GetHeader(), loop1_header); in CheckLoopStructureForLoopPeelingNested() 459 EXPECT_EQ(loop2_header->GetLoopInformation()->GetHeader(), loop2_header); in CheckLoopStructureForLoopPeelingNested() 460 EXPECT_EQ(loop3_header->GetLoopInformation()->GetHeader(), loop3_header); in CheckLoopStructureForLoopPeelingNested() 463 EXPECT_EQ(loop3_header->GetLoopInformation()->GetPreHeader()->GetLoopInformation()->GetHeader(), in CheckLoopStructureForLoopPeelingNested()
|
D | side_effects_analysis.cc | 85 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
|
D | superblock_cloner.cc | 332 block_entry = outer_loop_->GetHeader(); in RecalculateBackEdgesInfo() 356 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo() 703 oss << "\tloop: " << bb->GetLoopInformation()->GetHeader()->GetBlockId(); in DumpBB() 1082 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll() 1153 HBasicBlock* loop_header = loop_info_->GetHeader(); in DoLoopTransformationImpl() 1205 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in LoopClonerSimpleHelper() 1207 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in LoopClonerSimpleHelper()
|
D | find_loops_test.cc | 109 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock() 317 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges()[0])); in TEST_F()
|
D | loop_optimization.cc | 468 HBasicBlock* header = loop_info->GetHeader(); in HasLoopDiamondStructure() 768 HBasicBlock* header = loop_info->GetHeader(); in TryToRemoveSuspendCheckFromLoopHeader() 784 HBasicBlock* header = node->loop_info->GetHeader(); in SimplifyInduction() 886 HBasicBlock* header = node->loop_info->GetHeader(); in TryOptimizeInnerLoopFinite() 977 HBasicBlock* header = node->loop_info->GetHeader(); in TryVectorizedTraditional() 1019 helper.GetBasicBlockMap()->Get(loop_info->GetHeader())->GetLastInstruction()->AsIf(); in TryUnrollingForBranchPenaltyReduction() 1086 HIf* loop_hif = loop_info->GetHeader()->GetLastInstruction()->AsIf(); in TryFullUnrolling() 1267 HBasicBlock* header = node->loop_info->GetHeader(); in ShouldVectorizeCommon() 1288 HBasicBlock* header = node->loop_info->GetHeader(); in VectorizePredicated() 1376 HBasicBlock* header = node->loop_info->GetHeader(); in VectorizeTraditional() [all …]
|
D | cha_guard_optimization.cc | 210 suspend->GetEnvironment(), loop_info->GetHeader()); in HoistGuard()
|
D | induction_var_analysis.cc | 81 HBasicBlock* entry = loop->GetHeader(); in IsGuardedBy() 116 if (use.GetUser()->GetBlock() == loop->GetHeader() && in FindFirstLoopHeaderPhiUse() 173 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in RewriteBreakLoopBody() 376 DCHECK(block->GetLoopInformation()->GetHeader() == block); in ExtractScc() 999 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl() 1157 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount() 1255 HIf* ifs = loop->GetHeader()->GetLastInstruction()->AsIf(); in RewriteBreakLoop() 1271 body->GetSingleSuccessor() != loop->GetHeader() || in RewriteBreakLoop() 1302 loop->GetHeader()->ReplaceAndRemoveInstructionWith(cond, rep); in RewriteBreakLoop()
|
D | bounds_check_elimination.cc | 1364 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet() 1710 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop() 1781 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop() 1788 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop() 1812 HBasicBlock* header = loop->GetHeader(); in GetPreHeader() 1842 suspend->GetEnvironment(), loop->GetHeader()); in InsertDeoptInLoop() 1904 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded() 1910 HBasicBlock* header = loop->GetHeader(); in TransformLoopForDeoptimizationIfNeeded()
|
D | superblock_cloner.h | 390 cloner_(info->GetHeader()->GetGraph(), &info->GetBlocks(), bb_map, hir_map, induction_range) { in LoopClonerHelper()
|
/art/runtime/oat/ |
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 674 return GetHeader().e_phnum; in GetProgramHeaderNum() 680 uint8_t* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader() 698 return GetHeader().e_shnum; in GetSectionHeaderNum() 709 uint8_t* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader() [all …]
|
D | elf_file_impl.h | 79 Elf_Ehdr& GetHeader() const;
|
/art/dexdump/ |
D | dexdump.cc | 654 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader() 912 if (index < pDexFile->GetHeader().type_ids_size_) { in indexString() 920 if (index < pDexFile->GetHeader().string_ids_size_) { in indexString() 934 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 946 if (index < pDexFile->GetHeader().field_ids_size_) { in indexString() 967 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 977 if (secondary_index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 995 if (index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 1923 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpStrings() 1949 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_.data() + 4); in processDexFile() [all …]
|
/art/dexlist/ |
D | dexlist.cc | 188 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 54 InstructionSet isa = ElfBuilder<ElfTypes>::GetIsaFromHeader(*reader.GetHeader()); in WriteMinidebugInfo()
|
/art/libelffile/elf/ |
D | elf_debug_reader.h | 101 const Elf_Ehdr* GetHeader() { return header_; } in GetHeader() function
|
/art/runtime/verifier/ |
D | method_verifier.cc | 323 if (UNLIKELY(idx >= dex_file_->GetHeader().field_ids_size_)) { in CheckFieldIndex() 325 << dex_file_->GetHeader().field_ids_size_ << ")"; in CheckFieldIndex() 334 if (UNLIKELY(idx >= dex_file_->GetHeader().method_ids_size_)) { in CheckMethodIndex() 336 << dex_file_->GetHeader().method_ids_size_ << ")"; in CheckMethodIndex() 361 if (UNLIKELY(idx >= dex_file_->GetHeader().proto_ids_size_)) { in CheckPrototypeIndex() 363 << dex_file_->GetHeader().proto_ids_size_ << ")"; in CheckPrototypeIndex() 371 if (UNLIKELY(idx >= dex_file_->GetHeader().string_ids_size_)) { in CheckStringIndex() 373 << dex_file_->GetHeader().string_ids_size_ << ")"; in CheckStringIndex() 382 if (UNLIKELY(idx.index_ >= dex_file_->GetHeader().type_ids_size_)) { in CheckTypeIndex() 384 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckTypeIndex() [all …]
|