Lines Matching refs:destroy
466 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ in hb_font_funcs_destroy()
467 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy()
492 hb_destroy_func_t destroy, in hb_font_funcs_set_user_data() argument
495 return hb_object_set_user_data (ffuncs, key, data, destroy, replace); in hb_font_funcs_set_user_data()
557 hb_destroy_func_t destroy) \
560 if (destroy) \
561 destroy (user_data); \
565 if (ffuncs->destroy.name) \
566 ffuncs->destroy.name (ffuncs->user_data.name); \
571 ffuncs->destroy.name = destroy; \
575 ffuncs->destroy.name = NULL; \
1245 if (font->destroy) in hb_font_destroy()
1246 font->destroy (font->user_data); in hb_font_destroy()
1273 hb_destroy_func_t destroy, in hb_font_set_user_data() argument
1276 return hb_object_set_user_data (font, key, data, destroy, replace); in hb_font_set_user_data()
1407 hb_destroy_func_t destroy) in hb_font_set_funcs() argument
1410 if (destroy) in hb_font_set_funcs()
1411 destroy (font_data); in hb_font_set_funcs()
1415 if (font->destroy) in hb_font_set_funcs()
1416 font->destroy (font->user_data); in hb_font_set_funcs()
1425 font->destroy = destroy; in hb_font_set_funcs()
1441 hb_destroy_func_t destroy) in hb_font_set_funcs_data() argument
1445 if (destroy) in hb_font_set_funcs_data()
1446 destroy (font_data); in hb_font_set_funcs_data()
1450 if (font->destroy) in hb_font_set_funcs_data()
1451 font->destroy (font->user_data); in hb_font_set_funcs_data()
1454 font->destroy = destroy; in hb_font_set_funcs_data()
1550 hb_destroy_func_t destroy; member
1565 hb_destroy_func_t destroy) in trampoline_create() argument
1575 trampoline->closure.destroy = destroy; in trampoline_create()
1596 if (closure->destroy) in trampoline_destroy()
1597 closure->destroy (closure->user_data); in trampoline_destroy()
1642 void *user_data, hb_destroy_func_t destroy) in hb_font_funcs_set_glyph_func() argument
1646 trampoline = trampoline_create (func, user_data, destroy); in hb_font_funcs_set_glyph_func()
1649 if (destroy) in hb_font_funcs_set_glyph_func()
1650 destroy (user_data); in hb_font_funcs_set_glyph_func()