Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the source code of this file.
Macros | |
#define | FFI_INIT_TRAMPOLINE(TRAMP, FUN, CTX) |
Functions | |
int | ffi_prep_args_SYSV (char *stack, extended_cif *ecif, float *vfp_space) |
int | ffi_prep_args_VFP (char *stack, extended_cif *ecif, float *vfp_space) |
ffi_status | ffi_prep_cif_machdep (ffi_cif *cif) |
ffi_status | ffi_prep_cif_machdep_var (ffi_cif *cif, unsigned int nfixedargs, unsigned int ntotalargs) |
void | ffi_call_SYSV (void(*fn)(void), extended_cif *, unsigned, unsigned, unsigned *) |
void | ffi_call_VFP (void(*fn)(void), extended_cif *, unsigned, unsigned, unsigned *) |
void | ffi_call (ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue) |
void | ffi_closure_SYSV (ffi_closure *) |
void | ffi_closure_VFP (ffi_closure *) |
unsigned int FFI_HIDDEN | ffi_closure_inner (ffi_closure *closure, void **respp, void *args, void *vfp_args) |
ffi_status | ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif, void(*fun)(ffi_cif *, void *, void **, void *), void *user_data, void *codeloc) |
Variables | |
unsigned int | ffi_arm_trampoline [3] |
#define FFI_INIT_TRAMPOLINE | ( | TRAMP, | |
FUN, | |||
CTX | |||
) |
Definition at line 304 of file ffi.c.
References alloca, extended_cif::avalue, extended_cif::cif, FFI_ASSERT, ffi_call_SYSV(), ffi_call_VFP(), FFI_SYSV, FFI_TYPE_STRUCT_VFP_DOUBLE, FFI_TYPE_STRUCT_VFP_FLOAT, FFI_VFP, memcpy(), NULL, and extended_cif::rvalue.
Referenced by ffi_call().
void ffi_closure_VFP | ( | ffi_closure * | ) |
Referenced by ffi_prep_closure_loc().
int ffi_prep_args_SYSV | ( | char * | stack, |
extended_cif * | ecif, | ||
float * | vfp_space | ||
) |
Definition at line 128 of file ffi.c.
References extended_cif::avalue, extended_cif::cif, i, and extended_cif::rvalue.
int ffi_prep_args_VFP | ( | char * | stack, |
extended_cif * | ecif, | ||
float * | vfp_space | ||
) |
Definition at line 155 of file ffi.c.
References extended_cif::avalue, extended_cif::cif, FFI_ASSERT, FFI_VFP, i, and extended_cif::rvalue.
ffi_status ffi_prep_cif_machdep | ( | ffi_cif * | cif | ) |
ffi_status ffi_prep_cif_machdep_var | ( | ffi_cif * | cif, |
unsigned int nfixedargs | , | ||
unsigned int ntotalargs | |||
) |
Definition at line 289 of file ffi.c.
References ffi_prep_cif_machdep(), FFI_SYSV, and FFI_VFP.
ffi_status ffi_prep_closure_loc | ( | ffi_closure * | closure, |
ffi_cif * | cif, | ||
void(*)(ffi_cif *, void *, void **, void *) | fun, | ||
void * | user_data, | ||
void * | codeloc | ||
) |
Definition at line 772 of file ffi.c.
References ffi_closure_SYSV(), ffi_closure_VFP(), FFI_INIT_TRAMPOLINE, FFI_SYSV, FFI_VFP, NULL, and void.