Home
last modified time | relevance | path

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

1234

/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/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_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_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_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_ushort_va.c15 *(ffi_arg *)resp = *(T *)args[0]; in cls_ret_T_fn()
17 printf("%d: %d %d\n", (int)(*(ffi_arg *)resp), *(T *)args[0], *(T *)args[1]); in cls_ret_T_fn()
Dcls_uchar_va.c15 *(ffi_arg *)resp = *(T *)args[0]; in cls_ret_T_fn()
17 printf("%d: %d %d\n", (int)(*(ffi_arg *)resp), *(T *)args[0], *(T *)args[1]); in cls_ret_T_fn()
Dcls_uint_va.c16 *(ffi_arg *)resp = *(T *)args[0]; in cls_ret_T_fn()
18 printf("%d: %d %d\n", (int)*(ffi_arg *)resp, *(T *)args[0], *(T *)args[1]); in cls_ret_T_fn()
Dclosure_simple.c13 *(ffi_arg*)resp = in closure_test()
21 (int)*(ffi_arg *)resp); in closure_test()
Dcls_double_va.c20 *(ffi_arg*)resp = printf(format, doubleValue); in cls_double_va_fn()
33 ffi_arg res = 0; in main()
Dcls_longdouble_va.c20 *(ffi_arg*)resp = printf(format, ldValue); in cls_longdouble_va_fn()
33 ffi_arg res = 0; in main()
Dclosure_fn4.c17 *(ffi_arg*)resp = in closure_test_fn0()
47 (int)(intptr_t)userdata, (int)*(ffi_arg *)resp); in closure_test_fn0()
Dcls_multi_sshort.c30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn()
43 ffi_arg res_call; in main()
Dcls_multi_schar.c30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn()
43 ffi_arg res_call; in main()
Dcls_pointer.c48 ffi_arg res = 0; in main()
68 res = (ffi_arg)(uintptr_t)((void*(*)(void*, void*))(code))(arg1, arg2); in main()
Dcls_multi_ushort.c30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn()
43 ffi_arg res_call; in main()
Dclosure_fn5.c16 *(ffi_arg*)resp = in closure_test_fn5()
46 (int)(intptr_t)userdata, (int)*(ffi_arg *)resp); in closure_test_fn5()
Dclosure_fn2.c15 *(ffi_arg*)resp = in closure_test_fn2()
34 (int)*(ffi_arg *)resp); in closure_test_fn2()
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffitarget.h40 typedef unsigned long ffi_arg; typedef
42 typedef unsigned __int64 ffi_arg; typedef

1234