Home
last modified time | relevance | path

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

/art/compiler/
Delf_stripper.cc127 elf_file->GetHeader().e_shnum = section_headers.size(); in Strip()
128 elf_file->GetHeader().e_shoff = shoff; in Strip()
Delf_fixup.cc72 if (IsDynamicSectionPointer(d_tag, elf_file.GetHeader().e_machine)) { in FixupDynamic()
Doat_writer.cc777 offset += dex_file->GetHeader().file_size_; in InitDexFiles()
990 if (!out->WriteFully(&dex_file->GetHeader(), dex_file->GetHeader().file_size_)) { in WriteTables()
995 size_dex_file_ += dex_file->GetHeader().file_size_; in WriteTables()
/art/runtime/
Delf_file.cc209 program_headers_start_ = Begin() + GetHeader().e_phoff; in Setup()
211 if (!CheckAndSet(GetHeader().e_phoff, "program headers", &program_headers_start_, error_msg)) { in Setup()
216 if (!CheckAndSet(GetHeader().e_shoff, "section headers", &section_headers_start_, error_msg)) { in Setup()
440 int64_t offset = static_cast<int64_t>(GetHeader().e_shoff + in CheckSectionsExist()
441 (GetHeader().e_shstrndx * GetHeader().e_shentsize)); in CheckSectionsExist()
586 Elf32_Ehdr& ElfFile::GetHeader() const { in GetHeader() function in art::ElfFile
699 return GetHeader().e_phnum; in GetProgramHeaderNum()
704 byte* program_header = GetProgramHeadersStart() + (i * GetHeader().e_phentsize); in GetProgramHeader()
722 return GetHeader().e_shnum; in GetSectionHeaderNum()
732 byte* section_header = GetSectionHeadersStart() + (i * GetHeader().e_shentsize); in GetSectionHeader()
[all …]
Ddex_file_verifier.h39 header_(&dex_file->GetHeader()), ptr_(NULL), previous_item_(NULL) { in DexFileVerifier()
Delf_file.h70 Elf32_Ehdr& GetHeader() const;
Ddex_file_test.cc172 const DexFile::Header& header = raw->GetHeader(); in TEST_F()
201 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F()
Ddex_file.cc114 *checksum = dex_file->GetHeader().checksum_; in GetChecksum()
418 const char* version = reinterpret_cast<const char*>(&GetHeader().magic_[sizeof(kDexMagic)]); in GetVersion()
986 dex_file.GetHeader().checksum_, dex_file.GetLocationChecksum(), in operator <<()
Ddex_file.h437 const Header& GetHeader() const { in GetHeader() function
/art/compiler/optimizing/
Dfind_loops_test.cc121 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock()
339 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges().Get(0))); in TEST()
Dnodes.h197 HBasicBlock* GetHeader() const { in GetHeader() function
284 DCHECK_EQ(loop_information_->GetHeader(), this); in AddBackEdge()
359 return (loop_information_ != nullptr) && (loop_information_->GetHeader() == this); in IsLoopHeader()
373 } else if (loop_information_->Contains(*info->GetHeader())) { in SetInLoop()
/art/runtime/verifier/
Dmethod_verifier.cc801 if (idx >= dex_file_->GetHeader().field_ids_size_) { in CheckFieldIndex()
803 << dex_file_->GetHeader().field_ids_size_ << ")"; in CheckFieldIndex()
810 if (idx >= dex_file_->GetHeader().method_ids_size_) { in CheckMethodIndex()
812 << dex_file_->GetHeader().method_ids_size_ << ")"; in CheckMethodIndex()
819 if (idx >= dex_file_->GetHeader().type_ids_size_) { in CheckNewInstance()
821 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckNewInstance()
834 if (idx >= dex_file_->GetHeader().string_ids_size_) { in CheckStringIndex()
836 << dex_file_->GetHeader().string_ids_size_ << ")"; in CheckStringIndex()
843 if (idx >= dex_file_->GetHeader().type_ids_size_) { in CheckTypeIndex()
845 << dex_file_->GetHeader().type_ids_size_ << ")"; in CheckTypeIndex()
[all …]
/art/patchoat/
Dpatchoat.cc694 if (IsDynamicSectionPointer(dyn.d_tag, oat_file_->GetHeader().e_machine)) { in PatchElf()
/art/dex2oat/
Ddex2oat.cc828 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
/art/oatdump/
Doatdump.cc317 offsets_.insert(reinterpret_cast<uintptr_t>(&dex_file->GetHeader())); in AddAllOffsets()