Home
last modified time | relevance | path

Searched refs:num_coords (Results 1 - 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
H A Dhb-shape-fuzzer.cc23 unsigned num_coords = 0; in LLVMFuzzerTestOneInput() local
24 if (size) num_coords = data[size - 1]; in LLVMFuzzerTestOneInput()
25 num_coords = hb_ot_var_get_axis_count (face) > num_coords ? num_coords : hb_ot_var_get_axis_count (face); in LLVMFuzzerTestOneInput()
26 int *coords = (int *) calloc (num_coords, sizeof (int)); in LLVMFuzzerTestOneInput()
27 if (size > num_coords + 1) in LLVMFuzzerTestOneInput()
28 for (unsigned i = 0; i < num_coords; ++i) in LLVMFuzzerTestOneInput()
29 coords[i] = ((int) data[size - num_coords + i - 1] - 128) * 10; in LLVMFuzzerTestOneInput()
30 hb_font_set_var_coords_normalized (font, coords, num_coords); in LLVMFuzzerTestOneInput()
[all...]
H A Dhb-draw-fuzzer.cc125 unsigned num_coords = 0; in LLVMFuzzerTestOneInput() local
126 if (size) num_coords = data[size - 1]; in LLVMFuzzerTestOneInput()
127 num_coords = hb_ot_var_get_axis_count (face) > num_coords ? num_coords : hb_ot_var_get_axis_count (face); in LLVMFuzzerTestOneInput()
128 int *coords = (int *) calloc (num_coords, sizeof (int)); in LLVMFuzzerTestOneInput()
129 if (size > num_coords + 1) in LLVMFuzzerTestOneInput()
130 for (unsigned i = 0; i < num_coords; ++i) in LLVMFuzzerTestOneInput()
131 coords[i] = ((int) data[size - num_coords + i - 1] - 128) * 10; in LLVMFuzzerTestOneInput()
132 hb_font_set_var_coords_normalized (font, coords, num_coords); in LLVMFuzzerTestOneInput()
[all...]
/third_party/mesa3d/src/amd/addrlib/src/core/
H A Dcoord.cpp138 num_coords = 0;
143 num_coords = 0;
153 for (i = 0; i < num_coords; i++)
161 for (UINT_32 j = num_coords; j > i; j--)
166 num_coords++;
171 if (i == num_coords)
173 m_coord[num_coords] = co;
174 num_coords++;
180 for (UINT_32 i = 0; i < cl.num_coords; i++)
189 for (UINT_32 i = 0; i < num_coords;
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftmm.c170 FT_UInt num_coords, in FT_EXPORT_DEF()
179 if ( num_coords && !coords ) in FT_EXPORT_DEF()
187 error = service->set_mm_design( face, num_coords, coords ); in FT_EXPORT_DEF()
266 FT_UInt num_coords, in FT_EXPORT_DEF()
276 if ( num_coords && !coords ) in FT_EXPORT_DEF()
284 error = service_mm->set_var_design( face, num_coords, coords ); in FT_EXPORT_DEF()
314 FT_UInt num_coords, in FT_EXPORT_DEF()
331 error = service->get_var_design( face, num_coords, coords ); in FT_EXPORT_DEF()
342 FT_UInt num_coords, in FT_EXPORT_DEF()
352 if ( num_coords in FT_EXPORT_DEF()
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/services/
H A Dsvmm.h48 FT_UInt num_coords,
55 FT_UInt num_coords,
62 FT_UInt num_coords,
67 FT_UInt num_coords,
76 FT_UInt num_coords,
81 FT_UInt *num_coords,
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftmm.h345 * num_coords ::
358 * function with `num_coords` set to zero and `coords` set to `NULL`.
360 * [Since 2.9] If `num_coords` is larger than zero, this function sets
362 * (i.e., @FT_IS_VARIATION will return true). If `num_coords` is zero,
367 FT_UInt num_coords,
386 * num_coords ::
399 * function with `num_coords` set to zero and `coords` set to `NULL`.
403 * [Since 2.9] If `num_coords` is larger than zero, this function sets
405 * (i.e., @FT_IS_VARIATION will return true). If `num_coords` is zero,
410 FT_UInt num_coords,
[all...]
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1load.h78 FT_UInt num_coords,
83 FT_UInt num_coords,
88 FT_UInt num_coords,
97 FT_UInt num_coords,
102 FT_UInt num_coords,
H A Dt1load.c377 FT_UInt num_coords, in t1_set_mm_blend()
389 if ( num_coords > blend->num_axis ) in t1_set_mm_blend()
390 num_coords = blend->num_axis; in t1_set_mm_blend()
402 if ( m >= num_coords ) in t1_set_mm_blend()
438 FT_UInt num_coords, in FT_LOCAL_DEF()
444 error = t1_set_mm_blend( face, num_coords, coords ); in FT_LOCAL_DEF()
448 if ( num_coords ) in FT_LOCAL_DEF()
459 FT_UInt num_coords, in FT_LOCAL_DEF()
475 nc = num_coords; in FT_LOCAL_DEF()
476 if ( num_coords > blen in FT_LOCAL_DEF()
376 t1_set_mm_blend( T1_Face face, FT_UInt num_coords, FT_Fixed* coords ) t1_set_mm_blend() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-shape-plan.cc65 unsigned int num_coords, in init()
90 this->ot.init (face, coords, num_coords); in init()
206 * @coords: (array length=num_coords): The list of variation-space coordinates
207 * @num_coords: The number of variation-space coordinates
224 unsigned int num_coords, in hb_shape_plan_create2()
228 "face=%p num_features=%d num_coords=%d shaper_list=%p", in hb_shape_plan_create2()
231 num_coords, in hb_shape_plan_create2()
254 num_coords, in hb_shape_plan_create2()
501 * @coords: (array length=num_coords): The list of variation-space coordinates
502 * @num_coords
59 init(bool copy, hb_face_t *face, const hb_segment_properties_t *props, const hb_feature_t *user_features, unsigned int num_user_features, const int *coords, unsigned int num_coords, const char * const *shaper_list) init() argument
219 hb_shape_plan_create2(hb_face_t *face, const hb_segment_properties_t *props, const hb_feature_t *user_features, unsigned int num_user_features, const int *coords, unsigned int num_coords, const char * const *shaper_list) hb_shape_plan_create2() argument
515 hb_shape_plan_create_cached2(hb_face_t *face, const hb_segment_properties_t *props, const hb_feature_t *user_features, unsigned int num_user_features, const int *coords, unsigned int num_coords, const char * const *shaper_list) hb_shape_plan_create_cached2() argument
[all...]
H A Dhb-cff2-interp-cs.hh88 num_coords = num_coords_; in init()
93 do_blend = num_coords && coords && varStore->size; in init()
139 varStore->varStore.get_region_scalars (get_ivs (), coords, num_coords, in process_blend() local
186 unsigned int num_coords; member
H A Dhb-shape-plan.h75 unsigned int num_coords,
84 unsigned int num_coords,
H A Dhb-ot-shape.hh42 unsigned num_coords) in init()
48 num_coords, in init()
H A Dhb-ot-hmtx-table.hh213 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_side_bearing()
217 return side_bearing + var_table->get_side_bearing_var (glyph, font->coords, font->num_coords); // TODO Optimize?! in get_side_bearing()
247 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance()
H A Dhb-ot-metrics.cc68 #define GET_VAR face->table.MVAR->get_var (metrics_tag, font->coords, font->num_coords) in _hb_ot_metrics_get_position_common()
107 if (result) *result = range.rangeMaxPPEM + font->face->table.MVAR->get_var (metrics_tag, font->coords, font->num_coords);
209 return font->face->table.MVAR->get_var (metrics_tag, font->coords, font->num_coords); in hb_ot_metrics_get_variation()
H A Dhb-font.cc1487 0, /* num_coords */
1552 font->num_coords = coords_length; in _hb_font_adopt_var_coords()
1586 unsigned int num_coords = parent->num_coords; in hb_font_create_sub_font() local
1587 if (num_coords) in hb_font_create_sub_font()
1589 int *coords = (int *) hb_calloc (num_coords, sizeof (parent->coords[0])); in hb_font_create_sub_font()
1590 float *design_coords = (float *) hb_calloc (num_coords, sizeof (parent->design_coords[0])); in hb_font_create_sub_font()
1593 memcpy (coords, parent->coords, num_coords * sizeof (parent->coords[0])); in hb_font_create_sub_font()
1594 memcpy (design_coords, parent->design_coords, num_coords * sizeof (parent->design_coords[0])); in hb_font_create_sub_font()
1595 _hb_font_adopt_var_coords (font, coords, design_coords, num_coords); in hb_font_create_sub_font()
[all...]
H A Dhb-ft.cc1007 unsigned int num_coords; in hb_ft_font_set_funcs() local
1008 const int *coords = hb_font_get_var_coords_normalized (font, &num_coords); in hb_ft_font_set_funcs()
1009 if (num_coords) in hb_ft_font_set_funcs()
1011 FT_Fixed *ft_coords = (FT_Fixed *) hb_calloc (num_coords, sizeof (FT_Fixed)); in hb_ft_font_set_funcs()
1014 for (unsigned int i = 0; i < num_coords; i++) in hb_ft_font_set_funcs()
1016 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in hb_ft_font_set_funcs()
H A Dhb-ot-var-gvar-table.hh539 /* num_coords should exactly match gvar's axisCount due to how GlyphVariationData tuples are aligned */ in apply_deltas_to_points()
540 if (!font->num_coords || font->num_coords != table->axisCount) return true; in apply_deltas_to_points()
567 unsigned num_coords = font->num_coords; in apply_deltas_to_points() local
571 float scalar = iterator.current_tuple->calculate_scalar (coords, num_coords, shared_tuples); in apply_deltas_to_points()
H A Dhb-shape-plan.hh55 unsigned int num_coords,
H A Dhb-ot-cff2-table.cc117 interp.env.init (str, *this, fd, font->coords, font->num_coords); in get_extents()
208 interp.env.init (str, *this, fd, font->coords, font->num_coords); in get_path()
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttgxvar.h383 FT_UInt num_coords,
388 FT_UInt num_coords,
393 FT_UInt num_coords,
402 FT_UInt num_coords,
436 FT_UInt *num_coords,
H A Dttgxvar.c1892 FT_UInt num_coords, in ft_var_to_normalized()
1906 if ( num_coords > mmvar->num_axis ) in ft_var_to_normalized()
1910 mmvar->num_axis, num_coords )); in ft_var_to_normalized()
1911 num_coords = mmvar->num_axis; in ft_var_to_normalized()
1919 for ( i = 0; i < num_coords; i++, a++ ) in ft_var_to_normalized()
1985 FT_UInt num_coords, in ft_var_to_design()
1998 nc = num_coords; in ft_var_to_design()
1999 if ( num_coords > blend->num_axis ) in ft_var_to_design()
2003 blend->num_axis, num_coords )); in ft_var_to_design()
2010 for ( ; i < num_coords; in ft_var_to_design()
1891 ft_var_to_normalized( TT_Face face, FT_UInt num_coords, FT_Fixed* coords, FT_Fixed* normalized ) ft_var_to_normalized() argument
1984 ft_var_to_design( TT_Face face, FT_UInt num_coords, FT_Fixed* coords, FT_Fixed* design ) ft_var_to_design() argument
2585 tt_set_mm_blend( TT_Face face, FT_UInt num_coords, FT_Fixed* coords, FT_Bool set_design_coords ) tt_set_mm_blend() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/cff/
H A Dcffdrivr.c847 FT_UInt num_coords, in cff_set_mm_blend()
853 return mm->set_mm_blend( FT_FACE( face ), num_coords, coords ); in cff_set_mm_blend()
859 FT_UInt num_coords, in cff_get_mm_blend()
865 return mm->get_mm_blend( FT_FACE( face ), num_coords, coords ); in cff_get_mm_blend()
906 FT_UInt num_coords, in cff_set_var_design()
912 return mm->set_var_design( FT_FACE( face ), num_coords, coords ); in cff_set_var_design()
918 FT_UInt num_coords, in cff_get_var_design()
924 return mm->get_var_design( FT_FACE( face ), num_coords, coords ); in cff_get_var_design()
846 cff_set_mm_blend( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_set_mm_blend() argument
858 cff_get_mm_blend( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_get_mm_blend() argument
905 cff_set_var_design( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_set_var_design() argument
917 cff_get_var_design( CFF_Face face, FT_UInt num_coords, FT_Fixed* coords ) cff_get_var_design() argument
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhelper-cairo.hh119 unsigned int num_coords; in helper_cairo_create_scaled_font() local
120 const int *coords = hb_font_get_var_coords_normalized (font, &num_coords); in helper_cairo_create_scaled_font()
121 if (num_coords) in helper_cairo_create_scaled_font()
123 FT_Fixed *ft_coords = (FT_Fixed *) calloc (num_coords, sizeof (FT_Fixed)); in helper_cairo_create_scaled_font()
126 for (unsigned int i = 0; i < num_coords; i++) in helper_cairo_create_scaled_font()
128 FT_Set_Var_Blend_Coordinates (ft_face, num_coords, ft_coords); in helper_cairo_create_scaled_font()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dgraphics_robust_access_pass.cpp895 int num_coords = 0; in ClampCoordinateForImageTexelPointer()
899 num_coords = 1; in ClampCoordinateForImageTexelPointer()
905 num_coords = 2; in ClampCoordinateForImageTexelPointer()
908 num_coords = 3; in ClampCoordinateForImageTexelPointer()
916 return num_coords + arrayness_bonus; in ClampCoordinateForImageTexelPointer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dgraphics_robust_access_pass.cpp895 int num_coords = 0; in ClampCoordinateForImageTexelPointer()
899 num_coords = 1; in ClampCoordinateForImageTexelPointer()
905 num_coords = 2; in ClampCoordinateForImageTexelPointer()
908 num_coords = 3; in ClampCoordinateForImageTexelPointer()
916 return num_coords + arrayness_bonus; in ClampCoordinateForImageTexelPointer()

Completed in 21 milliseconds

12