Home
last modified time | relevance | path

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

/third_party/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi64.c444 RegisterArgs* reg_args; in ffi_call() local
460 reg_args = (RegisterArgs*)stack; in ffi_call()
468 reg_args->gpr[gprcount++] = (long) rvalue; in ffi_call()
506 reg_args->gpr[gprcount] = 0; in ffi_call()
512 reg_args->gpr[gprcount] = actval; in ffi_call()
521 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
529 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
538 reg_args->gpr[gprcount] = actval; in ffi_call()
546 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
554 memcpy (&reg_args->gpr[gprcount], &actval, 8); in ffi_call()
[all …]
/third_party/libffi/src/x86/
Dffi64.c565 struct register_args *reg_args; in ffi_call_int() local
583 reg_args = (struct register_args *) stack; in ffi_call_int()
586 reg_args->r10 = (uintptr_t) closure; in ffi_call_int()
593 reg_args->gpr[gprcount++] = (unsigned long) rvalue; in ffi_call_int()
640 reg_args->gpr[gprcount] = (SINT64) *((SINT8 *) a); in ffi_call_int()
643 reg_args->gpr[gprcount] = (SINT64) *((SINT16 *) a); in ffi_call_int()
646 reg_args->gpr[gprcount] = (SINT64) *((SINT32 *) a); in ffi_call_int()
649 reg_args->gpr[gprcount] = 0; in ffi_call_int()
650 memcpy (&reg_args->gpr[gprcount], a, size); in ffi_call_int()
656 memcpy (&reg_args->sse[ssecount++].i64, a, sizeof(UINT64)); in ffi_call_int()
[all …]
/third_party/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()