/external/libffi/src/m32r/ |
ffi.c | 35 void ffi_prep_args(char *stack, extended_cif *ecif) 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8) 49 *(void **) argp = ecif->rvalue; 53 avn = ecif->cif->nargs; 54 p_argv = ecif->avalue; 56 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; 180 extended_cif ecif; local 182 ecif.cif = cif [all...] |
/external/libffi/src/arm/ |
ffi.c | 35 void ffi_prep_args(char *stack, extended_cif *ecif) 44 if ( ecif->cif->flags == FFI_TYPE_STRUCT ) { 45 *(void **) argp = ecif->rvalue; 49 p_argv = ecif->avalue; 51 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; 156 extended_cif ecif; local 161 ecif.cif = cif; 162 ecif.avalue = avalue; 172 ecif.rvalue = alloca(cif->rtype->size) [all...] |
/external/libffi/src/x86/ |
ffi.c | 41 void ffi_prep_args(char *stack, extended_cif *ecif) 50 if (ecif->cif->flags == FFI_TYPE_STRUCT) 52 *(void **) argp = ecif->rvalue; 56 p_argv = ecif->avalue; 58 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; 193 extended_cif ecif; local 195 ecif.cif = cif; 196 ecif.avalue = avalue; 204 ecif.rvalue = alloca(cif->rtype->size) 437 extended_cif ecif; local [all...] |
/external/libffi/src/cris/ |
ffi.c | 70 ffi_prep_args (char *stack, extended_cif * ecif) 80 p_argv = ecif->avalue; 82 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; 106 uiLocOnStack = 4 * ecif->cif->nargs + struct_count; 245 extended_cif ecif; local 247 ecif.cif = cif; 248 ecif.avalue = avalue; 252 ecif.rvalue = alloca (cif->rtype->size); 255 ecif.rvalue = rvalue [all...] |
/external/libffi/src/frv/ |
ffi.c | 37 void *ffi_prep_args(char *stack, extended_cif *ecif) 45 p_argv = ecif->avalue; 48 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; 137 extended_cif ecif; local 139 ecif.cif = cif; 140 ecif.avalue = avalue; 148 ecif.rvalue = alloca(cif->rtype->size); 151 ecif.rvalue = rvalue; 157 ffi_call_EABI(ffi_prep_args, &ecif, cif->bytes, [all...] |
/external/libffi/src/m68k/ |
ffi.c | 18 void *ffi_prep_args (void *stack, extended_cif *ecif); 28 ffi_prep_args (void *stack, extended_cif *ecif) 38 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 39 && !ecif->cif->flags) 40 struct_value_ptr = ecif->rvalue; 44 p_argv = ecif->avalue; 46 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; 171 extended_cif ecif; local 173 ecif.cif = cif [all...] |
/external/libffi/src/sh64/ |
ffi.c | 60 void ffi_prep_args(char *stack, extended_cif *ecif) 71 if (return_type (ecif->cif->rtype) == FFI_TYPE_STRUCT) 73 *(void **) argp = ecif->rvalue; 77 avn = ecif->cif->nargs; 78 p_argv = ecif->avalue; 80 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) 252 extended_cif ecif; local 255 ecif.cif = cif; 256 ecif.avalue = avalue; 263 ecif.rvalue = &trvalue [all...] |
/external/libffi/src/sparc/ |
ffi.c | 36 void ffi_prep_args_v8(char *stack, extended_cif *ecif) 49 if ( ecif->cif->rtype->type == FFI_TYPE_STRUCT ) */ 50 *(int *) argp = (long)ecif->rvalue; 67 p_argv = ecif->avalue; 69 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; i; i--, p_arg++) 122 int ffi_prep_args_v9(char *stack, extended_cif *ecif) 147 p_argv = ecif->avalue; 149 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && 150 ecif->cif->rtype->size > 32 370 extended_cif ecif; local [all...] |
/external/libffi/src/pa/ |
ffi.c | 140 void ffi_prep_args_pa32(UINT32 *stack, extended_cif *ecif, unsigned bytes) 149 debug(1, "%s: stack = %p, ecif = %p, bytes = %u\n", __FUNCTION__, stack, 150 ecif, bytes); 152 p_arg = ecif->cif->arg_types; 153 p_argv = ecif->avalue; 155 for (i = 0; i < ecif->cif->nargs; i++) 376 extended_cif ecif; local 378 ecif.cif = cif; 379 ecif.avalue = avalue; 392 ecif.rvalue = alloca(cif->rtype->size) [all...] |
/external/libffi/src/s390/ |
ffi.c | 162 ffi_prep_args (unsigned char *stack, extended_cif *ecif) 180 int gpr_off = ecif->cif->bytes; 193 void **p_argv = ecif->avalue; 199 if (ecif->cif->flags == FFI390_RET_STRUCT) 200 p_gpr[n_gpr++] = (unsigned long) ecif->rvalue; 204 for (ptr = ecif->cif->arg_types, i = ecif->cif->nargs; 507 extended_cif ecif; local 509 ecif.cif = cif; 510 ecif.avalue = avalue [all...] |
/external/libffi/src/sh/ |
ffi.c | 111 void ffi_prep_args(char *stack, extended_cif *ecif) 127 if (return_type (ecif->cif->rtype) == FFI_TYPE_STRUCT) 129 *(void **) argp = ecif->rvalue; 138 avn = ecif->cif->nargs; 139 p_argv = ecif->avalue; 141 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) 228 p_argv = ecif->avalue; 230 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) 414 extended_cif ecif; local 417 ecif.cif = cif [all...] |
/external/libffi/src/mips/ |
ffi.c | 66 extended_cif *ecif, 90 if ( ecif->cif->rstruct_flag != 0 ) 92 if ( ecif->cif->rtype->type == FFI_TYPE_STRUCT ) 95 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; 100 p_argv = ecif->avalue; 102 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; i; i--, p_arg++) 127 (ecif->cif->abi == FFI_N64) ? FFI_TYPE_SINT64 : FFI_TYPE_SINT32; 506 extended_cif ecif; local 508 ecif.cif = cif [all...] |
/external/libffi/src/powerpc/ |
ffi_darwin.c | 83 void ffi_prep_args(extended_cif *ecif, unsigned *const stack) 85 const unsigned bytes = ecif->cif->bytes; 86 const unsigned flags = ecif->cif->flags; 100 int i = ecif->cif->nargs; 102 void **p_argv = ecif->avalue; 104 ffi_type** ptr = ecif->cif->arg_types; 118 *next_arg++ = (unsigned)(char *)ecif->rvalue; 202 if (size_al < 3 && ecif->cif->abi == FFI_DARWIN) 434 extended_cif ecif; local 436 ecif.cif = cif [all...] |
ffi.c | 90 ffi_prep_args_SYSV (extended_cif *ecif, unsigned *const stack) 92 const unsigned bytes = ecif->cif->bytes; 93 const unsigned flags = ecif->cif->flags; 141 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT) 162 *gpr_base.u++ = (unsigned long) (char *) ecif->rvalue; 167 p_argv.v = ecif->avalue; 168 for (ptr = ecif->cif->arg_types, i = ecif->cif->nargs; 176 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT) 192 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT 883 extended_cif ecif; local [all...] |