Home
last modified time | relevance | path

Searched refs:p_argv (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython2/Modules/_ctypes/libffi/src/arc/
Dffi.c50 void **p_argv; in ffi_prep_args() local
63 p_argv = ecif->avalue; 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()
102 memcpy (argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
111 *(unsigned int *) argp = (unsigned int) *(UINT32 *) (*p_argv); in ffi_prep_args()
117 memcpy (argp, *p_argv, z); in ffi_prep_args()
122 memcpy (argp, *p_argv, z); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/m68k/
Dffi.c40 void **p_argv; in ffi_prep_args() local
57 p_argv = ecif->avalue; in ffi_prep_args()
71 *(signed int *) argp = (signed int) *(SINT8 *) *p_argv; in ffi_prep_args()
75 *(unsigned int *) argp = (unsigned int) *(UINT8 *) *p_argv; in ffi_prep_args()
79 *(signed int *) argp = (signed int) *(SINT16 *) *p_argv; in ffi_prep_args()
83 *(unsigned int *) argp = (unsigned int) *(UINT16 *) *p_argv; in ffi_prep_args()
89 memcpy (argp + 2, *p_argv, z); in ffi_prep_args()
91 memcpy (argp, *p_argv, z); in ffi_prep_args()
93 memcpy (argp + sizeof (int) - z, *p_argv, z); in ffi_prep_args()
104 memcpy (argp, *p_argv, z); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/
Dffi.c44 register void **p_argv; in ffi_prep_args() local
55 p_argv = ecif->avalue; 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()
97 memcpy(argp, *p_argv, z); in ffi_prep_args()
106 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
110 memcpy(argp, *p_argv, z); in ffi_prep_args()
112 p_argv++; in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/avr32/
Dffi.c70 void **p_argv; in ffi_prep_args() local
77 p_argv = ecif->avalue; in ffi_prep_args()
141 *(unsigned int *)addr = (unsigned int)*(UINT8 *)(*p_argv); in ffi_prep_args()
144 *(signed int *)addr = (signed int)*(SINT8 *)(*p_argv); in ffi_prep_args()
147 *(unsigned int *)addr = (unsigned int)*(UINT16 *)(*p_argv); in ffi_prep_args()
150 *(signed int *)addr = (signed int)*(SINT16 *)(*p_argv); in ffi_prep_args()
153 memcpy(addr, *p_argv, z); in ffi_prep_args()
156 p_argv++; in ffi_prep_args()
273 register void **p_argv; in ffi_prep_incoming_args_SYSV() local
294 p_argv = avalue; in ffi_prep_incoming_args_SYSV()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/m32r/
Dffi.c40 void **p_argv; in ffi_prep_args() local
54 p_argv = ecif->avalue; 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()
95 memcpy (argp, *p_argv, z); in ffi_prep_args()
97 memcpy (argp + 4 - z, *p_argv, z); in ffi_prep_args()
107 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
115 *(unsigned int *) argp = (unsigned int)(void *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/vax/
Dffi.c54 void **p_argv; in ffi_prep_args() local
67 p_argv = ecif->avalue; in ffi_prep_args()
81 *(signed int *) argp = (signed int) *(SINT8 *) *p_argv; in ffi_prep_args()
85 *(unsigned int *) argp = (unsigned int) *(UINT8 *) *p_argv; in ffi_prep_args()
89 *(signed int *) argp = (signed int) *(SINT16 *) *p_argv; in ffi_prep_args()
93 *(unsigned int *) argp = (unsigned int) *(UINT16 *) *p_argv; in ffi_prep_args()
97 memcpy (argp, *p_argv, z); in ffi_prep_args()
107 memcpy (argp, *p_argv, z); in ffi_prep_args()
114 p_argv++; in ffi_prep_args()
204 void **p_argv; in ffi_prep_closure_elfbsd() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/bfin/
Dffi.c147 void **p_argv; in ffi_prep_args() local
151 p_argv = ecif->avalue; in ffi_prep_args()
161 signed char v = *(SINT8 *)(* p_argv); in ffi_prep_args()
167 unsigned char v = *(UINT8 *)(* p_argv); in ffi_prep_args()
173 *(signed int *) argp = (signed int) * (SINT16 *)(* p_argv); in ffi_prep_args()
176 *(unsigned int *) argp = (unsigned int) * (UINT16 *)(* p_argv); in ffi_prep_args()
179 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
186 *(unsigned int *) argp = (unsigned int) * (UINT32 *)(* p_argv); in ffi_prep_args()
188 memcpy(argp, *p_argv, z); in ffi_prep_args()
190 p_argv++; in ffi_prep_args()
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/
Dffi.c40 void **p_argv; in ffi_prep_args_v8() local
68 p_argv = ecif->avalue; in ffi_prep_args_v8()
80 *(unsigned int *) argp = (unsigned long)(* p_argv); in ffi_prep_args_v8()
92 *(signed int *) argp = *(SINT8 *)(* p_argv); in ffi_prep_args_v8()
96 *(unsigned int *) argp = *(UINT8 *)(* p_argv); in ffi_prep_args_v8()
100 *(signed int *) argp = *(SINT16 *)(* p_argv); in ffi_prep_args_v8()
104 *(unsigned int *) argp = *(UINT16 *)(* p_argv); in ffi_prep_args_v8()
113 memcpy(argp, *p_argv, z); in ffi_prep_args_v8()
116 p_argv++; in ffi_prep_args_v8()
127 void **p_argv; in ffi_prep_args_v9() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffi.c44 register void **p_argv; in ffi_prep_args() local
55 p_argv = ecif->avalue; 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()
90 *(signed int *) argp = (signed int)*(SINT32 *)(* p_argv); in ffi_prep_args()
94 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
98 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
110 *(void **)argp = *p_argv; in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/m88k/
Dffi.c75 void **p_argv; in ffi_prep_args() local
92 p_argv = ecif->avalue; 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()
156 *(unsigned int *) argp = (unsigned int) *(UINT16 *) *p_argv; in ffi_prep_args()
164 *(unsigned int *) argp = *(unsigned int *) *p_argv; in ffi_prep_args()
171 memcpy (argp, *p_argv, z); in ffi_prep_args()
182 p_argv++; in ffi_prep_args()
271 void **p_argv; in ffi_prep_closure_args_OBSD() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/
Dffi.c40 register void **p_argv; in ffi_prep_args() local
52 p_argv = ecif->avalue; in ffi_prep_args()
55 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; (i != 0); i--, p_arg++, p_argv++) 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()
82 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
88 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
90 memcpy(argp, *p_argv, z); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dffi.c73 register void **p_argv = arg; 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()
97 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_put_arg()
107 *(float *) argp = *(float *)(* p_argv); in ffi_put_arg()
109 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_put_arg()
113 *(double *) argp = *(double *)(* p_argv); in ffi_put_arg()
117 memcpy(argp, *p_argv, z); in ffi_put_arg()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sh/
Dffi.c116 register void **p_argv; in ffi_prep_args() local
139 p_argv = ecif->avalue; in ffi_prep_args()
141 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) 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()
193 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
203 memcpy (argp, *p_argv, z); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c43 register void **p_argv; in ffi_prep_args() local
55 p_argv = ecif->avalue; 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()
90 *(signed int *) argp = (signed int)*(SINT32 *)(* p_argv); in ffi_prep_args()
94 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
98 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
107 memcpy(argp, *p_argv, z); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/frv/
Dffi.c40 register void **p_argv; in ffi_prep_args() local
45 p_argv = ecif->avalue; in ffi_prep_args()
59 *(void **) argp = *p_argv; in ffi_prep_args()
78 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
82 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
86 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
90 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
99 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
103 memcpy(argp, *p_argv, z); in ffi_prep_args()
105 p_argv++; in ffi_prep_args()
/external/python/cpython2/Modules/_ctypes/libffi/src/moxie/
Dffi.c38 register void **p_argv; in ffi_prep_args() local
43 p_argv = ecif->avalue; in ffi_prep_args()
63 *(void **) argp = *p_argv; in ffi_prep_args()
71 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
75 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
79 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
83 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
92 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args()
96 memcpy(argp, *p_argv, z); in ffi_prep_args()
98 p_argv++; in ffi_prep_args()
/external/python/cpython2/Modules/_ctypes/libffi/src/pa/
Dffi.c146 register void **p_argv; in ffi_prep_args_pa32() local
155 p_argv = ecif->avalue; in ffi_prep_args_pa32()
164 *(SINT32 *)(stack - slot) = *(SINT8 *)(*p_argv); in ffi_prep_args_pa32()
168 *(UINT32 *)(stack - slot) = *(UINT8 *)(*p_argv); in ffi_prep_args_pa32()
172 *(SINT32 *)(stack - slot) = *(SINT16 *)(*p_argv); in ffi_prep_args_pa32()
176 *(UINT32 *)(stack - slot) = *(UINT16 *)(*p_argv); in ffi_prep_args_pa32()
182 debug(3, "Storing UINT32 %u in slot %u\n", *(UINT32 *)(*p_argv), in ffi_prep_args_pa32()
184 *(UINT32 *)(stack - slot) = *(UINT32 *)(*p_argv); in ffi_prep_args_pa32()
191 *(UINT64 *)(stack - slot) = *(UINT64 *)(*p_argv); in ffi_prep_args_pa32()
197 *(UINT32 *)(stack - slot) = *(UINT32 *)(*p_argv); in ffi_prep_args_pa32()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/cris/
Dffi.c74 void **p_argv; in ffi_prep_args() local
80 p_argv = ecif->avalue; in ffi_prep_args()
94 memcpy (argp, *p_argv, z); in ffi_prep_args()
99 memcpy (argp, *p_argv, z); in ffi_prep_args()
110 memcpy ((stack + uiLocOnStack), *p_argv, (*p_arg)->size); in ffi_prep_args()
121 *(signed int *) argp = (signed int) *(SINT8 *) (*p_argv); in ffi_prep_args()
126 (unsigned int) *(UINT8 *) (*p_argv); in ffi_prep_args()
130 *(signed int *) argp = (signed int) *(SINT16 *) (*p_argv); in ffi_prep_args()
135 (unsigned int) *(UINT16 *) (*p_argv); in ffi_prep_args()
144 *(unsigned int *) argp = (unsigned int) *(UINT32 *) (*p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/xtensa/
Dffi.c114 } p_argv; in ffi_prep_args() local
119 p_argv.v = ecif->avalue; in ffi_prep_args()
130 i--, ptr++, p_argv.v++) in ffi_prep_args()
135 *addr++ = **p_argv.sc; in ffi_prep_args()
138 *addr++ = **p_argv.uc; in ffi_prep_args()
141 *addr++ = **p_argv.ss; in ffi_prep_args()
144 *addr++ = **p_argv.us; in ffi_prep_args()
151 *addr++ = **p_argv.i; in ffi_prep_args()
158 *(unsigned long long*)addr = **p_argv.ll; in ffi_prep_args()
178 memcpy((char*) addr, *p_argv.c, size); in ffi_prep_args()
/external/python/cpython2/Modules/_ctypes/libffi/src/sh64/
Dffi.c63 register void **p_argv; in ffi_prep_args() local
76 p_argv = ecif->avalue; in ffi_prep_args()
78 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) in ffi_prep_args()
90 *(SINT64 *) argp = (SINT64) *(SINT8 *)(*p_argv); in ffi_prep_args()
94 *(UINT64 *) argp = (UINT64) *(UINT8 *)(*p_argv); in ffi_prep_args()
98 *(SINT64 *) argp = (SINT64) *(SINT16 *)(*p_argv); in ffi_prep_args()
102 *(UINT64 *) argp = (UINT64) *(UINT16 *)(*p_argv); in ffi_prep_args()
106 memcpy (argp, *p_argv, z); in ffi_prep_args()
120 *(SINT64 *) argp = (SINT64) *(SINT32 *) (*p_argv); in ffi_prep_args()
127 *(UINT64 *) argp = (UINT64) *(UINT32 *) (*p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/powerpc/
Dffi_sysv.c403 } p_argv; in ffi_prep_args_SYSV() local
434 p_argv.v = ecif->avalue; in ffi_prep_args_SYSV()
437 i--, ptr++, p_argv.v++) in ffi_prep_args_SYSV()
449 double_tmp = (*p_argv.d)[0]; in ffi_prep_args_SYSV()
461 double_tmp = (*p_argv.d)[1]; in ffi_prep_args_SYSV()
468 double_tmp = (*p_argv.d)[1]; in ffi_prep_args_SYSV()
477 double_tmp = **p_argv.d; in ffi_prep_args_SYSV()
497 double_tmp = **p_argv.f; in ffi_prep_args_SYSV()
525 int_tmp = (*p_argv.ui)[ii]; in ffi_prep_args_SYSV()
533 int_tmp = (*p_argv.ui)[ii]; in ffi_prep_args_SYSV()
[all …]
Dffi_linux64.c415 } p_argv; in ffi_prep_args64() local
441 p_argv.v = ecif->avalue; in ffi_prep_args64()
450 i++, ptr++, p_argv.v++) in ffi_prep_args64()
462 double_tmp = (*p_argv.d)[0]; in ffi_prep_args64()
476 double_tmp = (*p_argv.d)[1]; in ffi_prep_args64()
497 double_tmp = **p_argv.d; in ffi_prep_args64()
515 double_tmp = **p_argv.f; in ffi_prep_args64()
551 arg.v = *p_argv.v; in ffi_prep_args64()
594 memcpy (next_arg.c, *p_argv.c, first); in ffi_prep_args64()
595 memcpy (rest.c, *p_argv.c + first, (*ptr)->size - first); in ffi_prep_args64()
[all …]
Dffi_darwin.c128 void **p_argv = ecif->avalue; in ffi_prep_args() local
149 for (i = nargs; i > 0; i--, ptr++, p_argv++) in ffi_prep_args()
157 double_tmp = *(float *) *p_argv; in ffi_prep_args()
161 *(float *)next_arg = *(float *) *p_argv; in ffi_prep_args()
172 double_tmp = *(double *) *p_argv; in ffi_prep_args()
194 *(long double *) fpr_base++ = *(long double *) *p_argv; in ffi_prep_args()
196 *(long double *) next_arg = *(long double *) *p_argv; in ffi_prep_args()
200 double_tmp = ((double *) *p_argv)[0]; in ffi_prep_args()
212 double_tmp = ((double *) *p_argv)[1]; in ffi_prep_args()
231 gprvalue = *(long long *) *p_argv; in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/
Dffi.c50 register void **p_argv; in ffi_prep_args() local
85 p_argv = ecif->avalue; in ffi_prep_args()
108 *(void **)argp = *p_argv; in ffi_prep_args()
112 memcpy(argp, *p_argv, z); in ffi_prep_args()
122 *(ffi_sarg *) argp = (ffi_sarg)*(SINT8 *)(* p_argv); in ffi_prep_args()
126 *(ffi_arg *) argp = (ffi_arg)*(UINT8 *)(* p_argv); in ffi_prep_args()
130 *(ffi_sarg *) argp = (ffi_sarg)*(SINT16 *)(* p_argv); in ffi_prep_args()
134 *(ffi_arg *) argp = (ffi_arg)*(UINT16 *)(* p_argv); in ffi_prep_args()
138 *(ffi_sarg *) argp = (ffi_sarg)*(SINT32 *)(* p_argv); in ffi_prep_args()
142 *(ffi_arg *) argp = (ffi_arg)*(UINT32 *)(* p_argv); in ffi_prep_args()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/mips/
Dffi.c76 void **p_argv; in ffi_prep_args() local
105 p_argv = ecif->avalue; 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()
161 *(ffi_arg *)argp = *(SINT16 *)(* p_argv); in ffi_prep_args()
165 *(ffi_arg *)argp = *(UINT16 *)(* p_argv); in ffi_prep_args()
169 *(ffi_arg *)argp = *(SINT32 *)(* p_argv); in ffi_prep_args()
177 *(ffi_arg *)argp = *(SINT32 *)(* p_argv); in ffi_prep_args()
179 *(ffi_arg *)argp = *(UINT32 *)(* p_argv); in ffi_prep_args()
185 *(float *) argp = *(float *)(* p_argv); in ffi_prep_args()
[all …]

12