Home | History | Annotate | Download | only in powerpc

Lines Matching full:cif

85   const unsigned bytes = ecif->cif->bytes;
86 const unsigned flags = ecif->cif->flags;
100 int i = ecif->cif->nargs;
104 ffi_type** ptr = ecif->cif->arg_types;
202 if (size_al < 3 && ecif->cif->abi == FFI_DARWIN)
271 /* Perform machine dependent cif processing. */
272 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
282 /* All the machine-independent calculation of cif->bytes will be wrong.
286 if (cif->abi == FFI_DARWIN)
288 darwin_adjust_aggregate_sizes (cif->rtype);
289 for (i = 0; i < cif->nargs; i++)
290 darwin_adjust_aggregate_sizes (cif->arg_types[i]);
308 switch (cif->rtype->type)
348 for (ptr = cif->arg_types, i = cif->nargs; i > 0; i--, ptr++)
421 cif->flags = flags;
422 cif->bytes = bytes;
432 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
436 ecif.cif = cif;
443 (cif->rtype->type == FFI_TYPE_STRUCT))
445 ecif.rvalue = alloca(cif->rtype->size);
450 switch (cif->abi)
453 ffi_call_AIX(&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn,
457 ffi_call_DARWIN(&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn,
532 ffi_cif* cif,
541 switch (cif->abi)
545 FFI_ASSERT (cif->abi == FFI_DARWIN);
559 closure->cif = cif;
573 FFI_ASSERT (cif->abi == FFI_AIX);
578 closure->cif = cif;
650 ffi_cif * cif;
655 cif = closure->cif;
656 avalue = alloca(cif->nargs * sizeof(void *));
663 if (cif->rtype->type == FFI_TYPE_STRUCT)
671 avn = cif->nargs;
672 arg_types = cif->arg_types;
710 if (size_al < 3 && cif->abi == FFI_DARWIN)
796 (closure->fun) (cif, rvalue, avalue, closure->user_data);
799 return cif->rtype->type;