Lines Matching refs:ffuncs
528 hb_font_funcs_t *ffuncs; in hb_font_funcs_create() local
530 if (!(ffuncs = hb_object_create<hb_font_funcs_t> ())) in hb_font_funcs_create()
533 ffuncs->get = _hb_font_funcs_default.get; in hb_font_funcs_create()
535 return ffuncs; in hb_font_funcs_create()
564 hb_font_funcs_reference (hb_font_funcs_t *ffuncs) in hb_font_funcs_reference() argument
566 return hb_object_reference (ffuncs); in hb_font_funcs_reference()
578 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) in hb_font_funcs_destroy() argument
580 if (!hb_object_destroy (ffuncs)) return; in hb_font_funcs_destroy()
582 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ in hb_font_funcs_destroy()
583 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy()
587 free (ffuncs); in hb_font_funcs_destroy()
605 hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, in hb_font_funcs_set_user_data() argument
611 return hb_object_set_user_data (ffuncs, key, data, destroy, replace); in hb_font_funcs_set_user_data()
626 hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, in hb_font_funcs_get_user_data() argument
629 return hb_object_get_user_data (ffuncs, key); in hb_font_funcs_get_user_data()
642 hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs) in hb_font_funcs_make_immutable() argument
644 if (hb_object_is_immutable (ffuncs)) in hb_font_funcs_make_immutable()
647 hb_object_make_immutable (ffuncs); in hb_font_funcs_make_immutable()
661 hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs) in hb_font_funcs_is_immutable() argument
663 return hb_object_is_immutable (ffuncs); in hb_font_funcs_is_immutable()
670 hb_font_funcs_set_##name##_func (hb_font_funcs_t *ffuncs, \
675 if (hb_object_is_immutable (ffuncs)) { \
681 if (ffuncs->destroy.name) \
682 ffuncs->destroy.name (ffuncs->user_data.name); \
685 ffuncs->get.f.name = func; \
686 ffuncs->user_data.name = user_data; \
687 ffuncs->destroy.name = destroy; \
689 ffuncs->get.f.name = hb_font_get_##name##_default; \
690 ffuncs->user_data.name = nullptr; \
691 ffuncs->destroy.name = nullptr; \
2014 hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, in hb_font_funcs_set_glyph_func() argument
2028 hb_font_funcs_set_nominal_glyph_func (ffuncs, in hb_font_funcs_set_glyph_func()
2034 hb_font_funcs_set_variation_glyph_func (ffuncs, in hb_font_funcs_set_glyph_func()