Home
last modified time | relevance | path

Searched refs:ffi_type (Results 1 – 25 of 226) sorted by relevance

12345678910

/third_party/python/Modules/_ctypes/libffi_osx/include/
Dffi.h145 } ffi_type; typedef
148 extern ffi_type ffi_type_void;
149 extern ffi_type ffi_type_uint8;
150 extern ffi_type ffi_type_sint8;
151 extern ffi_type ffi_type_uint16;
152 extern ffi_type ffi_type_sint16;
153 extern ffi_type ffi_type_uint32;
154 extern ffi_type ffi_type_sint32;
155 extern ffi_type ffi_type_uint64;
156 extern ffi_type ffi_type_sint64;
[all …]
/third_party/libffi/include/
Dffi-arm.h126 } ffi_type; typedef
178 FFI_EXTERN ffi_type ffi_type_void;
179 FFI_EXTERN ffi_type ffi_type_uint8;
180 FFI_EXTERN ffi_type ffi_type_sint8;
181 FFI_EXTERN ffi_type ffi_type_uint16;
182 FFI_EXTERN ffi_type ffi_type_sint16;
183 FFI_EXTERN ffi_type ffi_type_uint32;
184 FFI_EXTERN ffi_type ffi_type_sint32;
185 FFI_EXTERN ffi_type ffi_type_uint64;
186 FFI_EXTERN ffi_type ffi_type_sint64;
[all …]
Dffi-x86_64.h126 } ffi_type; typedef
178 FFI_EXTERN ffi_type ffi_type_void;
179 FFI_EXTERN ffi_type ffi_type_uint8;
180 FFI_EXTERN ffi_type ffi_type_sint8;
181 FFI_EXTERN ffi_type ffi_type_uint16;
182 FFI_EXTERN ffi_type ffi_type_sint16;
183 FFI_EXTERN ffi_type ffi_type_uint32;
184 FFI_EXTERN ffi_type ffi_type_sint32;
185 FFI_EXTERN ffi_type ffi_type_uint64;
186 FFI_EXTERN ffi_type ffi_type_sint64;
[all …]
Dffi-aarch64.h126 } ffi_type; typedef
178 FFI_EXTERN ffi_type ffi_type_void;
179 FFI_EXTERN ffi_type ffi_type_uint8;
180 FFI_EXTERN ffi_type ffi_type_sint8;
181 FFI_EXTERN ffi_type ffi_type_uint16;
182 FFI_EXTERN ffi_type ffi_type_sint16;
183 FFI_EXTERN ffi_type ffi_type_uint32;
184 FFI_EXTERN ffi_type ffi_type_sint32;
185 FFI_EXTERN ffi_type ffi_type_uint64;
186 FFI_EXTERN ffi_type ffi_type_sint64;
[all …]
Dffi.h.in109 } ffi_type; typedef
187 FFI_EXTERN ffi_type ffi_type_void;
188 FFI_EXTERN ffi_type ffi_type_uint8;
189 FFI_EXTERN ffi_type ffi_type_sint8;
190 FFI_EXTERN ffi_type ffi_type_uint16;
191 FFI_EXTERN ffi_type ffi_type_sint16;
192 FFI_EXTERN ffi_type ffi_type_uint32;
193 FFI_EXTERN ffi_type ffi_type_sint32;
194 FFI_EXTERN ffi_type ffi_type_uint64;
195 FFI_EXTERN ffi_type ffi_type_sint64;
[all …]
/third_party/libffi/msvc_build/aarch64/aarch64_include/
Dffi.h109 } ffi_type; typedef
187 FFI_EXTERN ffi_type ffi_type_void;
188 FFI_EXTERN ffi_type ffi_type_uint8;
189 FFI_EXTERN ffi_type ffi_type_sint8;
190 FFI_EXTERN ffi_type ffi_type_uint16;
191 FFI_EXTERN ffi_type ffi_type_sint16;
192 FFI_EXTERN ffi_type ffi_type_uint32;
193 FFI_EXTERN ffi_type ffi_type_sint32;
194 FFI_EXTERN ffi_type ffi_type_uint64;
195 FFI_EXTERN ffi_type ffi_type_sint64;
[all …]
/third_party/libffi/testsuite/libffi.bhaible/
Dtest-call.c72 static ffi_type ffi_type_char;
150 ffi_type* argtypes[] = { &ffi_type_sint }; in int_tests()
169 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint }; in int_tests()
188 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint }; in int_tests()
207ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in int_tests()
226ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in int_tests()
252 ffi_type* argtypes[] = { &ffi_type_float }; in float_tests()
270 ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float }; in float_tests()
288 ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_type_float }; in float_tests()
306ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_… in float_tests()
[all …]
Dtest-callback.c72 static ffi_type ffi_type_char;
1311 ffi_type* argtypes[] = { &ffi_type_sint }; in main()
1329 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint }; in main()
1347 ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint }; in main()
1365ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in main()
1383ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in main()
1405 ffi_type* argtypes[] = { &ffi_type_float }; in main()
1423 ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float }; in main()
1441 ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_type_float }; in main()
1459ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_… in main()
[all …]
/third_party/libffi/src/
Dtypes.c42 maybe_const ffi_type ffi_type_##name = { \
49 static ffi_type *ffi_elements_complex_##name [2] = { \
50 (ffi_type *)(&ffi_type_##name), NULL \
57 maybe_const ffi_type ffi_type_complex_##name = { \
61 (ffi_type **)ffi_elements_complex_##name \
65 FFI_EXTERN const ffi_type ffi_type_void = {
97 const ffi_type ffi_type_longdouble = { 16, 16, 4, NULL };
Dprep_cif.c37 static ffi_status initialize_aggregate(ffi_type *arg, size_t *offsets) in initialize_aggregate()
39 ffi_type **ptr; in initialize_aggregate()
113 ffi_type *rtype, ffi_type **atypes) in ffi_prep_cif_core()
117 ffi_type **ptr; in ffi_prep_cif_core()
222 ffi_type *rtype, ffi_type **atypes) in ffi_prep_cif()
231 ffi_type *rtype, in ffi_prep_cif_var()
232 ffi_type **atypes) in ffi_prep_cif_var()
251 ffi_get_struct_offsets (ffi_abi abi, ffi_type *struct_type, size_t *offsets) in ffi_get_struct_offsets()
/third_party/libffi/testsuite/libffi.call/
Dpyobjc-tc.c35 ffi_type point_type; in main()
36 ffi_type size_type; in main()
37 ffi_type rect_type; in main()
39 ffi_type* arglist[6]; in main()
50 point_type.elements = malloc(3 * sizeof(ffi_type*)); in main()
58 size_type.elements = malloc(3 * sizeof(ffi_type*)); in main()
66 rect_type.elements = malloc(3 * sizeof(ffi_type*)); in main()
Dva_struct1.c51 ffi_type* arg_types[5]; in main()
53 ffi_type s_type; in main()
54 ffi_type *s_type_elements[3]; in main()
56 ffi_type l_type; in main()
57 ffi_type *l_type_elements[6]; in main()
Dva_struct2.c53 ffi_type* arg_types[5]; in main()
55 ffi_type s_type; in main()
56 ffi_type *s_type_elements[3]; in main()
58 ffi_type l_type; in main()
59 ffi_type *l_type_elements[6]; in main()
Dva_struct3.c55 ffi_type* arg_types[5]; in main()
57 ffi_type s_type; in main()
58 ffi_type *s_type_elements[3]; in main()
60 ffi_type l_type; in main()
61 ffi_type *l_type_elements[6]; in main()
/third_party/libffi/testsuite/libffi.complex/
Dcomplex_int.c29 static ffi_type *ffi_elements_complex_##name [2] = { \
30 (ffi_type *)(&ffitype), NULL \
36 ffi_type ffi_type_complex_##name = { \
40 (ffi_type **)ffi_elements_complex_##name \
52 ffi_type *args[MAX_ARGS]; in main()
/third_party/libffi/src/powerpc/
Dffi_darwin.c101 (ffi_type *, char *, unsigned, unsigned *, double **, unsigned long **);
131 ffi_type** ptr = ecif->cif->arg_types; in ffi_prep_args()
318 darwin64_scan_struct_for_floats (ffi_type *s, unsigned *nfpr) in darwin64_scan_struct_for_floats()
326 ffi_type *p = s->elements[i]; in darwin64_scan_struct_for_floats()
346 darwin64_struct_size_exceeds_gprs_p (ffi_type *s, char *src, unsigned *nfpr) in darwin64_struct_size_exceeds_gprs_p()
353 ffi_type *p = s->elements[i]; in darwin64_struct_size_exceeds_gprs_p()
397 darwin64_struct_ret_by_value_p (ffi_type *s) in darwin64_struct_ret_by_value_p()
426 darwin64_pass_struct_floats (ffi_type *s, char *src, in darwin64_pass_struct_floats()
437 ffi_type *p = s->elements[i]; in darwin64_pass_struct_floats()
478 darwin64_pass_struct_by_value (ffi_type *s, char *src, unsigned size, in darwin64_pass_struct_by_value()
[all …]
/third_party/libffi/src/arm/
Dffi.c59 static int vfp_type_p (const ffi_type *);
63 ffi_align (ffi_type *ty, void *p) in ffi_align()
78 ffi_put_arg (ffi_type *ty, void *src, void *dst) in ffi_put_arg()
144 ffi_type **arg_types = cif->arg_types; in ffi_prep_args_SYSV()
155 ffi_type *ty = arg_types[i]; in ffi_prep_args_SYSV()
165 ffi_type **arg_types = cif->arg_types; in ffi_prep_args_VFP()
186 ffi_type *ty = arg_types[i]; in ffi_prep_args_VFP()
356 ffi_type *rtype = cif->rtype; in ffi_call_int()
435 ffi_type **arg_types = cif->arg_types; in ffi_prep_incoming_args_SYSV()
451 ffi_type *ty = arg_types[i]; in ffi_prep_incoming_args_SYSV()
[all …]
/third_party/libffi/testsuite/libffi.closures/
Dcls_struct_va1.c47 ffi_type* arg_types[5]; in main()
51 ffi_type s_type; in main()
52 ffi_type *s_type_elements[3]; in main()
54 ffi_type l_type; in main()
55 ffi_type *l_type_elements[6]; in main()
Dnested_struct11.c52 ffi_type* struct_fields_source_a[3]; in main()
53 ffi_type* struct_fields_source_b[3]; in main()
54 ffi_type* struct_fields_source_c[3]; in main()
55 ffi_type* arg_types[8]; in main()
57 ffi_type struct_type_a, struct_type_b, struct_type_c; in main()
Dnested_struct6.c63 ffi_type* cls_struct_fields[3]; in main()
64 ffi_type* cls_struct_fields1[3]; in main()
65 ffi_type* cls_struct_fields2[3]; in main()
66 ffi_type cls_struct_type, cls_struct_type1, cls_struct_type2; in main()
67 ffi_type* dbl_arg_types[4]; in main()
/third_party/python/Modules/_ctypes/
Dstgdict.c62 res += (self->length + 1) * sizeof(ffi_type *); in PyCStgDict_sizeof()
112 size = sizeof(ffi_type *) * (src->length + 1); in PyCStgDict_clone()
456 stgdict->ffi_type_pointer.elements = PyMem_New(ffi_type *, basedict->length + len + 1); in PyCStructUnionType_update_stgdict()
462 sizeof(ffi_type *) * (basedict->length + len + 1)); in PyCStructUnionType_update_stgdict()
466 sizeof(ffi_type *) * (basedict->length)); in PyCStructUnionType_update_stgdict()
476 stgdict->ffi_type_pointer.elements = PyMem_New(ffi_type *, len + 1); in PyCStructUnionType_update_stgdict()
482 sizeof(ffi_type *) * (len + 1)); in PyCStructUnionType_update_stgdict()
712 ffi_type **element_types; /* of this struct/union */ in PyCStructUnionType_update_stgdict()
713 ffi_type **dummy_types; /* of the dummy struct elements */ in PyCStructUnionType_update_stgdict()
714 ffi_type *structs; /* point to struct aliases of arrays */ in PyCStructUnionType_update_stgdict()
[all …]
/third_party/python/Modules/_ctypes/libffi_osx/
Dffi.c38 /*@out@*/ ffi_type* arg) in initialize_aggregate()
41 ffi_type** ptr; in initialize_aggregate()
136 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type* rtype, in ffi_prep_cif()
137 /*@dependent@*/ ffi_type** atypes) in ffi_prep_cif()
141 ffi_type** ptr; in ffi_prep_cif()
/third_party/libffi/doc/
Dlibffi.info135 unsigned int NARGS, ffi_type *RTYPE, ffi_type **ARGTYPES)
143 RTYPE is a pointer to an 'ffi_type' structure that describes the
146 ARGTYPES is a vector of 'ffi_type' pointers. ARGTYPES must have
151 properly; 'FFI_BAD_TYPEDEF' if one of the 'ffi_type' objects is
158 unsigned int NFIXEDARGS, unsigned int NTOTALARGS, ffi_type
159 *RTYPE, ffi_type **ARGTYPES)
178 'ffi_type' objects that were used during initialization. You must
235 ffi_type *args[1];
367 Each of these is of type 'ffi_type', so you must take the address
377 first describe the structure to 'libffi' by creating a new 'ffi_type'
[all …]
Dlibffi.texi142 …cif *@var{cif}, ffi_abi @var{abi}, unsigned int @var{nargs}, ffi_type *@var{rtype}, ffi_type **@va…
150 @var{rtype} is a pointer to an @code{ffi_type} structure that
153 @var{argtypes} is a vector of @code{ffi_type} pointers.
159 worked properly; @code{FFI_BAD_TYPEDEF} if one of the @code{ffi_type}
168 …nsigned int @var{nfixedargs}, unsigned int @var{ntotalargs}, ffi_type *@var{rtype}, ffi_type **@va…
189 @code{ffi_type} objects that were used during initialization. You
248 ffi_type *args[1];
402 Each of these is of type @code{ffi_type}, so you must take the address
411 new @code{ffi_type} object for it.
413 @tindex ffi_type
[all …]
/third_party/libffi/src/cris/
Dffi.c35 initialize_aggregate_packed_struct (ffi_type * arg) in initialize_aggregate_packed_struct()
37 ffi_type **ptr; in initialize_aggregate_packed_struct()
76 ffi_type **p_arg; in ffi_prep_args()
160 ffi_type * rtype, ffi_type ** atypes) in ffi_prep_cif_core()
164 ffi_type **ptr; in ffi_prep_cif_core()
304 ffi_type **arg_types = cif->arg_types; in ffi_prep_closure_inner()

12345678910