Searched refs:ffuncs (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-font.cc | 244 hb_font_funcs_t *ffuncs; in hb_font_funcs_create() local 246 if (!(ffuncs = hb_object_create<hb_font_funcs_t> ())) in hb_font_funcs_create() 249 ffuncs->get = _hb_font_funcs_nil.get; in hb_font_funcs_create() 251 return ffuncs; in hb_font_funcs_create() 280 hb_font_funcs_reference (hb_font_funcs_t *ffuncs) in hb_font_funcs_reference() argument 282 return hb_object_reference (ffuncs); in hb_font_funcs_reference() 294 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) in hb_font_funcs_destroy() argument 296 if (!hb_object_destroy (ffuncs)) return; in hb_font_funcs_destroy() 298 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ in hb_font_funcs_destroy() 299 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy() [all …]
|
D | hb-font.h | 56 hb_font_funcs_reference (hb_font_funcs_t *ffuncs); 59 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs); 62 hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, 70 hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, 75 hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs); 78 hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs); 154 hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, 170 hb_font_funcs_set_glyph_h_advance_func (hb_font_funcs_t *ffuncs, 186 hb_font_funcs_set_glyph_v_advance_func (hb_font_funcs_t *ffuncs, 202 hb_font_funcs_set_glyph_h_origin_func (hb_font_funcs_t *ffuncs, [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-font.cc | 244 hb_font_funcs_t *ffuncs; in hb_font_funcs_create() local 246 if (!(ffuncs = hb_object_create<hb_font_funcs_t> ())) in hb_font_funcs_create() 249 ffuncs->get = _hb_font_funcs_nil.get; in hb_font_funcs_create() 251 return ffuncs; in hb_font_funcs_create() 280 hb_font_funcs_reference (hb_font_funcs_t *ffuncs) in hb_font_funcs_reference() argument 282 return hb_object_reference (ffuncs); in hb_font_funcs_reference() 294 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs) in hb_font_funcs_destroy() argument 296 if (!hb_object_destroy (ffuncs)) return; in hb_font_funcs_destroy() 298 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ in hb_font_funcs_destroy() 299 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy() [all …]
|
D | hb-font.h | 56 hb_font_funcs_reference (hb_font_funcs_t *ffuncs); 59 hb_font_funcs_destroy (hb_font_funcs_t *ffuncs); 62 hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs, 70 hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, 75 hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs); 78 hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs); 154 hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, 170 hb_font_funcs_set_glyph_h_advance_func (hb_font_funcs_t *ffuncs, 186 hb_font_funcs_set_glyph_v_advance_func (hb_font_funcs_t *ffuncs, 202 hb_font_funcs_set_glyph_h_origin_func (hb_font_funcs_t *ffuncs, [all …]
|
/external/harfbuzz_ng/test/api/ |
D | test-shape.c | 88 hb_font_funcs_t *ffuncs; in test_shape() local 102 ffuncs = hb_font_funcs_create (); in test_shape() 103 hb_font_funcs_set_glyph_h_advance_func (ffuncs, glyph_h_advance_func, NULL, NULL); in test_shape() 104 hb_font_funcs_set_glyph_func (ffuncs, glyph_func, NULL, NULL); in test_shape() 105 hb_font_funcs_set_glyph_h_kerning_func (ffuncs, glyph_h_kerning_func, NULL, NULL); in test_shape() 106 hb_font_set_funcs (font, ffuncs, NULL, NULL); in test_shape() 107 hb_font_funcs_destroy (ffuncs); in test_shape()
|
D | test-font.c | 144 _test_fontfuncs_nil (hb_font_funcs_t *ffuncs) in _test_fontfuncs_nil() argument 162 hb_font_set_funcs (font, ffuncs, &freed, free_up); in _test_fontfuncs_nil() 191 hb_font_funcs_t *ffuncs; in test_fontfuncs_nil() local 193 ffuncs = hb_font_funcs_create (); in test_fontfuncs_nil() 195 g_assert (!hb_font_funcs_is_immutable (ffuncs)); in test_fontfuncs_nil() 198 hb_font_funcs_destroy (ffuncs); in test_fontfuncs_nil()
|