Searched refs:GetHeader (Results 1 – 15 of 15) sorted by relevance
/art/compiler/ |
D | elf_stripper.cc | 127 elf_file->GetHeader().e_shnum = section_headers.size(); in Strip() 128 elf_file->GetHeader().e_shoff = shoff; in Strip()
|
D | elf_fixup.cc | 72 if (IsDynamicSectionPointer(d_tag, elf_file.GetHeader().e_machine)) { in FixupDynamic()
|
D | oat_writer.cc | 777 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/ |
D | elf_file.cc | 209 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", §ion_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 …]
|
D | dex_file_verifier.h | 39 header_(&dex_file->GetHeader()), ptr_(NULL), previous_item_(NULL) { in DexFileVerifier()
|
D | elf_file.h | 70 Elf32_Ehdr& GetHeader() const;
|
D | dex_file_test.cc | 172 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 201 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F()
|
D | dex_file.cc | 114 *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 <<()
|
D | dex_file.h | 437 const Header& GetHeader() const { in GetHeader() function
|
/art/compiler/optimizing/ |
D | find_loops_test.cc | 121 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock() 339 ASSERT_FALSE(info->GetHeader()->Dominates(info->GetBackEdges().Get(0))); in TEST()
|
D | nodes.h | 197 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/ |
D | method_verifier.cc | 801 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/ |
D | patchoat.cc | 694 if (IsDynamicSectionPointer(dyn.d_tag, oat_file_->GetHeader().e_machine)) { in PatchElf()
|
/art/dex2oat/ |
D | dex2oat.cc | 828 dex_files_size += dex_file->GetHeader().file_size_; in UseSwap()
|
/art/oatdump/ |
D | oatdump.cc | 317 offsets_.insert(reinterpret_cast<uintptr_t>(&dex_file->GetHeader())); in AddAllOffsets()
|