Lines Matching full:contents_size
213 size_t contents_size = 0;
224 if (segment_end > (GElf_Off) contents_size)
225 contents_size = segment_end;
264 if ((GElf_Off) contents_size > segments_end
265 && (GElf_Off) contents_size >= shdrs_end)
267 contents_size = segments_end;
268 if ((GElf_Off) contents_size < shdrs_end)
269 contents_size = shdrs_end;
272 contents_size = segments_end;
277 buffer = calloc (1, contents_size);
288 if (end > (GElf_Off) contents_size)
289 end = contents_size;
305 if (contents_size < shdrs_end)
332 if (contents_size < shdrs_end)
357 Elf *elf = elf_memory ((char *) buffer, contents_size);