• Home
  • Raw
  • Download

Lines Matching refs:ffuncs

530   hb_font_funcs_t *ffuncs;  in hb_font_funcs_create()  local
532 if (!(ffuncs = hb_object_create<hb_font_funcs_t> ())) in hb_font_funcs_create()
535 ffuncs->get = _hb_font_funcs_default.get; in hb_font_funcs_create()
537 return ffuncs; in hb_font_funcs_create()
566 hb_font_funcs_reference (hb_font_funcs_t *ffuncs) in hb_font_funcs_reference() argument
568 return hb_object_reference (ffuncs); in hb_font_funcs_reference()
580 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) in hb_font_funcs_destroy() argument
582 if (!hb_object_destroy (ffuncs)) return; in hb_font_funcs_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()
589 free (ffuncs); in hb_font_funcs_destroy()
607 hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, 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()
628 hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, in hb_font_funcs_get_user_data() argument
631 return hb_object_get_user_data (ffuncs, key); in hb_font_funcs_get_user_data()
644 hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs) in hb_font_funcs_make_immutable() argument
646 if (hb_object_is_immutable (ffuncs)) in hb_font_funcs_make_immutable()
649 hb_object_make_immutable (ffuncs); in hb_font_funcs_make_immutable()
663 hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs) in hb_font_funcs_is_immutable() argument
665 return hb_object_is_immutable (ffuncs); in hb_font_funcs_is_immutable()
672 hb_font_funcs_set_##name##_func (hb_font_funcs_t *ffuncs, \
677 if (hb_object_is_immutable (ffuncs)) { \
683 if (ffuncs->destroy.name) \
684 ffuncs->destroy.name (ffuncs->user_data.name); \
687 ffuncs->get.f.name = func; \
688 ffuncs->user_data.name = user_data; \
689 ffuncs->destroy.name = destroy; \
691 ffuncs->get.f.name = hb_font_get_##name##_default; \
692 ffuncs->user_data.name = nullptr; \
693 ffuncs->destroy.name = nullptr; \
2075 hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, in hb_font_funcs_set_glyph_func() argument
2089 hb_font_funcs_set_nominal_glyph_func (ffuncs, in hb_font_funcs_set_glyph_func()
2095 hb_font_funcs_set_variation_glyph_func (ffuncs, in hb_font_funcs_set_glyph_func()