Home
last modified time | relevance | path

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

1234567891011

/external/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/python/cpython3/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/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/x86/
Dffi.c136 *(ffi_arg *) argp = (ffi_arg)*(UINT8 *)(* p_argv); in ffi_prep_args()
144 *(ffi_arg *) argp = (ffi_arg)*(UINT16 *)(* p_argv); in ffi_prep_args()
152 *(ffi_arg *) argp = (ffi_arg)*(UINT32 *)(* p_argv); in ffi_prep_args()
156 *(ffi_arg *) argp = *(ffi_arg *)(* p_argv); in ffi_prep_args()
208 ffi_arg tmp = *(ffi_arg*) p_stack_data[0]; in ffi_prep_args()
209 *(ffi_arg*) p_stack_data[0] = *(ffi_arg*) p_stack_data[stack_args_count - 1]; in ffi_prep_args()
210 *(ffi_arg*) p_stack_data[stack_args_count - 1] = tmp; in ffi_prep_args()
218 ffi_arg tmp = *(ffi_arg*) p_stack_data[i]; in ffi_prep_args()
220 *(ffi_arg *) argp2 = tmp; in ffi_prep_args()
Dffitarget.h60 typedef unsigned __int64 ffi_arg; typedef
63 typedef unsigned long long ffi_arg; typedef
70 typedef unsigned long long ffi_arg; typedef
73 typedef unsigned long ffi_arg; typedef
/external/python/cpython3/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/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/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_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_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()
/external/python/cpython3/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_sint.c13 *(ffi_arg*)resp = *(signed int *)args[0]; in cls_ret_sint_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_sint_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()
/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_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_sint.c13 *(ffi_arg*)resp = *(signed int *)args[0]; in cls_ret_sint_fn()
15 (int)*(ffi_arg *)(resp)); in cls_ret_sint_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()
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffitarget.h40 typedef unsigned long ffi_arg; typedef
42 typedef unsigned __int64 ffi_arg; typedef
/external/python/cpython3/Modules/_ctypes/libffi_msvc/
Dffitarget.h40 typedef unsigned long ffi_arg; typedef
42 typedef unsigned __int64 ffi_arg; typedef

1234567891011