/external/python/cpython2/Modules/_ctypes/libffi/src/alpha/ |
D | ffi.c | 80 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/cpython2/Modules/_ctypes/libffi/src/ia64/ |
D | ffi.c | 277 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/microblaze/ |
D | ffi.c | 49 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/sh64/ |
D | ffi.c | 76 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/nios2/ |
D | ffi.c | 97 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/ |
D | ffi.c | 45 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/ |
D | ffi.c | 43 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/cpython2/Modules/_ctypes/libffi/src/sh/ |
D | ffi.c | 139 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/ |
D | ffi_sysv.c | 434 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 …]
|
D | ffi_darwin.c | 128 void **p_argv = ecif->avalue; in ffi_prep_args() 915 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 920 ecif.avalue = avalue; in ffi_call() 1134 void ** avalue; in ffi_closure_helper_DARWIN() local 1145 avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_helper_DARWIN() 1180 avalue[i] = (char *) pgr + 7; in ffi_closure_helper_DARWIN() 1182 avalue[i] = (char *) pgr + 3; in ffi_closure_helper_DARWIN() 1190 avalue[i] = (char *) pgr + 6; in ffi_closure_helper_DARWIN() 1192 avalue[i] = (char *) pgr + 2; in ffi_closure_helper_DARWIN() 1200 avalue[i] = (char *) pgr + 4; in ffi_closure_helper_DARWIN() [all …]
|
D | ffi_linux64.c | 441 p_argv.v = ecif->avalue; in ffi_prep_args64() 721 void **avalue; in ffi_closure_helper_LINUX64() local 729 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_LINUX64() 759 avalue[i] = (char *) pst + 7; in ffi_closure_helper_LINUX64() 767 avalue[i] = (char *) pst + 6; in ffi_closure_helper_LINUX64() 775 avalue[i] = (char *) pst + 4; in ffi_closure_helper_LINUX64() 783 avalue[i] = pst; in ffi_closure_helper_LINUX64() 819 avalue[i] = to.v; in ffi_closure_helper_LINUX64() 860 avalue[i] = (char *) pst + 8 - arg_types[i]->size; in ffi_closure_helper_LINUX64() 863 avalue[i] = pst; in ffi_closure_helper_LINUX64() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/mips/ |
D | ffi.c | 105 p_argv = ecif->avalue; in ffi_prep_args() 591 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 596 ecif.avalue = avalue; in ffi_call() 771 ffi_arg *avalue; in ffi_closure_mips_inner_O32() local 776 avalue = alloca (cif->nargs * sizeof (ffi_arg)); in ffi_closure_mips_inner_O32() 813 avaluep[i] = &avalue[i]; in ffi_closure_mips_inner_O32() 814 *(SINT8 *) &avalue[i] = (SINT8) ar[argn]; in ffi_closure_mips_inner_O32() 818 avaluep[i] = &avalue[i]; in ffi_closure_mips_inner_O32() 819 *(UINT8 *) &avalue[i] = (UINT8) ar[argn]; in ffi_closure_mips_inner_O32() 823 avaluep[i] = &avalue[i]; in ffi_closure_mips_inner_O32() [all …]
|
/external/freetype/include/freetype/internal/services/ |
D | svmetric.h | 41 FT_Int *avalue ); 46 FT_Int *avalue ); 51 FT_Int *avalue ); 58 FT_Int *avalue ); 63 FT_Int *avalue ); 68 FT_Int *avalue ); 73 FT_Int *avalue );
|
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/ |
D | ffi.c | 68 p_argv = ecif->avalue; in ffi_prep_args_v8() 148 p_argv = ecif->avalue; in ffi_prep_args_v9() 383 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 389 ecif.avalue = avalue; in ffi_call() 545 void **avalue; in ffi_closure_sparc_inner_v8() local 550 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_sparc_inner_v8() 574 avalue[i] = (void *)gpr[argn++]; in ffi_closure_sparc_inner_v8() 585 avalue[i] = scratch; in ffi_closure_sparc_inner_v8() 593 avalue[i] = ((char *) &gpr[argn]) - arg_types[i]->size; in ffi_closure_sparc_inner_v8() 598 (closure->fun) (cif, rvalue, avalue, closure->user_data); in ffi_closure_sparc_inner_v8() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/pa/ |
D | ffi.c | 155 p_argv = ecif->avalue; in ffi_prep_args_pa32() 376 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 381 ecif.avalue = avalue; in ffi_call() 422 void **avalue; in ffi_closure_inner_pa32() local 439 avalue = (void **)alloca(cif->nargs * FFI_SIZEOF_ARG); in ffi_closure_inner_pa32() 456 avalue[i] = (char *)(stack - slot) + sizeof(UINT32) - (*p_arg)->size; in ffi_closure_inner_pa32() 462 avalue[i] = (void *)(stack - slot); in ffi_closure_inner_pa32() 481 avalue[i] = (void *)(stack - slot); in ffi_closure_inner_pa32() 494 avalue[i] = (void *)(stack - slot); in ffi_closure_inner_pa32() 500 avalue[i] = (void *) *(stack - slot); in ffi_closure_inner_pa32() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/aarch64/ |
D | ffi.c | 690 ecif->avalue[i], ty->type); in aarch64_prep_args() 696 copy_hfa_to_reg_or_stack (ecif->avalue[i], ty, context, in aarch64_prep_args() 706 &(ecif->avalue[i]), FFI_TYPE_POINTER); in aarch64_prep_args() 718 &(((UINT64 *) ecif->avalue[i])[j]), in aarch64_prep_args() 731 ty->size), ecif->avalue + i, ty->size); in aarch64_prep_args() 802 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 807 ecif.avalue = avalue; in ffi_call() 957 void **avalue = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_closure_SYSV_inner() local 988 avalue[i] = allocate_to_register_or_stack (context, stack, in ffi_closure_SYSV_inner() 1000 avalue[i] = allocate_to_stack (&state, stack, ty->alignment, in ffi_closure_SYSV_inner() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/ |
D | x86-ffi_darwin.c | 55 p_argv = ecif->avalue; in ffi_prep_args() 188 void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue) in ffi_call() argument 193 ecif.avalue = avalue; in ffi_call() 266 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, void **avalue, in ffi_prep_incoming_args_SYSV() argument 281 p_argv = avalue; in ffi_prep_incoming_args_SYSV() 380 memcpy (stack, ecif->avalue, ecif->cif->bytes); in ffi_prep_args_raw() 402 void **avalue = (void **)fake_avalue; in ffi_raw_call() local 405 ecif.avalue = avalue; in ffi_raw_call()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/xtensa/ |
D | ffi.c | 119 p_argv.v = ecif->avalue; in ffi_prep_args() 190 void ffi_call(ffi_cif* cif, void(*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 198 ecif.avalue = avalue; in ffi_call() 255 void **avalue; in ffi_closure_SYSV_inner() local 273 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_SYSV_inner() 291 avalue[i] = &values[areg]; in ffi_closure_SYSV_inner() 295 (closure->fun)(cif, rvalue, avalue, closure->user_data); in ffi_closure_SYSV_inner()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/cris/ |
D | ffi.c | 80 p_argv = ecif->avalue; in ffi_prep_args() 246 ffi_call (ffi_cif * cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument 251 ecif.avalue = avalue; in ffi_call() 307 void **avalue = alloca (closure->cif->nargs * sizeof(void *)); in ffi_prep_closure_inner() local 318 avalue[i] = ptr; in ffi_prep_closure_inner() 323 avalue[i] = ptr; in ffi_prep_closure_inner() 331 avalue[i] = *(void **) ptr; in ffi_prep_closure_inner() 359 avalue, closure->user_data); in ffi_prep_closure_inner()
|
/external/deqp/modules/internal/ |
D | ditSRGB8ConversionTest.cpp | 44 const deUint32 avalue = (au & ((0x1u << 31u) - 1u)); in calculateDiscreteFloatDistance() local 48 return avalue + bvalue + 1u; in calculateDiscreteFloatDistance() 49 else if (avalue < bvalue) in calculateDiscreteFloatDistance() 50 return bvalue - avalue; in calculateDiscreteFloatDistance() 52 return avalue - bvalue; in calculateDiscreteFloatDistance()
|
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/ |
D | ffi.c | 55 p_argv = ecif->avalue; in ffi_prep_args() 159 /*@dependent@*/ void **avalue) in ffi_call() argument 164 ecif.avalue = avalue; in ffi_call() 229 void **avalue, ffi_cif *cif) in ffi_prep_incoming_args_SYSV() argument 244 p_argv = avalue; in ffi_prep_incoming_args_SYSV()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/vax/ |
D | ffi.c | 67 p_argv = ecif->avalue; in ffi_prep_args() 163 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument 168 ecif.avalue = avalue; in ffi_call() 201 ffi_prep_closure_elfbsd (ffi_cif *cif, void **avalue, char *stackp) in ffi_prep_closure_elfbsd() argument 207 p_argv = avalue; in ffi_prep_closure_elfbsd()
|
/external/python/cpython2/Modules/_ctypes/libffi_osx/powerpc/ |
D | ppc-ffi_darwin.c | 137 void** p_argv = ecif->avalue; in ffi_prep_args() 585 /*@dependent@*/ void** avalue) in ffi_call() argument 590 ecif.avalue = avalue; in ffi_call() 834 void** avalue = alloca(cif->nargs * sizeof(void*)); in ffi_closure_helper_DARWIN() local 860 avalue[i] = (char*)pgr + MODE_CHOICE(3,7); in ffi_closure_helper_DARWIN() 867 avalue[i] = (char*)pgr + MODE_CHOICE(2,6); in ffi_closure_helper_DARWIN() 877 avalue[i] = (char*)pgr + MODE_CHOICE(0,4); in ffi_closure_helper_DARWIN() 891 avalue[i] = alloca(arg_types[i]->size); in ffi_closure_helper_DARWIN() 893 &gprSize, (const char*)pfr, &fprSize, &nf, avalue[i], NULL); in ffi_closure_helper_DARWIN() 910 avalue[i] = (void*)pgr + MODE_CHOICE(4,8) - size_al; in ffi_closure_helper_DARWIN() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | raw_api.c | 193 void **avalue = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_raw_call() local 194 ffi_raw_to_ptrarray (cif, raw, avalue); in ffi_raw_call() 195 ffi_call (cif, fn, rvalue, avalue); in ffi_raw_call() 202 void **avalue, void *user_data) in ffi_translate_args() argument 207 ffi_ptrarray_to_raw (cif, avalue, raw); in ffi_translate_args()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/bfin/ |
D | ffi.c | 120 void ffi_call(ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 125 ecif.avalue = avalue; in ffi_call() 151 p_argv = ecif->avalue; in ffi_prep_args()
|