Home
last modified time | relevance | path

Searched refs:pcl (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/libffi/testsuite/libffi.closures/
Dclosure_loc_fn0.c52 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()
Dunwindtest.cc55 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()
Derr_bad_abi.c20 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()
Dcls_double.c24 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()
Dcls_float.c25 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()
Dcls_uchar.c23 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()
Dcls_sshort.c23 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()
Dcls_schar.c25 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()
Dcls_sint.c23 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()
Dcls_uint.c24 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()
Dcls_ushort.c24 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()
Dcls_ulong_va.c27 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()
Dcls_ulonglong.c25 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()
Dcls_ushort_va.c26 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()
Dcls_uchar_va.c26 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()
Dcls_uint_va.c27 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()
Dclosure_simple.c31 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()
Dcls_double_va.c27 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()
Dcls_longdouble_va.c27 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()
Dcls_dbls_struct.c34 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()
Dcls_many_mixed_args.c44 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()
Dcls_pointer.c36 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()
Dcls_multi_schar.c40 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()
Dcls_multi_ushort.c40 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()
Dcls_multi_sshort.c40 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()

12345