Lines Matching refs:size
82 is_elf_file(const unsigned char* ehdr_buf, int size);
93 int* size, bool* big_endian,
102 template<int size, bool big_endian, typename File>
106 typedef Elf_file<size, big_endian, File> This;
109 static const int ehdr_size = Elf_sizes<size>::ehdr_size;
110 static const int phdr_size = Elf_sizes<size>::phdr_size;
111 static const int shdr_size = Elf_sizes<size>::shdr_size;
112 static const int sym_size = Elf_sizes<size>::sym_size;
113 static const int rel_size = Elf_sizes<size>::rel_size;
114 static const int rela_size = Elf_sizes<size>::rela_size;
116 typedef Ehdr<size, big_endian> Ef_ehdr;
117 typedef Phdr<size, big_endian> Ef_phdr;
118 typedef Shdr<size, big_endian> Ef_shdr;
119 typedef Sym<size, big_endian> Ef_sym;
211 typename Elf_types<size>::Elf_WXword
215 typename Elf_types<size>::Elf_WXword
219 typename Elf_types<size>::Elf_Addr
235 typename Elf_types<size>::Elf_WXword
270 Elf_strtab(const unsigned char* p, size_t size);
295 Elf_recognizer::is_elf_file(const unsigned char* ehdr_buf, int size) in is_elf_file() argument
297 if (size < 4) in is_elf_file()
329 int* size, in is_valid_header() argument
384 *size = 32; in is_valid_header()
393 *size = 64; in is_valid_header()
403 template<int size, bool big_endian, typename File>
405 Elf_file<size, big_endian, File>::construct(File* file, const Ef_ehdr& ehdr) in construct()
422 template<int size, bool big_endian, typename File>
424 Elf_file<size, big_endian, File>::Elf_file(File* file) in Elf_file()
432 template<int size, bool big_endian, typename File>
434 Elf_file<size, big_endian, File>::initialize_shnum() in initialize_shnum()
478 template<int size, bool big_endian, typename File>
480 Elf_file<size, big_endian, File>::find_section_by_type(unsigned int type) in find_section_by_type()
496 template<int size, bool big_endian, typename File>
498 Elf_file<size, big_endian, File>::section_header_offset(unsigned int shndx) const in section_header_offset()
508 template<int size, bool big_endian, typename File>
510 Elf_file<size, big_endian, File>::section_name(unsigned int shndx) const in section_name()
525 typename Elf_types<size>::Elf_WXword shstr_size; in section_name()
555 template<int size, bool big_endian, typename File>
557 Elf_file<size, big_endian, File>::section_contents(unsigned int shndx) in section_contents()
573 template<int size, bool big_endian, typename File>
574 typename Elf_types<size>::Elf_WXword
575 Elf_file<size, big_endian, File>::section_size(unsigned int shndx) in section_size()
592 template<int size, bool big_endian, typename File>
593 typename Elf_types<size>::Elf_WXword
594 Elf_file<size, big_endian, File>::section_flags(unsigned int shndx) in section_flags()
611 template<int size, bool big_endian, typename File>
612 typename Elf_types<size>::Elf_Addr
613 Elf_file<size, big_endian, File>::section_addr(unsigned int shndx) in section_addr()
630 template<int size, bool big_endian, typename File>
632 Elf_file<size, big_endian, File>::section_type(unsigned int shndx) in section_type()
649 template<int size, bool big_endian, typename File>
651 Elf_file<size, big_endian, File>::section_link(unsigned int shndx) in section_link()
668 template<int size, bool big_endian, typename File>
670 Elf_file<size, big_endian, File>::section_info(unsigned int shndx) in section_info()
687 template<int size, bool big_endian, typename File>
688 typename Elf_types<size>::Elf_WXword
689 Elf_file<size, big_endian, File>::section_addralign(unsigned int shndx) in section_addralign()
705 Elf_strtab::Elf_strtab(const unsigned char* p, size_t size) in Elf_strtab() argument
710 while (size > 0 && p[size - 1] != 0) in Elf_strtab()
711 size--; in Elf_strtab()
713 this->usable_size_ = size; in Elf_strtab()