Lines Matching refs:header
55 const Nhdr* header = GetHeader();
57 return header ? header->n_type : 0;
61 const Nhdr* header = GetHeader();
62 if (header) {
63 return content_.Subrange(sizeof(Nhdr), header->n_namesz);
69 const Nhdr* header = GetHeader();
70 if (header) {
71 return content_.Subrange(AlignedSize(sizeof(Nhdr) + header->n_namesz),
72 header->n_descsz);
79 const Nhdr* header = GetHeader();
80 if (header) {
81 size_t next_offset = AlignedSize(sizeof(Nhdr) + header->n_namesz);
82 next_offset = AlignedSize(next_offset + header->n_descsz);
109 const Ehdr* header = GetHeader();
110 return (header &&
111 header->e_ident[0] == ELFMAG0 &&
112 header->e_ident[1] == ELFMAG1 &&
113 header->e_ident[2] == ELFMAG2 &&
114 header->e_ident[3] == ELFMAG3 &&
115 header->e_ident[4] == kClass &&
116 header->e_version == EV_CURRENT &&
117 header->e_type == ET_CORE);
125 const Ehdr* header = GetHeader();
126 if (header) {
128 header->e_phoff, header->e_phentsize, index));
145 const Ehdr* header = GetHeader();
146 return header ? header->e_phnum : 0;