Home
last modified time | relevance | path

Searched refs:avalue (Results 1 – 25 of 146) sorted by relevance

123456

/external/python/cpython2/Modules/_ctypes/libffi/src/alpha/
Dffi.c80 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
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()
141 *(double *) argp = *(float *)(* avalue); in ffi_call()
144 *(float *) argp = *(float *)(* avalue); in ffi_call()
148 *(double *) argp = *(double *)(* avalue); in ffi_call()
[all …]
/external/libffi/src/alpha/
Dffi.c80 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
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()
141 *(double *) argp = *(float *)(* avalue); in ffi_call()
144 *(float *) argp = *(float *)(* avalue); in ffi_call()
148 *(double *) argp = *(double *)(* avalue); in ffi_call()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/alpha/
Dffi.c80 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
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()
141 *(double *) argp = *(float *)(* avalue); in ffi_call()
144 *(float *) argp = *(float *)(* avalue); in ffi_call()
148 *(double *) argp = *(double *)(* avalue); in ffi_call()
[all …]
/external/libffi/src/ia64/
Dffi.c277 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
299 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
302 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
305 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
308 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
311 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
314 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
322 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
327 stf_spill (&stack->fp_regs[fpcount++], *(float *)avalue[i]); in ffi_call()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/ia64/
Dffi.c277 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
299 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
302 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
305 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
308 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
311 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
314 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
322 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
327 stf_spill (&stack->fp_regs[fpcount++], *(float *)avalue[i]); in ffi_call()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/ia64/
Dffi.c277 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
299 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
302 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
305 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
308 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
311 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
314 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
322 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
327 stf_spill (&stack->fp_regs[fpcount++], *(float *)avalue[i]); in ffi_call()
[all …]
/external/libffi/src/microblaze/
Dffi.c49 p_argv = ecif->avalue; in ffi_prep_args()
66 if (ecif->avalue == NULL) { in ffi_prep_args()
151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) in ffi_call() argument
155 ecif.avalue = avalue; in ffi_call()
191 void** avalue = alloca(cif->nargs * sizeof(void*)); in ffi_closure_call_SYSV() local
223 avalue[i] = ptr + 3; in ffi_closure_call_SYSV()
225 avalue[i] = ptr; in ffi_closure_call_SYSV()
231 avalue[i] = ptr + 2; in ffi_closure_call_SYSV()
233 avalue[i] = ptr; in ffi_closure_call_SYSV()
247 avalue[i] = (void*)ptr; in ffi_closure_call_SYSV()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/microblaze/
Dffi.c49 p_argv = ecif->avalue; in ffi_prep_args()
66 if (ecif->avalue == NULL) { in ffi_prep_args()
151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) in ffi_call() argument
155 ecif.avalue = avalue; in ffi_call()
191 void** avalue = alloca(cif->nargs * sizeof(void*)); in ffi_closure_call_SYSV() local
223 avalue[i] = ptr + 3; in ffi_closure_call_SYSV()
225 avalue[i] = ptr; in ffi_closure_call_SYSV()
231 avalue[i] = ptr + 2; in ffi_closure_call_SYSV()
233 avalue[i] = ptr; in ffi_closure_call_SYSV()
247 avalue[i] = (void*)ptr; in ffi_closure_call_SYSV()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/microblaze/
Dffi.c49 p_argv = ecif->avalue; in ffi_prep_args()
66 if (ecif->avalue == NULL) { in ffi_prep_args()
151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) in ffi_call() argument
155 ecif.avalue = avalue; in ffi_call()
191 void** avalue = alloca(cif->nargs * sizeof(void*)); in ffi_closure_call_SYSV() local
223 avalue[i] = ptr + 3; in ffi_closure_call_SYSV()
225 avalue[i] = ptr; in ffi_closure_call_SYSV()
231 avalue[i] = ptr + 2; in ffi_closure_call_SYSV()
233 avalue[i] = ptr; in ffi_closure_call_SYSV()
247 avalue[i] = (void*)ptr; in ffi_closure_call_SYSV()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/sh64/
Dffi.c76 p_argv = ecif->avalue; in ffi_prep_args()
254 /*@dependent@*/ void **avalue) in ffi_call() argument
260 ecif.avalue = avalue; in ffi_call()
353 void **avalue; in ffi_closure_helper_SYSV() local
361 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
396 avalue[i] = p; in ffi_closure_helper_SYSV()
398 avalue[i] = ((char *) p) + sizeof (UINT32) - z; in ffi_closure_helper_SYSV()
414 avalue[i] = (UINT32 *) pfr + fpair; in ffi_closure_helper_SYSV()
421 avalue[i] = (UINT32 *) pfr + (1 ^ freg); in ffi_closure_helper_SYSV()
424 avalue[i] = (UINT32 *) pfr + freg; in ffi_closure_helper_SYSV()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sh64/
Dffi.c76 p_argv = ecif->avalue; in ffi_prep_args()
254 /*@dependent@*/ void **avalue) in ffi_call() argument
260 ecif.avalue = avalue; in ffi_call()
353 void **avalue; in ffi_closure_helper_SYSV() local
361 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
396 avalue[i] = p; in ffi_closure_helper_SYSV()
398 avalue[i] = ((char *) p) + sizeof (UINT32) - z; in ffi_closure_helper_SYSV()
414 avalue[i] = (UINT32 *) pfr + fpair; in ffi_closure_helper_SYSV()
421 avalue[i] = (UINT32 *) pfr + (1 ^ freg); in ffi_closure_helper_SYSV()
424 avalue[i] = (UINT32 *) pfr + freg; in ffi_closure_helper_SYSV()
[all …]
/external/libffi/src/sh64/
Dffi.c76 p_argv = ecif->avalue; in ffi_prep_args()
254 /*@dependent@*/ void **avalue) in ffi_call() argument
260 ecif.avalue = avalue; in ffi_call()
353 void **avalue; in ffi_closure_helper_SYSV() local
361 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
396 avalue[i] = p; in ffi_closure_helper_SYSV()
398 avalue[i] = ((char *) p) + sizeof (UINT32) - z; in ffi_closure_helper_SYSV()
414 avalue[i] = (UINT32 *) pfr + fpair; in ffi_closure_helper_SYSV()
421 avalue[i] = (UINT32 *) pfr + (1 ^ freg); in ffi_closure_helper_SYSV()
424 avalue[i] = (UINT32 *) pfr + freg; in ffi_closure_helper_SYSV()
[all …]
/external/libffi/src/frv/
Dffi.c45 p_argv = ecif->avalue; in ffi_prep_args()
135 void **avalue) in ffi_call() argument
140 ecif.avalue = avalue; in ffi_call()
186 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
197 avalue[i] = ptr + 3; in ffi_closure_eabi()
201 avalue[i] = ptr + 2; in ffi_closure_eabi()
206 avalue[i] = ptr; in ffi_closure_eabi()
209 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
213 avalue[i] = ptr; in ffi_closure_eabi()
232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/moxie/
Dffi.c43 p_argv = ecif->avalue; in ffi_prep_args()
128 void **avalue) in ffi_call() argument
133 ecif.avalue = avalue; in ffi_call()
184 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
201 avalue[i] = ptr + 3; in ffi_closure_eabi()
205 avalue[i] = ptr + 2; in ffi_closure_eabi()
211 avalue[i] = ptr; in ffi_closure_eabi()
214 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
218 avalue[i] = ptr; in ffi_closure_eabi()
233 (closure->fun) (cif, struct_rvalue, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/libffi/src/moxie/
Dffi.c43 p_argv = ecif->avalue; in ffi_prep_args()
128 void **avalue) in ffi_call() argument
133 ecif.avalue = avalue; in ffi_call()
184 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
201 avalue[i] = ptr + 3; in ffi_closure_eabi()
205 avalue[i] = ptr + 2; in ffi_closure_eabi()
211 avalue[i] = ptr; in ffi_closure_eabi()
214 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
218 avalue[i] = ptr; in ffi_closure_eabi()
233 (closure->fun) (cif, struct_rvalue, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/frv/
Dffi.c45 p_argv = ecif->avalue; in ffi_prep_args()
135 void **avalue) in ffi_call() argument
140 ecif.avalue = avalue; in ffi_call()
186 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
197 avalue[i] = ptr + 3; in ffi_closure_eabi()
201 avalue[i] = ptr + 2; in ffi_closure_eabi()
206 avalue[i] = ptr; in ffi_closure_eabi()
209 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
213 avalue[i] = ptr; in ffi_closure_eabi()
232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/nios2/
Dffi.c97 void *avalue = ecif->avalue[i]; in ffi_prep_args() local
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()
138 *(unsigned int *) argp = (unsigned int) *(UINT32 *) avalue; in ffi_prep_args()
140 memcpy (argp, avalue, size); in ffi_prep_args()
150 void ffi_call (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() argument
163 ecif.avalue = avalue; in ffi_call()
/external/python/cpython2/Modules/_ctypes/libffi/src/frv/
Dffi.c45 p_argv = ecif->avalue; in ffi_prep_args()
135 void **avalue) in ffi_call() argument
140 ecif.avalue = avalue; in ffi_call()
186 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
197 avalue[i] = ptr + 3; in ffi_closure_eabi()
201 avalue[i] = ptr + 2; in ffi_closure_eabi()
206 avalue[i] = ptr; in ffi_closure_eabi()
209 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
213 avalue[i] = ptr; in ffi_closure_eabi()
232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/moxie/
Dffi.c43 p_argv = ecif->avalue; in ffi_prep_args()
128 void **avalue) in ffi_call() argument
133 ecif.avalue = avalue; in ffi_call()
184 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
201 avalue[i] = ptr + 3; in ffi_closure_eabi()
205 avalue[i] = ptr + 2; in ffi_closure_eabi()
211 avalue[i] = ptr; in ffi_closure_eabi()
214 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
218 avalue[i] = ptr; in ffi_closure_eabi()
233 (closure->fun) (cif, struct_rvalue, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/libffi/src/nios2/
Dffi.c97 void *avalue = ecif->avalue[i]; in ffi_prep_args() local
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()
138 *(unsigned int *) argp = (unsigned int) *(UINT32 *) avalue; in ffi_prep_args()
140 memcpy (argp, avalue, size); in ffi_prep_args()
150 void ffi_call (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() argument
163 ecif.avalue = avalue; in ffi_call()
/external/python/cpython2/Modules/_ctypes/libffi/src/nios2/
Dffi.c97 void *avalue = ecif->avalue[i]; in ffi_prep_args() local
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()
138 *(unsigned int *) argp = (unsigned int) *(UINT32 *) avalue; in ffi_prep_args()
140 memcpy (argp, avalue, size); in ffi_prep_args()
150 void ffi_call (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue) in ffi_call() argument
163 ecif.avalue = avalue; in ffi_call()
/external/libffi/src/sh/
Dffi.c139 p_argv = ecif->avalue; in ffi_prep_args()
228 p_argv = ecif->avalue; in ffi_prep_args()
412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
418 ecif.avalue = avalue; in ffi_call()
518 void **avalue; in ffi_closure_helper_SYSV() local
528 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_helper_SYSV()
560 avalue[i] = (((char *)pgr) + OFS_INT8); in ffi_closure_helper_SYSV()
565 avalue[i] = (((char *)pgr) + OFS_INT16); in ffi_closure_helper_SYSV()
569 avalue[i] = pgr; in ffi_closure_helper_SYSV()
584 avalue[i] = pfr; in ffi_closure_helper_SYSV()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sh/
Dffi.c139 p_argv = ecif->avalue; in ffi_prep_args()
228 p_argv = ecif->avalue; in ffi_prep_args()
412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
418 ecif.avalue = avalue; in ffi_call()
518 void **avalue; in ffi_closure_helper_SYSV() local
528 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_helper_SYSV()
560 avalue[i] = (((char *)pgr) + OFS_INT8); in ffi_closure_helper_SYSV()
565 avalue[i] = (((char *)pgr) + OFS_INT16); in ffi_closure_helper_SYSV()
569 avalue[i] = pgr; in ffi_closure_helper_SYSV()
584 avalue[i] = pfr; in ffi_closure_helper_SYSV()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/sh/
Dffi.c139 p_argv = ecif->avalue; in ffi_prep_args()
228 p_argv = ecif->avalue; in ffi_prep_args()
412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
418 ecif.avalue = avalue; in ffi_call()
518 void **avalue; in ffi_closure_helper_SYSV() local
528 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_helper_SYSV()
560 avalue[i] = (((char *)pgr) + OFS_INT8); in ffi_closure_helper_SYSV()
565 avalue[i] = (((char *)pgr) + OFS_INT16); in ffi_closure_helper_SYSV()
569 avalue[i] = pgr; in ffi_closure_helper_SYSV()
584 avalue[i] = pfr; in ffi_closure_helper_SYSV()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/powerpc/
Dffi_sysv.c434 p_argv.v = ecif->avalue; in ffi_prep_args_SYSV()
694 void ** avalue; in ffi_closure_helper_SYSV() local
706 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
749 avalue[i] = pfr; in ffi_closure_helper_SYSV()
755 avalue[i] = pst; in ffi_closure_helper_SYSV()
763 avalue[i] = pfr; in ffi_closure_helper_SYSV()
771 avalue[i] = pst; in ffi_closure_helper_SYSV()
780 avalue[i] = pfr; in ffi_closure_helper_SYSV()
788 avalue[i] = pst; in ffi_closure_helper_SYSV()
801 avalue[i] = pgr; in ffi_closure_helper_SYSV()
[all …]

123456