Home
last modified time | relevance | path

Searched refs:argp (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/external/python/cpython2/Modules/_ctypes/libffi/src/alpha/
Dffi.c82 unsigned long *stack, *argp; in ffi_call() local
93 argp = stack = alloca(cif->bytes + 4*FFI_SIZEOF_ARG); in ffi_call()
96 *(void **) argp++ = rvalue; in ffi_call()
109 *(SINT64 *) argp = *(SINT8 *)(* avalue); in ffi_call()
113 *(SINT64 *) argp = *(UINT8 *)(* avalue); in ffi_call()
117 *(SINT64 *) argp = *(SINT16 *)(* avalue); in ffi_call()
121 *(SINT64 *) argp = *(UINT16 *)(* avalue); in ffi_call()
127 *(SINT64 *) argp = *(SINT32 *)(* avalue); in ffi_call()
133 *(UINT64 *) argp = *(UINT64 *)(* avalue); in ffi_call()
137 if (argp - stack < 6) in ffi_call()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/
Dffi.c45 register char *argp; in ffi_prep_args() local
48 argp = stack; in ffi_prep_args()
51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
52 argp += 4; in ffi_prep_args()
69 if ((argalign - 1) & (unsigned) argp) { in ffi_prep_args()
70 argp = (char *) ALIGN(argp, argalign); in ffi_prep_args()
80 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
84 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
88 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
92 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/arc/
Dffi.c51 char *argp; in ffi_prep_args() local
55 argp = stack; in ffi_prep_args()
59 *(void **) argp = ecif->rvalue; in ffi_prep_args()
60 argp += 4; in ffi_prep_args()
75 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args()
76 argp = (char *) ALIGN (argp, alignment); in ffi_prep_args()
86 *(signed int *) argp = (signed int) *(SINT8 *) (*p_argv); in ffi_prep_args()
90 *(unsigned int *) argp = (unsigned int) *(UINT8 *) (*p_argv); in ffi_prep_args()
94 *(signed int *) argp = (signed int) *(SINT16 *) (*p_argv); in ffi_prep_args()
98 *(unsigned int *) argp = (unsigned int) *(UINT16 *) (*p_argv); in ffi_prep_args()
[all …]
/external/libffi/src/arc/
Dffi.c50 char *argp; in ffi_prep_args() local
53 argp = stack; in ffi_prep_args()
57 *(void **) argp = ecif->rvalue; in ffi_prep_args()
58 argp += 4; in ffi_prep_args()
73 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args()
74 argp = (char *) FFI_ALIGN (argp, alignment); in ffi_prep_args()
84 *(signed int *) argp = (signed int) *(SINT8 *) (*p_argv); in ffi_prep_args()
88 *(unsigned int *) argp = (unsigned int) *(UINT8 *) (*p_argv); in ffi_prep_args()
92 *(signed int *) argp = (signed int) *(SINT16 *) (*p_argv); in ffi_prep_args()
96 *(unsigned int *) argp = (unsigned int) *(UINT16 *) (*p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/nios2/
Dffi.c83 char *argp = stack; in ffi_prep_args() local
91 (*(void **) argp) = ecif->rvalue; in ffi_prep_args()
92 argp += 4; in ffi_prep_args()
103 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args()
104 argp = (char *) ALIGN (argp, alignment); in ffi_prep_args()
114 *(signed int *) argp = (signed int) *(SINT8 *) avalue; in ffi_prep_args()
118 *(unsigned int *) argp = (unsigned int) *(UINT8 *) avalue; in ffi_prep_args()
122 *(signed int *) argp = (signed int) *(SINT16 *) avalue; in ffi_prep_args()
126 *(unsigned int *) argp = (unsigned int) *(UINT16 *) avalue; in ffi_prep_args()
130 memcpy (argp, avalue, atype->size); in ffi_prep_args()
[all …]
/external/libffi/src/nios2/
Dffi.c83 char *argp = stack; in ffi_prep_args() local
91 (*(void **) argp) = ecif->rvalue; in ffi_prep_args()
92 argp += 4; in ffi_prep_args()
103 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args()
104 argp = (char *) FFI_ALIGN (argp, alignment); in ffi_prep_args()
114 *(signed int *) argp = (signed int) *(SINT8 *) avalue; in ffi_prep_args()
118 *(unsigned int *) argp = (unsigned int) *(UINT8 *) avalue; in ffi_prep_args()
122 *(signed int *) argp = (signed int) *(SINT16 *) avalue; in ffi_prep_args()
126 *(unsigned int *) argp = (unsigned int) *(UINT16 *) avalue; in ffi_prep_args()
130 memcpy (argp, avalue, atype->size); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffi.c45 register char *argp; in ffi_prep_args() local
48 argp = stack; in ffi_prep_args()
51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
52 argp += sizeof(void *); in ffi_prep_args()
64 if ((sizeof(void *) - 1) & (size_t) argp) in ffi_prep_args()
65 argp = (char *) ALIGN(argp, sizeof(void *)); in ffi_prep_args()
74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cffi/c/libffi_msvc/
Dffi.c45 register char *argp; in ffi_prep_args() local
48 argp = stack; in ffi_prep_args()
51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
52 argp += sizeof(void *); in ffi_prep_args()
64 if ((sizeof(void *) - 1) & (size_t) argp) in ffi_prep_args()
65 argp = (char *) ALIGN(argp, sizeof(void *)); in ffi_prep_args()
74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/
Dffi.c41 char *argp; in ffi_prep_args_v8() local
45 argp = stack + 16*sizeof(int); in ffi_prep_args_v8()
51 *(int *) argp = (long)ecif->rvalue; in ffi_prep_args_v8()
54 argp += sizeof(int); in ffi_prep_args_v8()
60 ((int*)argp)[0] = 0; in ffi_prep_args_v8()
61 ((int*)argp)[1] = 0; in ffi_prep_args_v8()
62 ((int*)argp)[2] = 0; in ffi_prep_args_v8()
63 ((int*)argp)[3] = 0; in ffi_prep_args_v8()
64 ((int*)argp)[4] = 0; in ffi_prep_args_v8()
65 ((int*)argp)[5] = 0; in ffi_prep_args_v8()
[all …]
/external/libffi/src/metag/
Dffi.c41 register char *argp; in ffi_prep_args() local
44 argp = stack; in ffi_prep_args()
48 argp -= 4; in ffi_prep_args()
49 *(void **) argp = ecif->rvalue; in ffi_prep_args()
61 argp -= z; in ffi_prep_args()
64 argp = (char *) FFI_ALIGN_DOWN(FFI_ALIGN_DOWN(argp, (*p_arg)->alignment), 4); in ffi_prep_args()
71 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
74 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
77 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
80 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/
Dffi.c41 register char *argp; in ffi_prep_args() local
44 argp = stack; in ffi_prep_args()
48 argp -= 4; in ffi_prep_args()
49 *(void **) argp = ecif->rvalue; in ffi_prep_args()
61 argp -= z; in ffi_prep_args()
64 argp = (char *) ALIGN_DOWN(ALIGN_DOWN(argp, (*p_arg)->alignment), 4); in ffi_prep_args()
71 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
74 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
77 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
80 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/m88k/
Dffi.c76 char *argp, *stackp; in ffi_prep_args() local
113 argp = (char *)regp; in ffi_prep_args()
115 argp = stackp; in ffi_prep_args()
129 argp = (char *)regp; in ffi_prep_args()
131 argp = stackp; in ffi_prep_args()
135 if (argp == stackp && a > sizeof (int)) in ffi_prep_args()
138 argp = stackp; in ffi_prep_args()
144 *(signed int *) argp = (signed int) *(SINT8 *) *p_argv; in ffi_prep_args()
148 *(unsigned int *) argp = (unsigned int) *(UINT8 *) *p_argv; in ffi_prep_args()
152 *(signed int *) argp = (signed int) *(SINT16 *) *p_argv; in ffi_prep_args()
[all …]
/external/libffi/src/m88k/
Dffi.c76 char *argp, *stackp; in ffi_prep_args() local
113 argp = (char *)regp; in ffi_prep_args()
115 argp = stackp; in ffi_prep_args()
129 argp = (char *)regp; in ffi_prep_args()
131 argp = stackp; in ffi_prep_args()
135 if (argp == stackp && a > sizeof (int)) in ffi_prep_args()
138 argp = stackp; in ffi_prep_args()
144 *(signed int *) argp = (signed int) *(SINT8 *) *p_argv; in ffi_prep_args()
148 *(unsigned int *) argp = (unsigned int) *(UINT8 *) *p_argv; in ffi_prep_args()
152 *(signed int *) argp = (signed int) *(SINT16 *) *p_argv; in ffi_prep_args()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DSelectorExtras.h21 va_list argp) { in getKeywordSelectorImpl() argument
25 while (const char *s = va_arg(argp, const char *)) in getKeywordSelectorImpl()
31 static inline Selector getKeywordSelector(ASTContext &Ctx, va_list argp) { in getKeywordSelector() argument
32 const char *First = va_arg(argp, const char *); in getKeywordSelector()
34 return getKeywordSelectorImpl(Ctx, First, argp); in getKeywordSelector()
40 va_list argp; in getKeywordSelector() local
41 va_start(argp, First); in getKeywordSelector()
42 Selector result = getKeywordSelectorImpl(Ctx, First, argp); in getKeywordSelector()
43 va_end(argp); in getKeywordSelector()
52 va_list argp; in lazyInitKeywordSelector() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/m32r/
Dffi.c41 char *argp; in ffi_prep_args() local
45 argp = stack; in ffi_prep_args()
49 *(void **) argp = ecif->rvalue; in ffi_prep_args()
50 argp += 4; in ffi_prep_args()
63 if (((*p_arg)->alignment - 1) & (unsigned) argp) in ffi_prep_args()
64 argp = (char *) ALIGN (argp, (*p_arg)->alignment); in ffi_prep_args()
77 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
81 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
85 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
89 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/libffi/src/m32r/
Dffi.c41 char *argp; in ffi_prep_args() local
45 argp = stack; in ffi_prep_args()
49 *(void **) argp = ecif->rvalue; in ffi_prep_args()
50 argp += 4; in ffi_prep_args()
63 if (((*p_arg)->alignment - 1) & (unsigned) argp) in ffi_prep_args()
64 argp = (char *) FFI_ALIGN (argp, (*p_arg)->alignment); in ffi_prep_args()
77 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
81 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
85 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
89 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c44 register char *argp; in ffi_prep_args() local
47 argp = stack; in ffi_prep_args()
51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
52 argp += 4; in ffi_prep_args()
64 if ((sizeof(int) - 1) & (unsigned) argp) in ffi_prep_args()
65 argp = (char *) ALIGN(argp, sizeof(int)); in ffi_prep_args()
74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c44 register char *argp; in ffi_prep_args() local
47 argp = stack; in ffi_prep_args()
51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
52 argp += 4; in ffi_prep_args()
64 if ((sizeof(int) - 1) & (unsigned) argp) in ffi_prep_args()
65 argp = (char *) ALIGN(argp, sizeof(int)); in ffi_prep_args()
74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dffi.c43 static char* ffi_align(ffi_type **p_arg, char *argp) in ffi_align() argument
57 if ((alignment - 1) & (unsigned) argp) in ffi_align()
59 argp = (char *) ALIGN(argp, alignment); in ffi_align()
64 argp = (char *) ALIGN(argp, 4); in ffi_align()
66 return argp; in ffi_align()
71 register char* argp = stack; in ffi_put_arg() local
81 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_put_arg()
85 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_put_arg()
89 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_put_arg()
93 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_put_arg()
[all …]
/external/libffi/src/sparc/
Dffi.c183 ffi_prep_args_v8(ffi_cif *cif, unsigned long *argp, void *rvalue, void **avalue) in ffi_prep_args_v8() argument
196 rvalue = (char *)argp + cif->bytes; in ffi_prep_args_v8()
207 *argp++ = (unsigned long)rvalue; in ffi_prep_args_v8()
212 memset(argp, 0, 6*4); in ffi_prep_args_v8()
228 *argp++ = (unsigned long)a; in ffi_prep_args_v8()
234 memcpy(argp, a, 8); in ffi_prep_args_v8()
235 argp += 2; in ffi_prep_args_v8()
243 *argp++ = *(unsigned *)a; in ffi_prep_args_v8()
247 *argp++ = *(UINT8 *)a; in ffi_prep_args_v8()
250 *argp++ = *(SINT8 *)a; in ffi_prep_args_v8()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/mips/
Dffi.c56 FFI_ASSERT(argp <= &stack[bytes]); \
57 if (argp == &stack[bytes]) \
59 argp = stack; \
77 char *argp; in ffi_prep_args() local
85 argp = &stack[bytes - (8 * sizeof(ffi_arg))]; in ffi_prep_args()
87 argp = stack; in ffi_prep_args()
89 argp = stack; 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()
117 if ((a - 1) & (unsigned long) argp) in ffi_prep_args()
[all …]
/external/libffi/src/x86/
Dffi.c264 char *stack, *argp; in ffi_call_int() local
297 argp = (dir < 0 ? stack + bytes : stack); in ffi_call_int()
320 *(void **)argp = rvalue; in ffi_call_int()
321 argp += sizeof(void *); in ffi_call_int()
341 argp -= 4; in ffi_call_int()
342 *(ffi_arg *)argp = val; in ffi_call_int()
346 *(ffi_arg *)argp = val; in ffi_call_int()
347 argp += 4; in ffi_call_int()
378 argp -= za; in ffi_call_int()
379 memcpy (argp, valp, z); in ffi_call_int()
[all …]
/external/libffi/src/mips/
Dffi.c57 FFI_ASSERT(argp <= &stack[bytes]); \
58 if (argp == &stack[bytes]) \
60 argp = stack; \
78 char *argp; in ffi_prep_args() local
86 argp = &stack[bytes - (8 * sizeof(ffi_arg))]; in ffi_prep_args()
88 argp = stack; in ffi_prep_args()
90 argp = stack; 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()
118 if ((a - 1) & (unsigned long) argp) in ffi_prep_args()
[all …]
/external/libffi/src/sh/
Dffi.c117 register char *argp; in ffi_prep_args() local
125 argp = stack; in ffi_prep_args()
129 *(void **) argp = ecif->rvalue; in ffi_prep_args()
130 argp += 4; in ffi_prep_args()
155 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
159 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
163 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
167 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
171 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
177 argp += z; in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sh/
Dffi.c117 register char *argp; in ffi_prep_args() local
125 argp = stack; in ffi_prep_args()
129 *(void **) argp = ecif->rvalue; in ffi_prep_args()
130 argp += 4; in ffi_prep_args()
155 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
159 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
163 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
167 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
171 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
177 argp += z; in ffi_prep_args()
[all …]

12345678910>>...12