Lines Matching refs:File
102 template<int size, bool big_endian, typename File>
106 typedef Elf_file<size, big_endian, File> This;
122 Elf_file(File* file, const Ef_ehdr& ehdr) in Elf_file()
127 Elf_file(File* file);
195 typename File::Location
198 return typename File::Location(this->section_header_offset(shndx), in section_header()
207 typename File::Location
241 construct(File* file, const Ef_ehdr& ehdr);
252 File* file_;
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()
426 typename File::View v(file->view(file_header_offset, This::ehdr_size)); in Elf_file()
432 template<int size, bool big_endian, typename File>
434 Elf_file<size, big_endian, File>::initialize_shnum() in initialize_shnum()
439 typename File::View v(this->file_->view(this->shoff_, This::shdr_size)); 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()
483 typename File::View v(this->file_->view(this->shoff_, 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()
512 File* const file = this->file_; in section_name()
517 typename File::View v(file->view(this->section_header_offset(shndx), in section_name()
528 typename File::View v(file->view(this->section_header_offset(shstrndx), in section_name()
539 typename File::View v(file->view(shstr_off, shstr_size)); in section_name()
555 template<int size, bool big_endian, typename File>
556 typename File::Location
557 Elf_file<size, big_endian, File>::section_contents(unsigned int shndx) in section_contents()
559 File* const file = this->file_; in section_contents()
565 typename File::View v(file->view(this->section_header_offset(shndx), in section_contents()
568 return typename File::Location(shdr.get_sh_offset(), shdr.get_sh_size()); in section_contents()
573 template<int size, bool big_endian, typename File>
575 Elf_file<size, big_endian, File>::section_size(unsigned int shndx) in section_size()
577 File* const file = this->file_; in section_size()
583 typename File::View v(file->view(this->section_header_offset(shndx), in section_size()
592 template<int size, bool big_endian, typename File>
594 Elf_file<size, big_endian, File>::section_flags(unsigned int shndx) in section_flags()
596 File* const file = this->file_; in section_flags()
602 typename File::View v(file->view(this->section_header_offset(shndx), in section_flags()
611 template<int size, bool big_endian, typename File>
613 Elf_file<size, big_endian, File>::section_addr(unsigned int shndx) in section_addr()
615 File* const file = this->file_; in section_addr()
621 typename File::View v(file->view(this->section_header_offset(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()
634 File* const file = this->file_; in section_type()
640 typename File::View v(file->view(this->section_header_offset(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()
653 File* const file = this->file_; in section_link()
659 typename File::View v(file->view(this->section_header_offset(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()
672 File* const file = this->file_; in section_info()
678 typename File::View v(file->view(this->section_header_offset(shndx), in section_info()
687 template<int size, bool big_endian, typename File>
689 Elf_file<size, big_endian, File>::section_addralign(unsigned int shndx) in section_addralign()
691 File* const file = this->file_; in section_addralign()
697 typename File::View v(file->view(this->section_header_offset(shndx), in section_addralign()