Lines Matching refs:trampoline
2270 trampoline_t *trampoline = (trampoline_t *) calloc (1, sizeof (trampoline_t)); in trampoline_create() local
2272 if (unlikely (!trampoline)) in trampoline_create()
2275 trampoline->closure.user_data = user_data; in trampoline_create()
2276 trampoline->closure.destroy = destroy; in trampoline_create()
2277 trampoline->closure.ref_count = 1; in trampoline_create()
2278 trampoline->func = func; in trampoline_create()
2280 return trampoline; in trampoline_create()
2311 hb_font_get_glyph_trampoline_t *trampoline = (hb_font_get_glyph_trampoline_t *) user_data; in hb_font_get_nominal_glyph_trampoline() local
2312 return trampoline->func (font, font_data, unicode, 0, glyph, trampoline->closure.user_data); in hb_font_get_nominal_glyph_trampoline()
2323 hb_font_get_glyph_trampoline_t *trampoline = (hb_font_get_glyph_trampoline_t *) user_data; in hb_font_get_variation_glyph_trampoline() local
2324 …return trampoline->func (font, font_data, unicode, variation_selector, glyph, trampoline->closure.… in hb_font_get_variation_glyph_trampoline()
2353 hb_font_get_glyph_trampoline_t *trampoline; in hb_font_funcs_set_glyph_func() local
2355 trampoline = trampoline_create (func, user_data, destroy); in hb_font_funcs_set_glyph_func()
2356 if (unlikely (!trampoline)) in hb_font_funcs_set_glyph_func()
2365 trampoline, in hb_font_funcs_set_glyph_func()
2368 trampoline_reference (&trampoline->closure); in hb_font_funcs_set_glyph_func()
2371 trampoline, in hb_font_funcs_set_glyph_func()