Lines Matching defs:base
55 size_t base;
74 base = ref->ed_nextoff + sizeof (struct ar_hdr);
75 if (ref->ed_fsz - base < mh->m_hdr.ar_size) {
89 elf->ed_baseoff = ref->ed_baseoff + base;
90 elf->ed_memoff = base - mh->m_slide;
91 elf->ed_siboff = base + elf->ed_fsz + (elf->ed_fsz & 1);
97 elf->ed_ident = ref->ed_ident + base - mh->m_slide;
135 char *base;
143 base = elf->ed_ident;
146 (base[EI_MAG0] == ELFMAG0) &&
147 (base[EI_MAG1] == ELFMAG1) &&
148 (base[EI_MAG2] == ELFMAG2) &&
149 (base[EI_MAG3] == ELFMAG3)) {
151 elf->ed_class = base[EI_CLASS];
152 elf->ed_encode = base[EI_DATA];
153 if ((elf->ed_version = base[EI_VERSION]) == 0)
179 (memcmp(base, armag, SARMAG) == 0)) {
240 * ref as the base image of the elf file. Before this elf_begin()