Home
last modified time | relevance | path

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

123456789

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

123456789