Lines Matching refs:ffuncs
404 hb_font_funcs_t *ffuncs; in hb_font_funcs_create() local
406 if (!(ffuncs = hb_object_create<hb_font_funcs_t> ())) in hb_font_funcs_create()
409 ffuncs->get = _hb_font_funcs_parent.get; in hb_font_funcs_create()
411 return ffuncs; in hb_font_funcs_create()
440 hb_font_funcs_reference (hb_font_funcs_t *ffuncs) in hb_font_funcs_reference() argument
442 return hb_object_reference (ffuncs); in hb_font_funcs_reference()
454 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) in hb_font_funcs_destroy() argument
456 if (!hb_object_destroy (ffuncs)) return; in hb_font_funcs_destroy()
458 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ in hb_font_funcs_destroy()
459 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy()
463 free (ffuncs); in hb_font_funcs_destroy()
481 hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, in hb_font_funcs_set_user_data() argument
487 return hb_object_set_user_data (ffuncs, key, data, destroy, replace); in hb_font_funcs_set_user_data()
502 hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, in hb_font_funcs_get_user_data() argument
505 return hb_object_get_user_data (ffuncs, key); in hb_font_funcs_get_user_data()
518 hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs) in hb_font_funcs_make_immutable() argument
520 if (unlikely (hb_object_is_inert (ffuncs))) in hb_font_funcs_make_immutable()
523 ffuncs->immutable = true; in hb_font_funcs_make_immutable()
537 hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs) in hb_font_funcs_is_immutable() argument
539 return ffuncs->immutable; in hb_font_funcs_is_immutable()
546 hb_font_funcs_set_##name##_func (hb_font_funcs_t *ffuncs, \
551 if (ffuncs->immutable) { \
557 if (ffuncs->destroy.name) \
558 ffuncs->destroy.name (ffuncs->user_data.name); \
561 ffuncs->get.f.name = func; \
562 ffuncs->user_data.name = user_data; \
563 ffuncs->destroy.name = destroy; \
565 ffuncs->get.f.name = hb_font_get_##name##_parent; \
566 ffuncs->user_data.name = NULL; \
567 ffuncs->destroy.name = NULL; \
1747 hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, in hb_font_funcs_set_glyph_func() argument
1761 hb_font_funcs_set_nominal_glyph_func (ffuncs, in hb_font_funcs_set_glyph_func()
1767 hb_font_funcs_set_variation_glyph_func (ffuncs, in hb_font_funcs_set_glyph_func()