Home
last modified time | relevance | path

Searched refs:ft_coords (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ft.cc700 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
702 if (coords && ft_coords) in hb_ft_font_changed()
704 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
710 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
721 free (ft_coords); in hb_ft_font_changed()
840 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
841 if (ft_coords) in hb_ft_font_set_funcs()
844 ft_coords[i] = coords[i] << 2; in hb_ft_font_set_funcs()
845 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
846 free (ft_coords); in hb_ft_font_set_funcs()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ft.cc843 FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
845 if (coords && ft_coords) in hb_ft_font_changed()
847 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
853 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
864 hb_free (ft_coords); in hb_ft_font_changed()
1011 FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
1012 if (ft_coords) in hb_ft_font_set_funcs()
1015 ft_coords[i] = coords[i] * 4; in hb_ft_font_set_funcs()
1016 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
1017 hb_free (ft_coords); in hb_ft_font_set_funcs()
/third_party/harfbuzz/src/
Dhb-ft.cc849 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() local
851 if (coords && ft_coords) in hb_ft_font_changed()
853 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed()
859 coords[i] = ft_coords[i] >>= 2; in hb_ft_font_changed()
870 free (ft_coords); in hb_ft_font_changed()
1023 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs() local
1024 if (ft_coords) in hb_ft_font_set_funcs()
1027 ft_coords[i] = coords[i] * 4; in hb_ft_font_set_funcs()
1028 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
1029 free (ft_coords); in hb_ft_font_set_funcs()
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo.cc119 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
120 if (ft_coords) in helper_cairo_create_scaled_font()
123 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
124 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
125 free (ft_coords); in helper_cairo_create_scaled_font()
/third_party/harfbuzz/util/
Dhelper-cairo.cc119 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
120 if (ft_coords) in helper_cairo_create_scaled_font()
123 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
124 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
125 free (ft_coords); in helper_cairo_create_scaled_font()
/third_party/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo.hh123 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font() local
124 if (ft_coords) in helper_cairo_create_scaled_font()
127 ft_coords[i] = coords[i] << 2; in helper_cairo_create_scaled_font()
128 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
129 free (ft_coords); in helper_cairo_create_scaled_font()
/third_party/chromium/patch/
D0001-cve.patch72078 + FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed));
72079 + if (ft_coords)
72082 + ft_coords[i] = coords[i] << 2;
72083 + FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords);
72084 + free (ft_coords);
72520 - FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed));
72521 - if (ft_coords)
72524 - ft_coords[i] = coords[i] << 2;
72525 - FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords);
72526 - free (ft_coords);