HomeSort by: relevance | last modified time | path
    Searched refs:e_rawfile (Results 1 - 15 of 15) sorted by relevancy

  /src/external/bsd/elftoolchain/dist/libelf/
elf_getbase.c 50 return ((off_t) ((uintptr_t) e->e_rawfile -
51 (uintptr_t) e->e_parent->e_rawfile));
elf_next.c 61 assert(e->e_rawfile > parent->e_rawfile);
63 next = e->e_rawfile - parent->e_rawfile + (off_t) e->e_rawsize;
elf_getident.c 54 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) {
70 return ((char *) e->e_rawfile);
elf_rawfile.c 48 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE)
elf_end.c 89 if (e->e_rawfile) {
91 free(e->e_rawfile);
94 (void) munmap(e->e_rawfile, (size_t) e->e_rawsize);
elf_rand.c 61 arh = (struct ar_hdr *) (ar->e_rawfile + offset);
libelf_ar_util.c 100 assert((const unsigned char *) arh >= ar->e_rawfile &&
101 (const unsigned char *) arh < ar->e_rawfile + ar->e_rawsize);
255 s = e->e_rawfile + SARMAG;
256 end = e->e_rawfile + e->e_rawsize;
358 e->e_u.e_ar.e_next = (off_t) (s - e->e_rawfile);
libelf_memory.c 66 e->e_rawfile = image;
elf_data.c 75 if (e->e_rawfile == NULL) {
168 e->e_rawfile + sh_offset, count,
197 if (e->e_rawfile && s->s_size > 0 && STAILQ_EMPTY(&s->s_data))
232 if (s == NULL || (e = s->s_elf) == NULL || e->e_rawfile == NULL) {
279 e->e_rawfile + sh_offset;
libelf_ar.c 135 assert((uintptr_t) arh >= (uintptr_t) parent->e_rawfile + SARMAG);
141 if ((uintptr_t) arh > (uintptr_t) parent->e_rawfile +
256 arh = (struct ar_hdr *) (elf->e_rawfile + next);
elf_update.c 798 e->e_rawfile + s->s_rawoff + d->d_off,
1116 assert(e->e_rawfile != NULL);
1118 if (munmap(e->e_rawfile, (size_t) e->e_rawsize) < 0) {
1139 assert(e->e_rawfile != NULL);
1144 free(e->e_rawfile);
1145 e->e_rawfile = newfile;
1151 if ((e->e_rawfile = mmap(NULL, (size_t) newsize,
1164 assert(e->e_rawfile == NULL);
libelf_ehdr.c 80 (unsigned char *) e->e_rawfile + shoff, (size_t) 1,
185 (*xlator)((unsigned char*) ehdr, msz, e->e_rawfile, (size_t) 1,
libelf_phdr.c 116 (*xlator)(phdr, phnum * msz, e->e_rawfile + phoff, phnum,
_libelf.h 80 #define LIBELF_F_RAWFILE_MALLOC 0x080000U /* whether e_rawfile was malloc'ed */
81 #define LIBELF_F_RAWFILE_MMAP 0x100000U /* whether e_rawfile was mmap'ed */
94 unsigned char *e_rawfile; /* uninterpreted bytes */ member in struct:_Elf
elf_scn.c 101 src = e->e_rawfile + shoff;

Completed in 42 milliseconds