/art/dex2oat/linker/ |
D | oat_writer_test.cc | 132 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in WriteElf() 133 dex_file->GetHeader().file_size_); in WriteElf() 576 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail() 593 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() 594 dex_file1_data->GetHeader().file_size_); in TestDexFileInput() 608 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 609 dex_file2_data->GetHeader().file_size_); in TestDexFileInput() 657 dex_file1_data->GetHeader().checksum_); in TestDexFileInput() 659 dex_file2_data->GetHeader().checksum_); in TestDexFileInput() 661 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 | 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_loader_test.cc | 278 const DexFile::Header& header = dex_file->GetHeader(); in ValidateDexFileHeader() 322 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 331 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
|
D | dex_file_verifier.h | 53 header_(&dex_file->GetHeader()), in DexFileVerifier()
|
D | dex_file_tracking_registrar.cc | 257 size_t map_offset = dex_file_->GetHeader().map_off_; in SetAllStringDataRegistration()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 35 const DexFile::Header& disk_header = dex_file.GetHeader(); in DexIrBuilder() 100 dex_file.DataBegin() + dex_file.GetHeader().link_off_, in DexIrBuilder() 101 dex_file.DataBegin() + dex_file.GetHeader().link_off_ + dex_file.GetHeader().link_size_)); in DexIrBuilder() 109 const DexFile::Header& disk_header = dex_file.GetHeader(); in CheckAndSetRemainingOffsets()
|
D | dexlayout.h | 119 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() function
|
/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 | 84 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
|
D | superblock_cloner.cc | 85 HBasicBlock* block = CommonDominator::ForPair(loop1->GetHeader(), loop2->GetHeader()); in FindCommonLoop() 287 block_entry = outer_loop_->GetHeader(); in RecalculateBackEdgesInfo() 311 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo()
|
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() 892 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl() 1046 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount() 1137 HIf* ifs = loop->GetHeader()->GetLastInstruction()->AsIf(); in RewriteBreakLoop() 1152 body->GetSingleSuccessor() != loop->GetHeader() || in RewriteBreakLoop() 1183 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 | 1248 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet() 1585 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop() 1656 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop() 1663 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop() 1687 HBasicBlock* header = loop->GetHeader(); in GetPreHeader() 1716 suspend->GetEnvironment(), loop->GetHeader()); in InsertDeoptInLoop() 1778 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded() 1784 HBasicBlock* header = loop->GetHeader(); in TransformLoopForDeoptimizationIfNeeded()
|
D | induction_var_range.h | 140 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in ReVisit()
|
D | register_allocator.cc | 289 HBasicBlock* header = it.Current()->GetHeader(); in SplitBetween()
|
/art/runtime/ |
D | elf_file.cc | 176 program_headers_start_ = Begin() + GetHeader().e_phoff; in Setup() 178 if (!CheckAndSet(GetHeader().e_phoff, "program headers", &program_headers_start_, error_msg)) { in Setup() 183 if (!CheckAndSet(GetHeader().e_shoff, "section headers", §ion_headers_start_, error_msg)) { in Setup() 408 int64_t offset = static_cast<int64_t>(GetHeader().e_shoff + in CheckSectionsExist() 409 (GetHeader().e_shstrndx * GetHeader().e_shentsize)); in CheckSectionsExist() 556 typename ElfTypes::Ehdr& ElfFileImpl<ElfTypes>::GetHeader() const { in GetHeader() function in art::ElfFileImpl 681 return GetHeader().e_phnum; in GetProgramHeaderNum() 687 uint8_t* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader() 707 return GetHeader().e_shnum; in GetSectionHeaderNum() 718 uint8_t* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader() [all …]
|
D | elf_file_impl.h | 76 Elf_Ehdr& GetHeader() const;
|
D | common_runtime_test.h | 140 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
|
/art/dexdump/ |
D | dexdump.cc | 556 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader() 841 if (index < pDexFile->GetHeader().type_ids_size_) { in indexString() 849 if (index < pDexFile->GetHeader().string_ids_size_) { in indexString() 857 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 869 if (index < pDexFile->GetHeader().field_ids_size_) { in indexString() 890 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 900 if (secondary_index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 918 if (index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 1835 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile() 1850 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processDexFile()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 52 : DexCacheArraysLayout(pointer_size, dex_file->GetHeader(), dex_file->NumCallSiteIds()) { in DexCacheArraysLayout()
|
/art/dexlist/ |
D | dexlist.cc | 201 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1205 if (UNLIKELY(idx >= dex_file_->GetHeader().field_ids_size_)) { in CheckFieldIndex() 1207 << dex_file_->GetHeader().field_ids_size_ << ")"; in CheckFieldIndex() 1214 if (UNLIKELY(idx >= dex_file_->GetHeader().method_ids_size_)) { in CheckMethodIndex() 1216 << dex_file_->GetHeader().method_ids_size_ << ")"; in CheckMethodIndex() 1233 if (UNLIKELY(idx.index_ >= dex_file_->GetHeader().type_ids_size_)) { in CheckNewInstance() 1235 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckNewInstance() 1252 if (UNLIKELY(idx >= dex_file_->GetHeader().proto_ids_size_)) { in CheckPrototypeIndex() 1254 << dex_file_->GetHeader().proto_ids_size_ << ")"; in CheckPrototypeIndex() 1261 if (UNLIKELY(idx >= dex_file_->GetHeader().string_ids_size_)) { in CheckStringIndex() 1263 << dex_file_->GetHeader().string_ids_size_ << ")"; in CheckStringIndex() [all …]
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 343 DexFile::Header* header = const_cast<DexFile::Header*>(&dex_file->GetHeader()); in UpdateDexChecksums()
|