/external/libffi/testsuite/libffi.call/ |
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_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_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_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_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_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_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_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()
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
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_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_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_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_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_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_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_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()
|