Lines Matching refs:argp
43 static char* ffi_align(ffi_type **p_arg, char *argp) in ffi_align() argument
57 if ((alignment - 1) & (unsigned) argp) in ffi_align()
59 argp = (char *) ALIGN(argp, alignment); in ffi_align()
64 argp = (char *) ALIGN(argp, 4); in ffi_align()
66 return argp; in ffi_align()
71 register char* argp = stack; in ffi_put_arg() local
81 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_put_arg()
85 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_put_arg()
89 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_put_arg()
93 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_put_arg()
97 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_put_arg()
107 *(float *) argp = *(float *)(* p_argv); in ffi_put_arg()
109 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_put_arg()
113 *(double *) argp = *(double *)(* p_argv); in ffi_put_arg()
117 memcpy(argp, *p_argv, z); in ffi_put_arg()
132 register char *argp; in ffi_prep_args_SYSV() local
134 argp = stack; in ffi_prep_args_SYSV()
138 *(void **) argp = ecif->rvalue; in ffi_prep_args_SYSV()
139 argp += 4; in ffi_prep_args_SYSV()
148 argp = ffi_align(p_arg, argp); in ffi_prep_args_SYSV()
149 argp += ffi_put_arg(p_arg, p_argv, argp); in ffi_prep_args_SYSV()
159 register char *argp, *regp, *eo_regp; in ffi_prep_args_VFP() local
171 eo_regp = argp = regp + 16; in ffi_prep_args_VFP()
207 done_with_regs = (regp == argp); in ffi_prep_args_VFP()
209 FFI_ASSERT(regp <= argp); in ffi_prep_args_VFP()
219 argp = tregp + ffi_put_arg(p_arg, p_argv, tregp); in ffi_prep_args_VFP()
220 FFI_ASSERT(eo_regp < argp); in ffi_prep_args_VFP()
226 argp = ffi_align(p_arg, argp); in ffi_prep_args_VFP()
227 argp += ffi_put_arg(p_arg, p_argv, argp); in ffi_prep_args_VFP()
416 register char *argp; in ffi_prep_incoming_args_SYSV() local
419 argp = stack; in ffi_prep_incoming_args_SYSV()
422 *rvalue = *(void **) argp; in ffi_prep_incoming_args_SYSV()
423 argp += 4; in ffi_prep_incoming_args_SYSV()
432 argp = ffi_align(p_arg, argp); in ffi_prep_incoming_args_SYSV()
438 *p_argv = (void*) argp; in ffi_prep_incoming_args_SYSV()
441 argp += z; in ffi_prep_incoming_args_SYSV()
457 register char *argp, *regp, *eo_regp; in ffi_prep_incoming_args_VFP() local
465 eo_regp = argp = regp + 16; in ffi_prep_incoming_args_VFP()
509 argp = regp; in ffi_prep_incoming_args_VFP()
521 argp = ffi_align(p_arg, argp); in ffi_prep_incoming_args_VFP()
527 *p_argv = (void*) argp; in ffi_prep_incoming_args_VFP()
530 argp += z; in ffi_prep_incoming_args_VFP()