/external/python/cpython2/Modules/_ctypes/libffi/src/mips/ |
D | ffi.c | 84 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 …]
|
D | ffitarget.h | 175 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/ |
D | ffitarget.h | 57 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
|
D | ffi.c | 99 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/ |
D | unwindtest.cc | 23 *(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()
|
D | cls_sint.c | 13 *(ffi_arg*)resp = *(signed int *)args[0]; in cls_ret_sint_fn() 15 (int)*(ffi_arg *)(resp)); in cls_ret_sint_fn()
|
D | cls_schar.c | 15 *(ffi_arg*)resp = *(signed char *)args[0]; in cls_ret_schar_fn() 17 (int)*(ffi_arg *)(resp)); in cls_ret_schar_fn()
|
D | cls_uint.c | 13 *(ffi_arg *)resp = *(unsigned int *)args[0]; in cls_ret_uint_fn() 16 (int)*(ffi_arg *)(resp)); in cls_ret_uint_fn()
|
D | cls_uchar.c | 13 *(ffi_arg*)resp = *(unsigned char *)args[0]; in cls_ret_uchar_fn() 15 (int)*(ffi_arg *)(resp)); in cls_ret_uchar_fn()
|
D | cls_sshort.c | 13 *(ffi_arg*)resp = *(signed short *)args[0]; in cls_ret_sshort_fn() 15 (int)*(ffi_arg *)(resp)); in cls_ret_sshort_fn()
|
D | cls_ushort.c | 13 *(ffi_arg*)resp = *(unsigned short *)args[0]; in cls_ret_ushort_fn() 16 (int)*(ffi_arg *)(resp)); in cls_ret_ushort_fn()
|
D | cls_ushort_va.c | 15 *(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()
|
D | cls_uchar_va.c | 15 *(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()
|
D | cls_uint_va.c | 16 *(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()
|
D | closure_simple.c | 13 *(ffi_arg*)resp = in closure_test() 21 (int)*(ffi_arg *)resp); in closure_test()
|
D | cls_double_va.c | 20 *(ffi_arg*)resp = printf(format, doubleValue); in cls_double_va_fn() 33 ffi_arg res = 0; in main()
|
D | cls_longdouble_va.c | 20 *(ffi_arg*)resp = printf(format, ldValue); in cls_longdouble_va_fn() 33 ffi_arg res = 0; in main()
|
D | closure_fn4.c | 17 *(ffi_arg*)resp = in closure_test_fn0() 47 (int)(intptr_t)userdata, (int)*(ffi_arg *)resp); in closure_test_fn0()
|
D | cls_multi_sshort.c | 30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn() 43 ffi_arg res_call; in main()
|
D | cls_multi_schar.c | 30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn() 43 ffi_arg res_call; in main()
|
D | cls_pointer.c | 48 ffi_arg res = 0; in main() 68 res = (ffi_arg)(uintptr_t)((void*(*)(void*, void*))(code))(arg1, arg2); in main()
|
D | cls_multi_ushort.c | 30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn() 43 ffi_arg res_call; in main()
|
D | closure_fn5.c | 16 *(ffi_arg*)resp = in closure_test_fn5() 46 (int)(intptr_t)userdata, (int)*(ffi_arg *)resp); in closure_test_fn5()
|
D | closure_fn2.c | 15 *(ffi_arg*)resp = in closure_test_fn2() 34 (int)*(ffi_arg *)resp); in closure_test_fn2()
|
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
D | ffitarget.h | 40 typedef unsigned long ffi_arg; typedef 42 typedef unsigned __int64 ffi_arg; typedef
|