Lines Matching full:cif
48 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types;
113 /* Perform machine dependent cif processing */
114 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
116 if (cif->rtype->type == FFI_TYPE_STRUCT)
117 cif->flags = -1;
119 cif->flags = cif->rtype->size;
121 cif->bytes = ALIGN (cif->bytes, 8);
132 void ffi_call(ffi_cif *cif,
139 ecif.cif = cif;
146 (cif->rtype->type == FFI_TYPE_STRUCT))
148 ecif.rvalue = alloca(cif->rtype->size);
154 switch (cif->abi)
157 ffi_call_EABI(ffi_prep_args, &ecif, cif->bytes,
158 cif->flags, ecif.rvalue, fn);
184 ffi_cif *cif = closure->cif;
185 ffi_type **arg_types = cif->arg_types;
186 void **avalue = alloca (cif->nargs * sizeof(void *));
191 for (i = 0; i < cif->nargs; i++)
226 if (cif->rtype->type == FFI_TYPE_STRUCT)
232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data);
238 (closure->fun) (cif, &rvalue, avalue, closure->user_data);
250 ffi_cif* cif,
282 closure->cif = cif;