Lines Matching refs:sz

79 fetch_gpr(struct fetch_context *context, struct value *value, size_t sz)  in fetch_gpr()  argument
81 if (sz < 8) in fetch_gpr()
82 sz = 8; in fetch_gpr()
84 unsigned char *buf = value_reserve(value, sz); in fetch_gpr()
89 for (i = 0; i < sz; i += 8) in fetch_gpr()
96 fetch_next_sse(struct fetch_context *context, unsigned char *buf, size_t sz) in fetch_next_sse() argument
99 memcpy(buf, &u, sz); in fetch_next_sse()
103 fetch_sse(struct fetch_context *context, struct value *value, size_t sz) in fetch_sse() argument
105 unsigned char *buf = value_reserve(value, sz); in fetch_sse()
109 fetch_next_sse(context, buf, sz); in fetch_sse()
117 size_t sz = type_sizeof(value->inferior, hfa_t); in fetch_hfa() local
118 unsigned char *buf = value_reserve(value, sz * count); in fetch_hfa()
124 fetch_next_sse(context, buf, sz); in fetch_hfa()
125 buf += sz; in fetch_hfa()
132 size_t align, size_t sz) in fetch_stack() argument
136 size_t amount = ((sz + align - 1) / align) * align; in fetch_stack()
167 size_t sz; member
178 size_t sz = type_sizeof(proc, info); in pass_arg() local
179 if (sz == (size_t) -1) in pass_arg()
180 return (struct fetch_script) { CVT_ERR, FETCH_NOP, sz }; in pass_arg()
184 return (struct fetch_script) { cvt, FETCH_NOP, sz }; in pass_arg()
193 { cvt, FETCH_HFA, sz, hfa_t, count }; in pass_arg()
195 { cvt, FETCH_STACK, sz, hfa_t, count }; in pass_arg()
198 if (sz <= 16) { in pass_arg()
199 size_t count = sz / 8; in pass_arg()
202 { cvt, FETCH_GPR, sz }; in pass_arg()
206 sz = 8; in pass_arg()
217 if (context->ngrn < 8 && sz <= 8) in pass_arg()
218 return (struct fetch_script) { cvt, FETCH_GPR, sz }; in pass_arg()
221 assert(sz <= 8); in pass_arg()
223 return (struct fetch_script) { cvt, FETCH_STACK, sz }; in pass_arg()
229 assert(sz <= 8); in pass_arg()
230 return (struct fetch_script) { cvt, FETCH_SSE, sz }; in pass_arg()
233 return (struct fetch_script) { cvt, FETCH_STACK, sz }; in pass_arg()
272 type_alignof(proc, info), how.sz); in fetch_arg()
275 return fetch_gpr(context, value, how.sz); in fetch_arg()
278 return fetch_sse(context, value, how.sz); in fetch_arg()