Lines Matching refs:closure
294 ffi_prep_closure_inner (void **params, ffi_closure* closure) in ffi_prep_closure_inner() argument
300 ffi_cif *cif = closure->cif; in ffi_prep_closure_inner()
304 void **avalue = alloca (closure->cif->nargs * sizeof(void *)); in ffi_prep_closure_inner()
343 (closure->fun) (cif, in ffi_prep_closure_inner()
356 avalue, closure->user_data); in ffi_prep_closure_inner()
364 ffi_prep_closure_loc (ffi_closure* closure, in ffi_prep_closure_loc() argument
372 closure->cif = cif; in ffi_prep_closure_loc()
373 closure->user_data = user_data; in ffi_prep_closure_loc()
374 closure->fun = fun; in ffi_prep_closure_loc()
375 memcpy (closure->tramp, ffi_cris_trampoline_template, in ffi_prep_closure_loc()
377 memcpy (closure->tramp + ffi_cris_trampoline_fn_offset, in ffi_prep_closure_loc()
379 memcpy (closure->tramp + ffi_cris_trampoline_closure_offset, in ffi_prep_closure_loc()