/third_party/libffi/testsuite/libffi.closures/ |
D | closure_loc_fn0.c | 52 ffi_closure *pcl; in main() local 79 pcl = ffi_closure_alloc(sizeof(ffi_closure), &codeloc); in main() 80 CHECK(pcl != NULL); in main() 83 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_loc_test_fn0, in main() 86 CHECK(memcmp(pcl, codeloc, sizeof(*pcl)) == 0); in main()
|
D | unwindtest.cc | 55 ffi_closure *pcl = (ffi_closure *)ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 63 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_fn, NULL, code) == FFI_OK); in main() 101 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_fn1, in main()
|
D | err_bad_abi.c | 20 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 33 CHECK(ffi_prep_closure_loc(pcl, &cif, dummy_fn, NULL, code) == FFI_BAD_ABI); in main()
|
D | cls_double.c | 24 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_double_fn, NULL, code) == FFI_OK); in main()
|
D | cls_float.c | 25 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 36 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_float_fn, NULL, code) == FFI_OK); in main()
|
D | cls_uchar.c | 23 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 34 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_uchar_fn, NULL, code) == FFI_OK); in main()
|
D | cls_sshort.c | 23 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 34 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_sshort_fn, NULL, code) == FFI_OK); in main()
|
D | cls_schar.c | 25 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 36 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_schar_fn, NULL, code) == FFI_OK); in main()
|
D | cls_sint.c | 23 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 34 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_sint_fn, NULL, code) == FFI_OK); in main()
|
D | cls_uint.c | 24 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_uint_fn, NULL, code) == FFI_OK); in main()
|
D | cls_ushort.c | 24 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ushort_fn, NULL, code) == FFI_OK); in main()
|
D | cls_ulong_va.c | 27 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 39 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
|
D | cls_ulonglong.c | 25 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ulonglong_fn, NULL, code) == FFI_OK); in main()
|
D | cls_ushort_va.c | 26 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 38 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
|
D | cls_uchar_va.c | 26 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 38 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
|
D | cls_uint_va.c | 27 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 39 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
|
D | closure_simple.c | 31 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 45 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test, in main()
|
D | cls_double_va.c | 27 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 52 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_double_va_fn, NULL, in main()
|
D | cls_longdouble_va.c | 27 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 52 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_longdouble_va_fn, NULL, in main()
|
D | cls_dbls_struct.c | 34 ffi_closure* pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 57 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_gn, NULL, code) == FFI_OK); in main()
|
D | cls_many_mixed_args.c | 44 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 62 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_double_fn, NULL, code) == FFI_OK); in main()
|
D | cls_pointer.c | 36 ffi_closure* pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 66 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_pointer_gn, NULL, code) == FFI_OK); in main()
|
D | cls_multi_schar.c | 40 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 66 CHECK(ffi_prep_closure_loc(pcl, &cif, test_func_gn, NULL, code) == FFI_OK); in main()
|
D | cls_multi_ushort.c | 40 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 66 CHECK(ffi_prep_closure_loc(pcl, &cif, test_func_gn, NULL, code) == FFI_OK); in main()
|
D | cls_multi_sshort.c | 40 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); in main() local 66 CHECK(ffi_prep_closure_loc(pcl, &cif, test_func_gn, NULL, code) == FFI_OK); in main()
|