• Home
  • Raw
  • Download

Lines Matching refs:destroy

584 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \  in hb_font_funcs_destroy()
585 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy()
610 hb_destroy_func_t destroy, in hb_font_funcs_set_user_data() argument
613 return hb_object_set_user_data (ffuncs, key, data, destroy, replace); in hb_font_funcs_set_user_data()
675 hb_destroy_func_t destroy) \
678 if (destroy) \
679 destroy (user_data); \
683 if (ffuncs->destroy.name) \
684 ffuncs->destroy.name (ffuncs->user_data.name); \
689 ffuncs->destroy.name = destroy; \
693 ffuncs->destroy.name = nullptr; \
1476 if (font->destroy) in hb_font_destroy()
1477 font->destroy (font->user_data); in hb_font_destroy()
1506 hb_destroy_func_t destroy, in hb_font_set_user_data() argument
1509 return hb_object_set_user_data (font, key, data, destroy, replace); in hb_font_set_user_data()
1668 hb_destroy_func_t destroy) in hb_font_set_funcs() argument
1672 if (destroy) in hb_font_set_funcs()
1673 destroy (font_data); in hb_font_set_funcs()
1677 if (font->destroy) in hb_font_set_funcs()
1678 font->destroy (font->user_data); in hb_font_set_funcs()
1687 font->destroy = destroy; in hb_font_set_funcs()
1703 hb_destroy_func_t destroy) in hb_font_set_funcs_data() argument
1708 if (destroy) in hb_font_set_funcs_data()
1709 destroy (font_data); in hb_font_set_funcs_data()
1713 if (font->destroy) in hb_font_set_funcs_data()
1714 font->destroy (font->user_data); in hb_font_set_funcs_data()
1717 font->destroy = destroy; in hb_font_set_funcs_data()
1985 hb_destroy_func_t destroy; member
2000 hb_destroy_func_t destroy) in trampoline_create() argument
2010 trampoline->closure.destroy = destroy; in trampoline_create()
2031 if (closure->destroy) in trampoline_destroy()
2032 closure->destroy (closure->user_data); in trampoline_destroy()
2077 void *user_data, hb_destroy_func_t destroy) in hb_font_funcs_set_glyph_func() argument
2081 trampoline = trampoline_create (func, user_data, destroy); in hb_font_funcs_set_glyph_func()
2084 if (destroy) in hb_font_funcs_set_glyph_func()
2085 destroy (user_data); in hb_font_funcs_set_glyph_func()