Home
last modified time | relevance | path

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

123

/art/dex2oat/linker/
Doat_writer_test.cc114 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in WriteElf()
115 dex_file->GetHeader().file_size_); in WriteElf()
546 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail()
563 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput()
564 dex_file1_data->GetHeader().file_size_); in TestDexFileInput()
578 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput()
579 dex_file2_data->GetHeader().file_size_); in TestDexFileInput()
626 dex_file1_data->GetHeader().checksum_); in TestDexFileInput()
628 dex_file2_data->GetHeader().checksum_); in TestDexFileInput()
630 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()
Ddex_file_loader_test.cc282 const DexFile::Header& header = dex_file->GetHeader(); in ValidateDexFileHeader()
326 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
335 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
Dcompact_dex_file.h268 const Header& GetHeader() const { in GetHeader() function
269 return down_cast<const Header&>(DexFile::GetHeader()); in GetHeader()
Ddex_file_tracking_registrar.cc231 size_t map_offset = dex_file_->GetHeader().map_off_; in SetAllStringDataRegistration()
Ddex_file_verifier.h55 header_(&dex_file->GetHeader()), in DexFileVerifier()
/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.cc85 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
Dsuperblock_cloner_test.cc257 EXPECT_EQ(loop_info->GetHeader(), header); in TEST_F()
339 EXPECT_EQ(new_loop_info->GetHeader(), header); in TEST_F()
398 EXPECT_EQ(loop_info->GetHeader(), new_header); in TEST_F()
451 EXPECT_EQ(loop1_header->GetLoopInformation()->GetHeader(), loop1_header); in CheckLoopStructureForLoopPeelingNested()
452 EXPECT_EQ(loop2_header->GetLoopInformation()->GetHeader(), loop2_header); in CheckLoopStructureForLoopPeelingNested()
453 EXPECT_EQ(loop3_header->GetLoopInformation()->GetHeader(), loop3_header); in CheckLoopStructureForLoopPeelingNested()
456 EXPECT_EQ(loop3_header->GetLoopInformation()->GetPreHeader()->GetLoopInformation()->GetHeader(), in CheckLoopStructureForLoopPeelingNested()
Dsuperblock_cloner.cc300 block_entry = outer_loop_->GetHeader(); in RecalculateBackEdgesInfo()
324 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo()
664 std::cout << "\tloop: " << bb->GetLoopInformation()->GetHeader()->GetBlockId(); in DumpBB()
1030 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll()
1101 HBasicBlock* loop_header = loop_info_->GetHeader(); in DoPeelUnrollImpl()
1137 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in PeelUnrollSimpleHelper()
1139 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in PeelUnrollSimpleHelper()
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()
893 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl()
1047 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount()
1138 HIf* ifs = loop->GetHeader()->GetLastInstruction()->AsIf(); in RewriteBreakLoop()
1153 body->GetSingleSuccessor() != loop->GetHeader() || in RewriteBreakLoop()
1184 loop->GetHeader()->ReplaceAndRemoveInstructionWith(cond, rep); in RewriteBreakLoop()
Dcha_guard_optimization.cc209 suspend->GetEnvironment(), loop_info->GetHeader()); in HoistGuard()
Dbounds_check_elimination.cc1250 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet()
1587 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop()
1658 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop()
1665 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop()
1689 HBasicBlock* header = loop->GetHeader(); in GetPreHeader()
1718 suspend->GetEnvironment(), loop->GetHeader()); in InsertDeoptInLoop()
1780 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded()
1786 HBasicBlock* header = loop->GetHeader(); in TransformLoopForDeoptimizationIfNeeded()
/art/runtime/
Delf_file.cc171 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", &section_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
675 return GetHeader().e_phnum; in GetProgramHeaderNum()
681 uint8_t* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader()
699 return GetHeader().e_shnum; in GetSectionHeaderNum()
710 uint8_t* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader()
[all …]
Dcommon_runtime_test.h84 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
Delf_file_impl.h74 Elf_Ehdr& GetHeader() const;
/art/tools/hiddenapi/
Dhiddenapi.cc266 DexFile::Header* header = const_cast<DexFile::Header*>(&dex_file->GetHeader()); in UpdateDexChecksums()
745 loaded_dex_header_ = const_cast<DexFile::Header*>(&loaded_dex_->GetHeader()); in ReloadDex()
749 DexFile::Header& GetHeader() const { in GetHeader() function in art::hiddenapi::DexFileEditor
774 DexFile::Header& header = GetHeader(); in UpdateDataSize()
814 CHECK_EQ(old_item.offset_, GetHeader().map_off_); in CreateMapListWithNewItem()
824 GetHeader().map_off_ = new_map_offset; in CreateMapListWithNewItem()
846 GetHeader().checksum_ = loaded_dex_->CalculateChecksum(); in UpdateChecksum()
/art/dexdump/
Ddexdump.cc554 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader()
812 if (index < pDexFile->GetHeader().type_ids_size_) { in indexString()
820 if (index < pDexFile->GetHeader().string_ids_size_) { in indexString()
828 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString()
840 if (index < pDexFile->GetHeader().field_ids_size_) { in indexString()
861 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString()
871 if (secondary_index < pDexFile->GetHeader().proto_ids_size_) { in indexString()
889 if (index < pDexFile->GetHeader().proto_ids_size_) { in indexString()
1810 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile()
1825 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processDexFile()
/art/dexlayout/
Ddexlayout.h121 dex_ir::Header* GetHeader() const { return header_; } in GetHeader() function
/art/dexlist/
Ddexlist.cc189 const u4 classDefsSize = pDexFile->GetHeader().class_defs_size_; in processFile()
/art/runtime/utils/
Ddex_cache_arrays_layout-inl.h52 : DexCacheArraysLayout(pointer_size, dex_file->GetHeader(), dex_file->NumCallSiteIds()) { in DexCacheArraysLayout()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc89 dex_headers.push_back(&dex_file->GetHeader()); in Java_Main_hasVdexFile()
/art/libelffile/elf/
Delf_debug_reader.h91 const Elf_Ehdr* GetHeader() { return header_; } in GetHeader() function
/art/libartbase/base/
Dcommon_art_test.h150 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()

123