Home
last modified time | relevance | path

Searched refs:reg_args (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi64.c442 RegisterArgs* reg_args; in ffi_call() local
458 reg_args = (RegisterArgs*)stack; in ffi_call()
466 reg_args->gpr[gprcount++] = (long) rvalue; in ffi_call()
504 reg_args->gpr[gprcount] = 0; in ffi_call()
510 reg_args->gpr[gprcount] = actval; in ffi_call()
519 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
527 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
536 reg_args->gpr[gprcount] = actval; in ffi_call()
544 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
552 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/
Dffi64.c430 struct register_args *reg_args; in ffi_call() local
445 reg_args = (struct register_args *) stack; in ffi_call()
453 reg_args->gpr[gprcount++] = (unsigned long) rvalue; in ffi_call()
497 *(SINT64 *)&reg_args->gpr[gprcount] = (SINT64) *((SINT8 *) a); in ffi_call()
500 *(SINT64 *)&reg_args->gpr[gprcount] = (SINT64) *((SINT16 *) a); in ffi_call()
503 *(SINT64 *)&reg_args->gpr[gprcount] = (SINT64) *((SINT32 *) a); in ffi_call()
506 reg_args->gpr[gprcount] = 0; in ffi_call()
507 memcpy (&reg_args->gpr[gprcount], a, size < 8 ? size : 8); in ffi_call()
513 reg_args->sse[ssecount++].i64 = *(UINT64 *) a; in ffi_call()
516 reg_args->sse[ssecount++].i32 = *(UINT32 *) a; in ffi_call()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/tile/
Dffi.c42 extern void ffi_call_tile(ffi_sarg reg_args[NUM_ARG_REGS],
148 ffi_sarg * const reg_args = arg_mem; in ffi_call() local
149 ffi_sarg * const stack_args = &reg_args[NUM_ARG_REGS]; in ffi_call()
202 ffi_call_tile(reg_args, stack_args, in ffi_call()
206 assign_to_ffi_arg(rvalue, reg_args, cif->rtype, 0); in ffi_call()
286 ffi_sarg reg_args[2][NUM_ARG_REGS], in ffi_closure_tile_inner()
293 ffi_sarg * const reg_args_in = reg_args[0]; in ffi_closure_tile_inner()
294 ffi_sarg * const reg_args_out = reg_args[1]; in ffi_closure_tile_inner()