Home
last modified time | relevance | path

Searched refs:FFI_OK (Results 1 – 25 of 215) sorted by relevance

123456789

/third_party/libffi/testsuite/libffi.closures/
Dunwindtest.cc62 &ffi_type_void, cl_arg_types) == FFI_OK); in main()
63 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_fn, NULL, code) == FFI_OK); in main()
99 &ffi_type_sint, cl_arg_types) == FFI_OK); in main()
102 (void *) 3 /* userdata */, code) == FFI_OK); in main()
Dcls_double.c33 &ffi_type_double, cl_arg_types) == FFI_OK); in main()
35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_double_fn, NULL, code) == FFI_OK); in main()
Dcls_float.c34 &ffi_type_float, cl_arg_types) == FFI_OK); in main()
36 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_float_fn, NULL, code) == FFI_OK); in main()
Dcls_uint.c33 &ffi_type_uint, cl_arg_types) == FFI_OK); in main()
35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_uint_fn, NULL, code) == FFI_OK); in main()
Dcls_sshort.c32 &ffi_type_sshort, cl_arg_types) == FFI_OK); in main()
34 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_sshort_fn, NULL, code) == FFI_OK); in main()
Dcls_uchar.c32 &ffi_type_uchar, cl_arg_types) == FFI_OK); in main()
34 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_uchar_fn, NULL, code) == FFI_OK); in main()
Dcls_schar.c34 &ffi_type_schar, cl_arg_types) == FFI_OK); in main()
36 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_schar_fn, NULL, code) == FFI_OK); in main()
Dcls_ushort.c33 &ffi_type_ushort, cl_arg_types) == FFI_OK); in main()
35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ushort_fn, NULL, code) == FFI_OK); in main()
Dcls_sint.c32 &ffi_type_sint, cl_arg_types) == FFI_OK); in main()
34 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_sint_fn, NULL, code) == FFI_OK); in main()
Dcls_ulong_va.c37 &ffi_type_ulong, cl_arg_types) == FFI_OK); in main()
39 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
Dcls_uchar_va.c36 &ffi_type_uchar, cl_arg_types) == FFI_OK); in main()
38 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
Dcls_ushort_va.c36 &ffi_type_ushort, cl_arg_types) == FFI_OK); in main()
38 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
Dcls_uint_va.c37 &ffi_type_uint, cl_arg_types) == FFI_OK); in main()
39 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_T_fn, NULL, code) == FFI_OK); in main()
Dcls_ulonglong.c34 &ffi_type_uint64, cl_arg_types) == FFI_OK); in main()
35 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_ret_ulonglong_fn, NULL, code) == FFI_OK); in main()
Dclosure_simple.c43 &ffi_type_sint, cl_arg_types) == FFI_OK); in main()
46 (void *) 3 /* userdata */, code) == FFI_OK); in main()
Dcls_double_va.c41 arg_types) == FFI_OK); in main()
53 code) == FFI_OK); in main()
Dcls_longdouble_va.c41 arg_types) == FFI_OK); in main()
53 code) == FFI_OK); in main()
Dcls_many_mixed_float_double.c47 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 12, &ffi_type_double, argtypes) == FFI_OK); in main()
48 CHECK(ffi_prep_closure_loc(closure, &cif, cls_mixed_float_double_fn, NULL, code) == FFI_OK); in main()
Dcls_dbls_struct.c55 &ffi_type_void, cl_arg_types) == FFI_OK); in main()
57 CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_gn, NULL, code) == FFI_OK); in main()
Dclosure_fn4.c76 &ffi_type_sint, cl_arg_types) == FFI_OK); in main()
79 (void *) 3 /* userdata */, code) == FFI_OK); in main()
Dcls_pointer.c55 arg_types) == FFI_OK); in main()
66 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_pointer_gn, NULL, code) == FFI_OK); in main()
/third_party/libffi/src/cris/
Dffi.c50 && (initialize_aggregate_packed_struct ((*ptr)) != FFI_OK)) in initialize_aggregate_packed_struct()
66 return FFI_OK; in initialize_aggregate_packed_struct()
179 && (initialize_aggregate_packed_struct (cif->rtype) != FFI_OK)) in ffi_prep_cif_core()
187 && (initialize_aggregate_packed_struct ((*ptr)) != FFI_OK)) in ffi_prep_cif_core()
237 return FFI_OK; in ffi_prep_cif_machdep()
385 return FFI_OK; in ffi_prep_closure_loc()
/third_party/python/Modules/_ctypes/libffi_osx/
Dffi.c51 if (((*ptr)->size == 0) && (initialize_aggregate(*ptr) != FFI_OK)) in initialize_aggregate()
92 return FFI_OK; in initialize_aggregate()
157 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) in ffi_prep_cif()
181 if (((*ptr)->size == 0) && (initialize_aggregate((*ptr)) != FFI_OK)) in ffi_prep_cif()
/third_party/libffi/src/
Dprep_cif.c55 && (initialize_aggregate((*ptr), NULL) != FFI_OK))) in initialize_aggregate()
91 return FFI_OK; in initialize_aggregate()
141 && (initialize_aggregate(cif->rtype, NULL) != FFI_OK)) in ffi_prep_cif_core()
173 && (initialize_aggregate((*ptr), NULL) != FFI_OK)) in ffi_prep_cif_core()
/third_party/libffi/testsuite/libffi.go/
Dclosure1.c20 CHECK(ffi_prep_cif(&cif, ABI_NUM, 0, &ffi_type_pointer, NULL) == FFI_OK); in main()
21 CHECK(ffi_prep_go_closure(&cl, &cif, doit) == FFI_OK); in main()

123456789