Lines Matching refs:ElfClass
42 template<typename ElfClass>
45 typename ElfClass::Word section_type, in FindElfClassSection()
48 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSection()
49 typedef typename ElfClass::Shdr Shdr; in FindElfClassSection()
58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSection()
61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in FindElfClassSection()
64 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset); in FindElfClassSection()
68 FindElfSectionByName<ElfClass>(section_name, section_type, in FindElfClassSection()
78 template<typename ElfClass>
80 typename ElfClass::Word segment_type, in FindElfClassSegment()
83 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSegment()
84 typedef typename ElfClass::Phdr Phdr; in FindElfClassSegment()
93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSegment()
96 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff); in FindElfClassSegment()
114 int ElfClass(const void* elf_base) { in ElfClass() function
137 int cls = ElfClass(elf_mapped_base); in FindElfSection()
173 int cls = ElfClass(elf_mapped_base); in FindElfSegment()