Lines Matching defs:result
75 size_t result;
147 result = ehdr.e32->e_shnum;
149 if (unlikely (result == 0) && ehdr.e32->e_shoff != 0)
162 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff
195 result = size;
201 || maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr) * result)
202 result = 0;
207 result = ehdr.e64->e_shnum;
209 if (unlikely (result == 0) && ehdr.e64->e_shoff != 0)
265 result = size;
270 || maxsize - ehdr.e64->e_shoff < sizeof (Elf64_Shdr) * result)
271 result = 0;
274 return result;
700 struct Elf *result = __libelf_read_mmaped_file (fildes, map_address,
706 if (result == NULL
712 result->flags |= ELF_F_MMAPPED;
714 return result;
1047 struct Elf *result;
1092 result = read_file (fildes, ref->state.ar.offset + sizeof (struct ar_hdr),
1096 if (result != NULL)
1098 result->next = ref->state.ar.children;
1099 ref->state.ar.children = result;
1102 return result;
1112 Elf *result = allocate_elf (fd, NULL, 0, 0, cmd, NULL, ELF_K_ELF,
1115 if (result != NULL)
1118 result->flags = ELF_F_DIRTY;
1121 result->state.elf.scnincr = NSCNSALLOC;
1126 result->state.elf.scns_last = &result->state.elf32.scns;
1127 result->state.elf32.scns.max = NSCNSALLOC;
1130 return result;