/third_party/libffi/testsuite/libffi.bhaible/ |
D | test-call.c | 79 #define FFI_PREP_CIF(cif,argtypes,rettype) \ argument 81 #define FFI_PREP_CIF_NOARGS(cif,rettype) \ argument 83 #define FFI_CALL(cif,fn,args,retaddr) \ argument 113 ffi_cif cif; in void_tests() local 133 ffi_cif cif; in int_tests() local 151 ffi_cif cif; in int_tests() local 170 ffi_cif cif; in int_tests() local 189 ffi_cif cif; in int_tests() local 208 ffi_cif cif; in int_tests() local 227 ffi_cif cif; in int_tests() local [all …]
|
D | test-callback.c | 79 #define FFI_PREP_CIF(cif,argtypes,rettype) \ argument 81 #define FFI_PREP_CIF_NOARGS(cif,rettype) \ argument 101 void v_v_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in v_v_simulator() 109 void i_v_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in i_v_simulator() 117 void i_i_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in i_i_simulator() 126 void i_i2_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in i_i2_simulator() 136 void i_i4_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in i_i4_simulator() 148 void i_i8_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in i_i8_simulator() 164 void i_i16_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in i_i16_simulator() 191 void f_f_simulator (ffi_cif* cif, void* retp, /*const*/ void* /*const*/ *args, void* data) in f_f_simulator() [all …]
|
/third_party/libffi/src/ |
D | java_raw_api.c | 45 ffi_java_raw_size (ffi_cif *cif) in ffi_java_raw_size() 76 ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) in ffi_java_raw_to_ptrarray() 157 ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) in ffi_java_ptrarray_to_raw() 246 ffi_java_rvalue_to_raw (ffi_cif *cif, void *rvalue) in ffi_java_rvalue_to_raw() 278 ffi_java_raw_to_rvalue (ffi_cif *cif, void *rvalue) in ffi_java_raw_to_rvalue() 313 void ffi_java_raw_call (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_java_raw_call() 325 ffi_java_translate_args (ffi_cif *cif, void *rvalue, in ffi_java_translate_args() 338 ffi_cif *cif, in ffi_prep_java_raw_closure_loc() 365 ffi_cif *cif, in ffi_prep_java_raw_closure()
|
D | raw_api.c | 35 ffi_raw_size (ffi_cif *cif) in ffi_raw_size() 57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args) in ffi_raw_to_ptrarray() 138 ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw) in ffi_ptrarray_to_raw() 204 void ffi_raw_call (ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *raw) in ffi_raw_call() 214 ffi_translate_args (ffi_cif *cif, void *rvalue, in ffi_translate_args() 226 ffi_cif *cif, in ffi_prep_raw_closure_loc() 258 ffi_cif *cif, in ffi_prep_raw_closure()
|
D | prep_cif.c | 109 ffi_status FFI_HIDDEN ffi_prep_cif_core(ffi_cif *cif, ffi_abi abi, in ffi_prep_cif_core() 221 ffi_status ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, in ffi_prep_cif() 227 ffi_status ffi_prep_cif_var(ffi_cif *cif, in ffi_prep_cif_var() 241 ffi_cif* cif, in ffi_prep_closure()
|
/third_party/libffi/src/powerpc/ |
D | ffi.c | 52 ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 62 ffi_prep_cif_machdep_var (ffi_cif *cif, in ffi_prep_cif_machdep_var() 74 ffi_call_int (ffi_cif *cif, in ffi_call_int() 136 ffi_call (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() 142 ffi_call_go (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue, in ffi_call_go() 150 ffi_cif *cif, in ffi_prep_closure_loc() 164 ffi_cif *cif, in ffi_prep_go_closure()
|
/third_party/python/Modules/_ctypes/libffi_osx/x86/ |
D | x86-ffi_darwin.c | 117 ffi_status ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 188 void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue) in ffi_call() 246 ffi_cif *cif; local 267 ffi_cif *cif) in ffi_prep_incoming_args_SYSV() 322 ffi_cif* cif, in ffi_prep_closure() 346 ffi_cif* cif, in ffi_prep_raw_closure_loc() 399 ffi_raw_call(ffi_cif *cif, void (*fn)(), void *rvalue, ffi_raw *fake_avalue) in ffi_raw_call()
|
/third_party/libffi/src/sparc/ |
D | ffi.c | 48 ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 183 ffi_prep_args_v8(ffi_cif *cif, unsigned long *argp, void *rvalue, void **avalue) in ffi_prep_args_v8() 285 ffi_call_int (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_int() 302 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 308 ffi_call_go (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_go() 331 ffi_cif *cif, in ffi_prep_closure_loc() 358 ffi_prep_go_closure (ffi_go_closure *closure, ffi_cif *cif, in ffi_prep_go_closure() 372 ffi_closure_sparc_inner_v8(ffi_cif *cif, in ffi_closure_sparc_inner_v8()
|
D | ffi64.c | 163 ffi_prep_cif_machdep_core(ffi_cif *cif) in ffi_prep_cif_machdep_core() 308 ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 315 ffi_prep_cif_machdep_var(ffi_cif *cif, unsigned nfixedargs, unsigned ntotalargs) in ffi_prep_cif_machdep_var() 328 ffi_prep_args_v9(ffi_cif *cif, unsigned long *argp, void *rvalue, void **avalue) in ffi_prep_args_v9() 420 ffi_call_int(ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_int() 434 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 440 ffi_call_go(ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_go() 461 ffi_cif* cif, in ffi_prep_closure_loc() 491 ffi_prep_go_closure (ffi_go_closure* closure, ffi_cif* cif, in ffi_prep_go_closure() 505 ffi_closure_sparc_inner_v9(ffi_cif *cif, in ffi_closure_sparc_inner_v9()
|
/third_party/libffi/src/arm/ |
D | ffi.c | 141 ffi_prep_args_SYSV (ffi_cif *cif, int flags, void *rvalue, in ffi_prep_args_SYSV() 162 ffi_prep_args_VFP (ffi_cif *cif, int flags, void *rvalue, in ffi_prep_args_VFP() 234 ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 325 ffi_prep_cif_machdep_var (ffi_cif * cif, in ffi_prep_cif_machdep_var() 352 ffi_call_int (ffi_cif * cif, void (*fn) (void), void *rvalue, in ffi_call_int() 419 ffi_call (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() 425 ffi_call_go (ffi_cif *cif, void (*fn) (void), void *rvalue, in ffi_call_go() 432 ffi_prep_incoming_args_SYSV (ffi_cif *cif, void *rvalue, in ffi_prep_incoming_args_SYSV() 463 ffi_prep_incoming_args_VFP (ffi_cif *cif, void *rvalue, char *stack, in ffi_prep_incoming_args_VFP() 540 ffi_closure_inner_SYSV (ffi_cif *cif, in ffi_closure_inner_SYSV() argument [all …]
|
/third_party/libffi/src/vax/ |
D | ffi.c | 122 ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 163 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() 201 ffi_prep_closure_elfbsd (ffi_cif *cif, void **avalue, char *stackp) in ffi_prep_closure_elfbsd() 228 ffi_cif *cif; in ffi_closure_elfbsd_inner() local 242 ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif, in ffi_prep_closure_loc()
|
/third_party/libffi/src/alpha/ |
D | ffi.c | 66 ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 228 ffi_call_int (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_int() 313 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 319 ffi_call_go (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_go() 327 ffi_cif* cif, in ffi_prep_closure_loc() 361 ffi_cif* cif, in ffi_prep_go_closure() 375 ffi_closure_osf_inner (ffi_cif *cif, in ffi_closure_osf_inner()
|
/third_party/libffi/src/m68k/ |
D | ffi.c | 131 ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 222 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() 253 ffi_prep_incoming_args_SYSV (char *stack, void **avalue, ffi_cif *cif) in ffi_prep_incoming_args_SYSV() 311 ffi_cif *cif; in ffi_closure_SYSV_inner() local 326 ffi_cif* cif, in ffi_prep_closure_loc()
|
/third_party/libffi/src/m88k/ |
D | ffi.c | 200 ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 232 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() 267 ffi_prep_closure_args_OBSD (ffi_cif *cif, void **avalue, unsigned int *regp, in ffi_prep_closure_args_OBSD() 354 ffi_cif *cif; in ffi_closure_OBSD_inner() local 368 ffi_prep_closure_loc (ffi_closure* closure, ffi_cif* cif, in ffi_prep_closure_loc()
|
/third_party/libffi/src/mips/ |
D | ffi.c | 326 static ffi_status ffi_prep_cif_machdep_int(ffi_cif *cif, unsigned nfixedargs) in ffi_prep_cif_machdep_int() 585 ffi_status ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 590 ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif, in ffi_prep_cif_machdep_var() 607 void ffi_call_int(ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_int() 676 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 682 ffi_call_go (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_go() 700 ffi_cif *cif, in ffi_prep_closure_loc() 806 ffi_closure_mips_inner_O32 (ffi_cif *cif, in ffi_closure_mips_inner_O32() 961 ffi_closure_mips_inner_N32 (ffi_cif *cif, in ffi_closure_mips_inner_N32() 1101 ffi_prep_go_closure (ffi_go_closure* closure, ffi_cif* cif, in ffi_prep_go_closure()
|
/third_party/libffi/src/metag/ |
D | ffi.c | 100 ffi_status ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 173 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 242 ffi_cif* cif, in ffi_prep_closure_loc() 274 ffi_cif *cif; local 295 void **avalue, ffi_cif *cif, in ffi_prep_incoming_args_SYSV()
|
/third_party/libffi/src/cris/ |
D | ffi.c | 157 ffi_prep_cif_core (ffi_cif * cif, in ffi_prep_cif_core() 219 ffi_prep_cif_machdep (ffi_cif * cif) in ffi_prep_cif_machdep() 246 ffi_call (ffi_cif * cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() 303 ffi_cif *cif = closure->cif; in ffi_prep_closure_inner() local 368 ffi_cif* cif, in ffi_prep_closure_loc()
|
/third_party/libffi/src/or1k/ |
D | ffi.c | 119 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 179 ffi_cif *cif = closure->cif; in ffi_closure_SYSV() local 266 ffi_cif* cif, in ffi_prep_closure_loc() 303 ffi_status ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 320 ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif, in ffi_prep_cif_machdep_var()
|
/third_party/libffi/src/arc/ |
D | ffi.c | 132 ffi_prep_cif_machdep (ffi_cif * cif) in ffi_prep_cif_machdep() 165 ffi_call (ffi_cif * cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() 199 ffi_cif *cif = closure->cif; in ffi_closure_inner_ARCompact() local 241 ffi_prep_closure_loc (ffi_closure * closure, ffi_cif * cif, in ffi_prep_closure_loc() argument
|
/third_party/libffi/src/nios2/ |
D | ffi.c | 60 ffi_status ffi_prep_cif_machdep (ffi_cif *cif) in ffi_prep_cif_machdep() 150 void ffi_call (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() 206 ffi_cif *cif = closure->cif; in ffi_closure_helper() local 254 ffi_cif* cif, in ffi_prep_closure_loc()
|
/third_party/libffi/src/s390/ |
D | ffi.c | 141 ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 306 ffi_call_int(ffi_cif *cif, in ffi_call_int() 481 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 487 ffi_call_go (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_go() 504 ffi_closure_helper_SYSV (ffi_cif *cif, in ffi_closure_helper_SYSV() 709 ffi_cif *cif, in ffi_prep_closure_loc() 745 ffi_prep_go_closure (ffi_go_closure *closure, ffi_cif *cif, in ffi_prep_go_closure()
|
/third_party/libffi/testsuite/libffi.go/ |
D | closure1.c | 5 void doit(ffi_cif *cif, void *rvalue, void **avalue, void *closure) in doit() 16 ffi_cif cif; in main() local
|
/third_party/libffi/src/x86/ |
D | ffi.c | 63 ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 259 ffi_call_int (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_int() 395 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 401 ffi_call_go (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_call_go() 417 ffi_cif *cif; /* 28 */ member 425 ffi_cif *cif = frame->cif; in ffi_closure_inner() local 531 ffi_cif* cif, in ffi_prep_closure_loc() 580 ffi_prep_go_closure (ffi_go_closure* closure, ffi_cif* cif, in ffi_prep_go_closure() 620 ffi_cif *cif, in ffi_prep_raw_closure_loc() 669 ffi_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *avalue) in ffi_raw_call()
|
/third_party/libffi/src/frv/ |
D | ffi.c | 114 ffi_status ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 132 void ffi_call(ffi_cif *cif, in ffi_call() 184 ffi_cif *cif = closure->cif; in ffi_closure_eabi() local 250 ffi_cif* cif, in ffi_prep_closure_loc()
|
/third_party/libffi/src/avr32/ |
D | ffi.c | 177 ffi_status ffi_prep_cif_machdep(ffi_cif *cif) in ffi_prep_cif_machdep() 235 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() 270 void **avalue, ffi_cif *cif) in ffi_prep_incoming_args_SYSV() 370 ffi_cif *cif; in ffi_closure_SYSV_inner() local 394 ffi_status ffi_prep_closure_loc(ffi_closure* closure, ffi_cif* cif, in ffi_prep_closure_loc()
|