• Home
  • Raw
  • Download

Lines Matching refs:gpcount

279   long i, avn, gpcount, fpcount;  in ffi_call()  local
291 gpcount = fpcount = 0; in ffi_call()
298 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
301 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
304 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
307 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
310 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
313 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
317 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
321 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
325 if (gpcount < 8 && fpcount < 8) in ffi_call()
327 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
331 if (gpcount < 8 && fpcount < 8) in ffi_call()
333 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
337 if (gpcount & 1) in ffi_call()
338 gpcount++; in ffi_call()
339 if (LDBL_MANT_DIG == 64 && gpcount < 8 && fpcount < 8) in ffi_call()
341 memcpy (&stack->gp_regs[gpcount], avalue[i], 16); in ffi_call()
342 gpcount += 2; in ffi_call()
352 if (align == 16 && (gpcount & 1)) in ffi_call()
353 gpcount++; in ffi_call()
359 size_t gp_offset = gpcount * 8; in ffi_call()
373 memcpy (&stack->gp_regs[gpcount], avalue[i], size); in ffi_call()
374 gpcount += (size + 7) / 8; in ffi_call()
451 long i, avn, gpcount, fpcount; in ffi_closure_unix_inner() local
462 gpcount = fpcount = 0; in ffi_closure_unix_inner()
469 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], 1); in ffi_closure_unix_inner()
473 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], 2); in ffi_closure_unix_inner()
477 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], 4); in ffi_closure_unix_inner()
481 avalue[i] = &stack->gp_regs[gpcount++]; in ffi_closure_unix_inner()
484 avalue[i] = endian_adjust(&stack->gp_regs[gpcount++], sizeof(void*)); in ffi_closure_unix_inner()
488 if (gpcount < 8 && fpcount < 8) in ffi_closure_unix_inner()
497 avalue[i] = endian_adjust(&stack->gp_regs[gpcount], 4); in ffi_closure_unix_inner()
498 gpcount++; in ffi_closure_unix_inner()
502 if (gpcount < 8 && fpcount < 8) in ffi_closure_unix_inner()
511 avalue[i] = &stack->gp_regs[gpcount]; in ffi_closure_unix_inner()
512 gpcount++; in ffi_closure_unix_inner()
516 if (gpcount & 1) in ffi_closure_unix_inner()
517 gpcount++; in ffi_closure_unix_inner()
518 if (LDBL_MANT_DIG == 64 && gpcount < 8 && fpcount < 8) in ffi_closure_unix_inner()
527 avalue[i] = &stack->gp_regs[gpcount]; in ffi_closure_unix_inner()
528 gpcount += 2; in ffi_closure_unix_inner()
538 if (align == 16 && (gpcount & 1)) in ffi_closure_unix_inner()
539 gpcount++; in ffi_closure_unix_inner()
545 size_t gp_offset = gpcount * 8; in ffi_closure_unix_inner()
566 avalue[i] = &stack->gp_regs[gpcount]; in ffi_closure_unix_inner()
568 gpcount += (size + 7) / 8; in ffi_closure_unix_inner()