Lines Matching refs:sz
149 size_t sz = type_sizeof(proc, info); in allocate_stack_slot() local
150 if (sz == (size_t)-1) in allocate_stack_slot()
167 ctx->stack_pointer += sz; in allocate_stack_slot()
187 align_small_int(unsigned char *buf, size_t w, size_t sz) in align_small_int() argument
201 switch (sz) { in align_small_int()
214 memcpy(buf, u.buf, sz); in align_small_int()
228 size_t sz = type_sizeof(proc, info); in allocate_gpr() local
229 if (sz == (size_t)-1) in allocate_gpr()
231 assert(sz == 1 || sz == 2 || sz == 4 || sz == 8); in allocate_gpr()
232 if (value_reserve(valuep, sz) == NULL) in allocate_gpr()
242 align_small_int(u.buf, 8, sz); in allocate_gpr()
243 memcpy(value_get_raw_data(valuep), u.buf, sz); in allocate_gpr()
263 size_t sz = sizeof(double); in allocate_float() local
265 sz = sizeof(float); in allocate_float()
269 if (value_reserve(valuep, sz) == NULL) in allocate_float()
272 memcpy(value_get_raw_data(valuep), u.buf, sz); in allocate_float()
326 size_t sz = type_sizeof(proc, valuep->type); in allocate_argument() local
327 if (sz == (size_t)-1) in allocate_argument()
329 size_t slots = (sz + width - 1) / width; /* Round up. */ in allocate_argument()
367 if (sz < width) { in allocate_argument()
381 align_small_int(buf, width, sz); in allocate_argument()
393 memmove(buf, buf + width - sz, sz); in allocate_argument()