Home
last modified time | relevance | path

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

123

/art/dex2oat/linker/
Doat_writer_test.cc115 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in WriteElf()
116 dex_file->GetHeader().file_size_); in WriteElf()
286 dex_file_data->GetHeader().checksum_); in CheckOatWriteResult()
288 ASSERT_EQ(dex_file_data->GetHeader().file_size_, opened_dex_file->GetHeader().file_size_); in CheckOatWriteResult()
289 ASSERT_EQ(0, memcmp(&dex_file_data->GetHeader(), in CheckOatWriteResult()
290 &opened_dex_file->GetHeader(), in CheckOatWriteResult()
291 dex_file_data->GetHeader().file_size_)); in CheckOatWriteResult()
587 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail()
606 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput()
607 dex_file1_data->GetHeader().file_size_); in TestDexFileInput()
[all …]
Dimage_test.h250 reinterpret_cast<const uint8_t*>(&dex_file->GetHeader()), in DoCompile()
251 dex_file->GetHeader().file_size_); in DoCompile()
/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()
344 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()
/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()
Dsuperblock_cloner_test.cc261 EXPECT_EQ(loop_info->GetHeader(), header); in TEST_F()
320 EXPECT_EQ(new_loop_info->GetHeader(), header); in TEST_F()
357 EXPECT_EQ(loop_info->GetHeader(), new_header); in TEST_F()
399 EXPECT_EQ(loop_info->GetHeader(), header); in TEST_F()
400 EXPECT_EQ(second_loop_info->GetHeader(), second_header); in TEST_F()
457 EXPECT_EQ(loop1_header->GetLoopInformation()->GetHeader(), loop1_header); in CheckLoopStructureForLoopPeelingNested()
458 EXPECT_EQ(loop2_header->GetLoopInformation()->GetHeader(), loop2_header); in CheckLoopStructureForLoopPeelingNested()
459 EXPECT_EQ(loop3_header->GetLoopInformation()->GetHeader(), loop3_header); in CheckLoopStructureForLoopPeelingNested()
462 EXPECT_EQ(loop3_header->GetLoopInformation()->GetPreHeader()->GetLoopInformation()->GetHeader(), in CheckLoopStructureForLoopPeelingNested()
Dside_effects_analysis.cc85 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
Dsuperblock_cloner.cc334 block_entry = outer_loop_->GetHeader(); in RecalculateBackEdgesInfo()
358 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo()
705 oss << "\tloop: " << bb->GetLoopInformation()->GetHeader()->GetBlockId(); in DumpBB()
1075 HBasicBlock* loop_header = loop_info->GetHeader(); in CollectRemappingInfoForPeelUnroll()
1146 HBasicBlock* loop_header = loop_info_->GetHeader(); in DoLoopTransformationImpl()
1201 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in LoopClonerSimpleHelper()
1203 info->GetHeader()->GetGraph()->GetAllocator()->Adapter(kArenaAllocSuperblockCloner)), in LoopClonerSimpleHelper()
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.cc1351 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet()
1688 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop()
1759 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop()
1766 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop()
1790 HBasicBlock* header = loop->GetHeader(); in GetPreHeader()
1819 suspend->GetEnvironment(), loop->GetHeader()); in InsertDeoptInLoop()
1881 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded()
1887 HBasicBlock* header = loop->GetHeader(); in TransformLoopForDeoptimizationIfNeeded()
Dregister_allocator.cc278 HBasicBlock* header = it.Current()->GetHeader(); in SplitBetween()
Dinduction_var_range.h140 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in ReVisit()
/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
674 return GetHeader().e_phnum; in GetProgramHeaderNum()
680 uint8_t* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader()
698 return GetHeader().e_shnum; in GetSectionHeaderNum()
709 uint8_t* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader()
[all …]
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.cc593 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader()
851 if (index < pDexFile->GetHeader().type_ids_size_) { in indexString()
859 if (index < pDexFile->GetHeader().string_ids_size_) { in indexString()
867 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString()
879 if (index < pDexFile->GetHeader().field_ids_size_) { in indexString()
900 if (index < pDexFile->GetHeader().method_ids_size_) { in indexString()
910 if (secondary_index < pDexFile->GetHeader().proto_ids_size_) { in indexString()
928 if (index < pDexFile->GetHeader().proto_ids_size_) { in indexString()
1852 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile()
1867 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

123