Lines Matching refs:sz
162 register Lword sz;
230 if ((sz = (Lword)_elf_entsz(elf, sh->sh_type, ver)) != 0)
232 sh->sh_entsize = (Half)sz;
233 sz = 0;
246 if (sz % j != 0)
247 sz += j - sz % j;
249 d->db_data.d_off = (off_t)sz;
250 d->db_xoff = sz;
251 sz += fsz;
254 sh->sh_size = (Xword) sz;
283 hi += sz;
346 register Lword sz;
378 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi)
379 hi = sz;
403 sz = 0;
413 ((j = (d->db_data.d_off + d->db_osz)) > sz))
414 sz = j;
416 if (sh->sh_size < sz) {
443 if ((sz = eh->e_shoff + eh->e_shentsize * scncnt) > hi)
444 hi = sz;
461 Xword hi, sz;
609 sz = sh->sh_offset - hi;
610 (void) memset(start - sz, byte, sz);
630 sz = (Xword)(d->db_data.d_off - off);
633 here - start - sz, sz);
635 (void) memset(here - sz, byte, sz);
670 sz = eh->e_shoff - hi;
671 (void) memset(image + hi, byte, sz);
745 size_t sz;
781 sz = elf->ed_wrimagesz;
785 return ((off_t)sz);
787 sz = _elf_outsync(elf->ed_fd, elf->ed_wrimage,
794 return ((off_t)sz);
831 sz = _elf_upd_usr(elf);
834 sz = _elf_upd_lib(elf);
836 if ((sz != 0) && ((cmd == ELF_C_WRITE) || (cmd == ELF_C_WRIMAGE)))
837 sz = wrt(elf, (Xword)sz, u, cmd);
839 if (sz == 0) {
845 return ((off_t)sz);