Home
last modified time | relevance | path

Searched refs:GetHeader (Results 1 – 25 of 36) sorted by relevance

12

/art/runtime/
Dvdex_file.h103 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()
Delf_file.cc177 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", &section_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 …]
Ddex_file_test.cc276 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()
Ddex_file_verifier.h52 header_(&dex_file->GetHeader()), in DexFileVerifier()
Delf_file_impl.h80 Elf_Ehdr& GetHeader() const;
/art/compiler/
Doat_test.cc137 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 …]
Dimage_test.cc255 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in Compile()
256 dex_file->GetHeader().file_size_); in Compile()
/art/compiler/optimizing/
Dlicm.cc53 bool is_loop_header_phi = IsPhiOf(input, info->GetHeader()); in InputsAreDefinedBeforeLoop()
71 if (input != nullptr && IsPhiOf(input, info->GetHeader())) { in UpdateLoopPhisIn()
Dside_effects_analysis.cc84 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
Dfind_loops_test.cc118 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock()
342 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges()[0])); in TEST_F()
Dbounds_check_elimination.cc1168 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()
Dcha_guard_optimization.cc209 suspend->GetEnvironment(), loop_info->GetHeader()); in HoistGuard()
Dinduction_var_range.h140 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in ReVisit()
Dregister_allocator.cc270 HBasicBlock* header = it.Current()->GetHeader(); in SplitBetween()
Dgraph_visualizer.cc606 StartAttributeStream("loop") << "B" << loop_info->GetHeader()->GetBlockId(); in PrintInstruction()
609 StartAttributeStream("outer_loop") << "B" << outer->GetHeader()->GetBlockId(); in PrintInstruction()
Dloop_optimization.cc365 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()
Dinduction_var_analysis.cc32 const HInstructionList& phis = loop->GetHeader()->GetPhis(); in RotateEntryPhiFirst()
751 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl()
898 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount()
Dgraph_checker.cc628 back_edge->GetLoopInformation()->GetHeader()->GetBlockId())); in HandleLoop()
640 outer_info->GetHeader()->GetBlockId())); in HandleLoop()
Dinduction_var_range.cc188 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/
Ddex_ir_builder.cc30 const DexFile::Header& disk_header = dex_file.GetHeader(); in DexIrBuilder()
84 const DexFile::Header& disk_header = dex_file.GetHeader(); in CheckAndSetRemainingOffsets()
Ddexlayout.h81 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() function
/art/dexdump/
Ddexdump.cc552 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/
Ddex_cache_arrays_layout-inl.h51 : DexCacheArraysLayout(pointer_size, dex_file->GetHeader(), dex_file->NumCallSiteIds()) { in DexCacheArraysLayout()
/art/dexlist/
Ddexlist.cc194 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
/art/runtime/verifier/
Dmethod_verifier.cc1277 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 …]

12