Home
last modified time | relevance | path

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

12

/art/dex2oat/linker/
Doat_writer_test.cc132 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/
Dcompact_dex_file.cc54 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()
Dcompact_dex_file.h268 const Header& GetHeader() const { in GetHeader() function
269 return down_cast<const Header&>(DexFile::GetHeader()); in GetHeader()
Ddex_file_loader_test.cc278 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()
Ddex_file_verifier.h53 header_(&dex_file->GetHeader()), in DexFileVerifier()
Ddex_file_tracking_registrar.cc257 size_t map_offset = dex_file_->GetHeader().map_off_; in SetAllStringDataRegistration()
/art/dexlayout/
Ddex_ir_builder.cc35 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()
Ddexlayout.h119 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() function
/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()
Dsuperblock_cloner.cc85 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()
Dfind_loops_test.cc108 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock()
316 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges()[0])); in TEST_F()
Dinduction_var_analysis.cc32 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()
Dcha_guard_optimization.cc209 suspend->GetEnvironment(), loop_info->GetHeader()); in HoistGuard()
Dbounds_check_elimination.cc1248 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()
Dinduction_var_range.h140 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in ReVisit()
Dregister_allocator.cc289 HBasicBlock* header = it.Current()->GetHeader(); in SplitBetween()
/art/runtime/
Delf_file.cc176 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", &section_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 …]
Delf_file_impl.h76 Elf_Ehdr& GetHeader() const;
Dcommon_runtime_test.h140 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
/art/dexdump/
Ddexdump.cc556 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/
Ddex_cache_arrays_layout-inl.h52 : DexCacheArraysLayout(pointer_size, dex_file->GetHeader(), dex_file->NumCallSiteIds()) { in DexCacheArraysLayout()
/art/dexlist/
Ddexlist.cc201 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
/art/runtime/verifier/
Dmethod_verifier.cc1205 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/
Dhiddenapi.cc343 DexFile::Header* header = const_cast<DexFile::Header*>(&dex_file->GetHeader()); in UpdateDexChecksums()

12