/third_party/python/Modules/_ctypes/libffi_osx/include/ |
D | ffi.h | 145 } 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/ |
D | ffi-arm.h | 126 } 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 …]
|
D | ffi-x86_64.h | 126 } 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 …]
|
D | ffi-aarch64.h | 126 } 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 …]
|
D | ffi.h.in | 109 } 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/ |
D | ffi.h | 109 } 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/ |
D | test-call.c | 72 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() 207 …ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in int_tests() 226 …ffi_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() 306 …ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_… in float_tests() [all …]
|
D | test-callback.c | 72 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() 1365 …ffi_type* argtypes[] = { &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type_sint, &ffi_type… in main() 1383 …ffi_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() 1459 …ffi_type* argtypes[] = { &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_type_float, &ffi_… in main() [all …]
|
/third_party/libffi/src/ |
D | types.c | 42 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 };
|
D | prep_cif.c | 37 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/ |
D | pyobjc-tc.c | 35 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()
|
D | va_struct1.c | 51 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()
|
D | va_struct2.c | 53 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()
|
D | va_struct3.c | 55 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/ |
D | complex_int.c | 29 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/ |
D | ffi_darwin.c | 101 (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/ |
D | ffi.c | 59 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/ |
D | cls_struct_va1.c | 47 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()
|
D | nested_struct11.c | 52 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()
|
D | nested_struct6.c | 63 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/ |
D | stgdict.c | 62 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/ |
D | ffi.c | 38 /*@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/ |
D | libffi.info | 135 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 …]
|
D | libffi.texi | 142 …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/ |
D | ffi.c | 35 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()
|