Lines Matching full:size
108 off_t size;
115 size = elf_typesize (LIBELFBITS, ELF_T_EHDR, 1);
131 size = MAX ((size_t) size,
142 size += elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum);
225 /* If the section header contained the wrong entry size
254 /* The user specified the offset and the size.
256 fits in the size specified for the section. */
284 size = MAX ((GElf_Word) size,
307 size = (size + sh_align - 1) & ~(sh_align - 1);
308 update_if_changed (shdr->sh_offset, (GElf_Word) size,
311 /* See whether the section size is correct. */
316 size += offset;
321 /* Check that the section size is actually a multiple of
322 the entry size. */
343 size = MAX ((GElf_Word) size,
355 size = (size + SHDR_ALIGN - 1) & ~(SHDR_ALIGN - 1);
357 update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags);
362 /* Account for the section header size. */
363 size += elf_typesize (LIBELFBITS, ELF_T_SHDR, shnum);
369 return size;