/art/runtime/ |
D | vdex_file.h | 103 const Header& GetHeader() const { in GetHeader() function 109 DexBegin() + GetHeader().GetDexSize(), GetHeader().GetVerifierDepsSize()); in GetVerifierDepsData() 114 GetVerifierDepsData().data() + GetHeader().GetVerifierDepsSize(), in GetQuickeningInfo() 115 GetHeader().GetQuickeningInfoSize()); in GetQuickeningInfo() 119 return mmap_->Size() >= sizeof(Header) && GetHeader().IsValid(); in IsValid() 130 DCHECK_LT(dex_file_index, GetHeader().GetNumberOfDexFiles()); in GetLocationChecksum() 146 return GetHeader().GetDexSize() != 0; in HasDexSection() 154 return DexBegin() + GetHeader().GetDexSize(); in DexEnd() 158 return sizeof(VdexChecksum) * GetHeader().GetNumberOfDexFiles(); in GetSizeOfChecksumsSection()
|
D | elf_file.cc | 177 program_headers_start_ = Begin() + GetHeader().e_phoff; in Setup() 179 if (!CheckAndSet(GetHeader().e_phoff, "program headers", &program_headers_start_, error_msg)) { in Setup() 184 if (!CheckAndSet(GetHeader().e_shoff, "section headers", §ion_headers_start_, error_msg)) { in Setup() 409 int64_t offset = static_cast<int64_t>(GetHeader().e_shoff + in CheckSectionsExist() 410 (GetHeader().e_shstrndx * GetHeader().e_shentsize)); in CheckSectionsExist() 557 typename ElfTypes::Ehdr& ElfFileImpl<ElfTypes>::GetHeader() const { in GetHeader() function in art::ElfFileImpl 682 return GetHeader().e_phnum; in GetProgramHeaderNum() 688 uint8_t* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader() 708 return GetHeader().e_shnum; in GetSectionHeaderNum() 719 uint8_t* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader() [all …]
|
D | dex_file_test.cc | 276 const DexFile::Header& header = dex_file->GetHeader(); in ValidateDexFileHeader() 320 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 351 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F()
|
D | dex_file_verifier.h | 52 header_(&dex_file->GetHeader()), in DexFileVerifier()
|
D | elf_file_impl.h | 80 Elf_Ehdr& GetHeader() const;
|
/art/compiler/ |
D | oat_test.cc | 137 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in WriteElf() 138 dex_file->GetHeader().file_size_); in WriteElf() 566 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail() 583 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() 584 dex_file1_data->GetHeader().file_size_); in TestDexFileInput() 598 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 599 dex_file2_data->GetHeader().file_size_); in TestDexFileInput() 645 ASSERT_EQ(dex_file1_data->GetHeader().file_size_, opened_dex_file1->GetHeader().file_size_); in TestDexFileInput() 646 ASSERT_EQ(0, memcmp(&dex_file1_data->GetHeader(), in TestDexFileInput() 647 &opened_dex_file1->GetHeader(), in TestDexFileInput() [all …]
|
D | image_test.cc | 255 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in Compile() 256 dex_file->GetHeader().file_size_); in Compile()
|
/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 | find_loops_test.cc | 118 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock() 342 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges()[0])); in TEST_F()
|
D | bounds_check_elimination.cc | 1168 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet() 1501 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop() 1572 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop() 1579 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop() 1603 HBasicBlock* header = loop->GetHeader(); in GetPreHeader() 1632 suspend->GetEnvironment(), loop->GetHeader()); in InsertDeoptInLoop() 1691 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded() 1697 HBasicBlock* header = loop->GetHeader(); in TransformLoopForDeoptimizationIfNeeded()
|
D | cha_guard_optimization.cc | 209 suspend->GetEnvironment(), loop_info->GetHeader()); in HoistGuard()
|
D | induction_var_range.h | 140 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in ReVisit()
|
D | register_allocator.cc | 270 HBasicBlock* header = it.Current()->GetHeader(); in SplitBetween()
|
D | graph_visualizer.cc | 606 StartAttributeStream("loop") << "B" << loop_info->GetHeader()->GetBlockId(); in PrintInstruction() 609 StartAttributeStream("outer_loop") << "B" << outer->GetHeader()->GetBlockId(); in PrintInstruction()
|
D | loop_optimization.cc | 365 HBasicBlock* header = node->loop_info->GetHeader(); in SimplifyInduction() 428 HBasicBlock* header = node->loop_info->GetHeader(); in OptimizeInnerLoop() 578 HBasicBlock* header = node->loop_info->GetHeader(); in Vectorize()
|
D | induction_var_analysis.cc | 32 const HInstructionList& phis = loop->GetHeader()->GetPhis(); in RotateEntryPhiFirst() 751 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl() 898 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount()
|
D | graph_checker.cc | 628 back_edge->GetLoopInformation()->GetHeader()->GetBlockId())); in HandleLoop() 640 outer_info->GetHeader()->GetBlockId())); in HandleLoop()
|
D | induction_var_range.cc | 188 return loop->GetHeader()->GetLastInstruction(); in GetLoopControl() 227 bool in_body = context->GetBlock() != loop->GetHeader(); in GetInductionRange() 976 bool in_body = context->GetBlock() != loop->GetHeader(); in GenerateRangeOrLastValue()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 30 const DexFile::Header& disk_header = dex_file.GetHeader(); in DexIrBuilder() 84 const DexFile::Header& disk_header = dex_file.GetHeader(); in CheckAndSetRemainingOffsets()
|
D | dexlayout.h | 81 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() function
|
/art/dexdump/ |
D | dexdump.cc | 552 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader() 837 if (index < pDexFile->GetHeader().type_ids_size_) { in indexString() 845 if (index < pDexFile->GetHeader().string_ids_size_) { in indexString() 853 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 865 if (index < pDexFile->GetHeader().field_ids_size_) { in indexString() 886 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString() 896 if (secondary_index < pDexFile->GetHeader().proto_ids_size_) { in indexString() 1791 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile() 1806 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processDexFile()
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 51 : DexCacheArraysLayout(pointer_size, dex_file->GetHeader(), dex_file->NumCallSiteIds()) { in DexCacheArraysLayout()
|
/art/dexlist/ |
D | dexlist.cc | 194 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1277 if (idx >= dex_file_->GetHeader().field_ids_size_) { in CheckFieldIndex() 1279 << dex_file_->GetHeader().field_ids_size_ << ")"; in CheckFieldIndex() 1286 if (idx >= dex_file_->GetHeader().method_ids_size_) { in CheckMethodIndex() 1288 << dex_file_->GetHeader().method_ids_size_ << ")"; in CheckMethodIndex() 1295 if (idx.index_ >= dex_file_->GetHeader().type_ids_size_) { in CheckNewInstance() 1297 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckNewInstance() 1314 if (idx >= dex_file_->GetHeader().proto_ids_size_) { in CheckPrototypeIndex() 1316 << dex_file_->GetHeader().proto_ids_size_ << ")"; in CheckPrototypeIndex() 1323 if (idx >= dex_file_->GetHeader().string_ids_size_) { in CheckStringIndex() 1325 << dex_file_->GetHeader().string_ids_size_ << ")"; in CheckStringIndex() [all …]
|