Home
last modified time | relevance | path

Searched refs:ffi_arg (Results 1 – 25 of 228) sorted by relevance

12345678910

/external/python/cpython2/Modules/_ctypes/libffi/src/mips/
Dffi.c84 if (bytes > 8 * sizeof(ffi_arg)) in ffi_prep_args()
85 argp = &stack[bytes - (8 * sizeof(ffi_arg))]; in ffi_prep_args()
100 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; in ffi_prep_args()
101 argp += sizeof(ffi_arg); in ffi_prep_args()
114 if (a < sizeof(ffi_arg)) in ffi_prep_args()
115 a = sizeof(ffi_arg); in ffi_prep_args()
124 if (z <= sizeof(ffi_arg)) in ffi_prep_args()
127 z = sizeof(ffi_arg); in ffi_prep_args()
153 *(ffi_arg *)argp = *(SINT8 *)(* p_argv); in ffi_prep_args()
157 *(ffi_arg *)argp = *(UINT8 *)(* p_argv); in ffi_prep_args()
[all …]
Dffitarget.h175 typedef unsigned int ffi_arg __attribute__((__mode__(__SI__))); typedef
179 typedef unsigned int ffi_arg __attribute__((__mode__(__DI__))); typedef
185 typedef __uint32_t ffi_arg; typedef
189 typedef __uint64_t ffi_arg; typedef
/external/libffi/src/mips/
Dffi.c85 if (bytes > 8 * sizeof(ffi_arg)) in ffi_prep_args()
86 argp = &stack[bytes - (8 * sizeof(ffi_arg))]; in ffi_prep_args()
101 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; in ffi_prep_args()
102 argp += sizeof(ffi_arg); in ffi_prep_args()
115 if (a < sizeof(ffi_arg)) in ffi_prep_args()
116 a = sizeof(ffi_arg); in ffi_prep_args()
125 if (z <= sizeof(ffi_arg)) in ffi_prep_args()
128 z = sizeof(ffi_arg); in ffi_prep_args()
154 *(ffi_arg *)argp = *(SINT8 *)(* p_argv); in ffi_prep_args()
158 *(ffi_arg *)argp = *(UINT8 *)(* p_argv); in ffi_prep_args()
[all …]
Dffitarget.h175 typedef unsigned int ffi_arg __attribute__((__mode__(__SI__))); typedef
179 typedef unsigned int ffi_arg __attribute__((__mode__(__DI__))); typedef
185 typedef __uint32_t ffi_arg; typedef
189 typedef __uint64_t ffi_arg; typedef
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/
Dffitarget.h57 typedef unsigned __int64 ffi_arg; typedef
60 typedef unsigned long long ffi_arg; typedef
67 typedef unsigned long long ffi_arg; typedef
70 typedef unsigned long ffi_arg; typedef
Dffi.c99 if (z > sizeof(ffi_arg) in ffi_prep_args()
107 z = sizeof(ffi_arg); in ffi_prep_args()
116 if (z < sizeof(ffi_arg)) in ffi_prep_args()
118 z = sizeof(ffi_arg); in ffi_prep_args()
126 *(ffi_arg *) argp = (ffi_arg)*(UINT8 *)(* p_argv); in ffi_prep_args()
134 *(ffi_arg *) argp = (ffi_arg)*(UINT16 *)(* p_argv); in ffi_prep_args()
142 *(ffi_arg *) argp = (ffi_arg)*(UINT32 *)(* p_argv); in ffi_prep_args()
146 *(ffi_arg *) argp = *(ffi_arg *)(* p_argv); in ffi_prep_args()
317 cif->bytes += 4 * sizeof(ffi_arg); in ffi_prep_cif_machdep()
524 if (cif->rtype->size > sizeof(ffi_arg) in ffi_prep_incoming_args_SYSV()
[all …]
/external/libffi/src/x86/
Dffitarget.h62 typedef unsigned __int64 ffi_arg; typedef
65 typedef unsigned long long ffi_arg; typedef
72 typedef unsigned long long ffi_arg; typedef
75 typedef unsigned long ffi_arg; typedef
/external/libffi/src/aarch64/
Dffitarget.h33 typedef unsigned long long ffi_arg; typedef
37 typedef unsigned long long ffi_arg; typedef
40 typedef unsigned long ffi_arg; typedef
/external/libffi/testsuite/libffi.closures/
Dunwindtest.cc23 *(ffi_arg*)resp = in closure_test_fn1()
42 (int)(intptr_t)userdata, (int)*(ffi_arg*)resp); in closure_test_fn1()
44 throw (int)*(ffi_arg*)resp; in closure_test_fn1()
Dcls_uchar.c13 *(ffi_arg*)resp = *(unsigned char *)args[0]; in cls_ret_uchar_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_uchar_fn()
Dcls_sshort.c13 *(ffi_arg*)resp = *(signed short *)args[0]; in cls_ret_sshort_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_sshort_fn()
Dcls_ushort.c13 *(ffi_arg*)resp = *(unsigned short *)args[0]; in cls_ret_ushort_fn()
16 (int)*(ffi_arg *)(resp)); in cls_ret_ushort_fn()
Dcls_sint.c13 *(ffi_arg*)resp = *(signed int *)args[0]; in cls_ret_sint_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_sint_fn()
/external/libffi/testsuite/libffi.call/
Dunwindtest.cc23 *(ffi_arg*)resp = in closure_test_fn1()
42 (int)(intptr_t)userdata, (int)*(ffi_arg*)resp); in closure_test_fn1()
44 throw (int)*(ffi_arg*)resp; in closure_test_fn1()
Dcls_ushort.c13 *(ffi_arg*)resp = *(unsigned short *)args[0]; in cls_ret_ushort_fn()
16 (int)*(ffi_arg *)(resp)); in cls_ret_ushort_fn()
Dcls_uchar.c13 *(ffi_arg*)resp = *(unsigned char *)args[0]; in cls_ret_uchar_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_uchar_fn()
Dcls_sshort.c13 *(ffi_arg*)resp = *(signed short *)args[0]; in cls_ret_sshort_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_sshort_fn()
Dcls_schar.c15 *(ffi_arg*)resp = *(signed char *)args[0]; in cls_ret_schar_fn()
17 (int)*(ffi_arg *)(resp)); in cls_ret_schar_fn()
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dunwindtest.cc23 *(ffi_arg*)resp = in closure_test_fn1()
42 (int)(intptr_t)userdata, (int)*(ffi_arg*)resp); in closure_test_fn1()
44 throw (int)*(ffi_arg*)resp; in closure_test_fn1()
Dcls_uchar.c13 *(ffi_arg*)resp = *(unsigned char *)args[0]; in cls_ret_uchar_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_uchar_fn()
Dcls_schar.c15 *(ffi_arg*)resp = *(signed char *)args[0]; in cls_ret_schar_fn()
17 (int)*(ffi_arg *)(resp)); in cls_ret_schar_fn()
Dcls_uint.c13 *(ffi_arg *)resp = *(unsigned int *)args[0]; in cls_ret_uint_fn()
16 (int)*(ffi_arg *)(resp)); in cls_ret_uint_fn()
Dcls_sshort.c13 *(ffi_arg*)resp = *(signed short *)args[0]; in cls_ret_sshort_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_sshort_fn()
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffitarget.h40 typedef unsigned long ffi_arg; typedef
42 typedef unsigned __int64 ffi_arg; typedef
/external/python/cffi/c/libffi_msvc/
Dffitarget.h40 typedef unsigned long ffi_arg; typedef
42 typedef unsigned __int64 ffi_arg; typedef

12345678910