Lines Matching full:cif
180 int gpr_off = ecif->cif->bytes;
199 if (ecif->cif->flags == FFI390_RET_STRUCT)
204 for (ptr = ecif->cif->arg_types, i = ecif->cif->nargs;
335 /* Function - Perform machine dependent CIF processing. */
340 ffi_prep_cif_machdep(ffi_cif *cif)
352 switch (cif->rtype->type)
356 cif->flags = FFI390_RET_VOID;
361 cif->flags = FFI390_RET_STRUCT;
367 cif->flags = FFI390_RET_FLOAT;
371 cif->flags = FFI390_RET_DOUBLE;
376 cif->flags = FFI390_RET_STRUCT;
384 cif->flags = FFI390_RET_INT64;
397 cif->flags = FFI390_RET_INT64;
399 cif->flags = FFI390_RET_INT32;
410 for (ptr = cif->arg_types, i = cif->nargs;
485 cif->bytes = ROUND_SIZE (n_ov * sizeof (long)) + struct_size;
501 ffi_call(ffi_cif *cif,
506 int ret_type = cif->flags;
509 ecif.cif = cif;
517 ecif.rvalue = alloca (cif->rtype->size);
522 switch (cif->abi)
525 ffi_call_SYSV (cif->bytes, &ecif, ffi_prep_args,
566 p_arg = avalue = alloca (closure->cif->nargs * sizeof (void *));
572 if (closure->cif->flags == FFI390_RET_STRUCT)
577 for (ptr = closure->cif->arg_types, i = closure->cif->nargs;
682 (closure->fun) (closure->cif, rvalue, avalue, closure->user_data);
685 switch (closure->cif->rtype->type)
748 ffi_cif *cif,
753 FFI_ASSERT (cif->abi == FFI_SYSV);
772 closure->cif = cif;