/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/ |
D | hb-shape-fuzzer.cc | 23 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 … 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()
|
D | hb-draw-fuzzer.cc | 125 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 … 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()
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | coord.cpp | 138 num_coords = 0; in CoordTerm() 143 num_coords = 0; in Clear() 153 for (i = 0; i < num_coords; i++) in add() 161 for (UINT_32 j = num_coords; j > i; j--) in add() 166 num_coords++; in add() 171 if (i == num_coords) in add() 173 m_coord[num_coords] = co; in add() 174 num_coords++; in add() 180 for (UINT_32 i = 0; i < cl.num_coords; i++) in add() 189 for (UINT_32 i = 0; i < num_coords; i++) in remove() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftmm.c | 170 FT_UInt num_coords, in FT_Set_MM_Design_Coordinates() argument 179 if ( num_coords && !coords ) in FT_Set_MM_Design_Coordinates() 187 error = service->set_mm_design( face, num_coords, coords ); in FT_Set_MM_Design_Coordinates() 266 FT_UInt num_coords, in FT_Set_Var_Design_Coordinates() argument 276 if ( num_coords && !coords ) in FT_Set_Var_Design_Coordinates() 284 error = service_mm->set_var_design( face, num_coords, coords ); in FT_Set_Var_Design_Coordinates() 314 FT_UInt num_coords, in FT_Get_Var_Design_Coordinates() argument 331 error = service->get_var_design( face, num_coords, coords ); in FT_Get_Var_Design_Coordinates() 342 FT_UInt num_coords, in FT_Set_MM_Blend_Coordinates() argument 352 if ( num_coords && !coords ) in FT_Set_MM_Blend_Coordinates() [all …]
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
D | ftmm.h | 367 FT_UInt num_coords, 410 FT_UInt num_coords, 445 FT_UInt num_coords, 491 FT_UInt num_coords, 528 FT_UInt num_coords, 542 FT_UInt num_coords, 559 FT_UInt num_coords,
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/services/ |
D | svmm.h | 48 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/src/type1/ |
D | t1load.h | 78 FT_UInt num_coords, 83 FT_UInt num_coords, 88 FT_UInt num_coords, 97 FT_UInt num_coords, 102 FT_UInt num_coords,
|
D | t1load.c | 377 FT_UInt num_coords, in t1_set_mm_blend() argument 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 T1_Set_MM_Blend() argument 444 error = t1_set_mm_blend( face, num_coords, coords ); in T1_Set_MM_Blend() 448 if ( num_coords ) in T1_Set_MM_Blend() 459 FT_UInt num_coords, in T1_Get_MM_Blend() argument 475 nc = num_coords; in T1_Get_MM_Blend() 476 if ( num_coords > blend->num_axis ) in T1_Get_MM_Blend() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-shape-plan.cc | 65 unsigned int num_coords, in init() argument 90 this->ot.init (face, coords, num_coords); in init() 224 unsigned int num_coords, in hb_shape_plan_create2() argument 231 num_coords, in hb_shape_plan_create2() 254 num_coords, in hb_shape_plan_create2() 520 unsigned int num_coords, in hb_shape_plan_create_cached2() argument 543 num_coords, in hb_shape_plan_create_cached2() 557 coords, num_coords, in hb_shape_plan_create_cached2()
|
D | hb-cff2-interp-cs.hh | 88 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() 186 unsigned int num_coords; member
|
D | hb-shape-plan.h | 75 unsigned int num_coords, 84 unsigned int num_coords,
|
D | hb-font.cc | 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() 2214 *length = font->num_coords; in hb_font_get_var_coords_normalized() 2237 *length = font->num_coords; in hb_font_get_var_coords_design()
|
D | hb-ot-shape.hh | 42 unsigned num_coords) in init() 48 num_coords, in init()
|
D | hb-ot-metrics.cc | 68 #define GET_VAR face->table.MVAR->get_var (metrics_tag, font->coords, font->num_coords) in _hb_ot_metrics_get_position_common() 107 …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()
|
D | hb-ot-hmtx-table.hh | 213 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); // … in get_side_bearing() 247 if (unlikely (glyph >= num_metrics) || !font->num_coords) in get_advance()
|
D | hb-ft.cc | 1007 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()
|
D | hb-ot-var-gvar-table.hh | 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()
|
D | hb-shape-plan.hh | 55 unsigned int num_coords,
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttgxvar.c | 1892 FT_UInt num_coords, in ft_var_to_normalized() argument 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() argument 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; i++ ) in ft_var_to_design() [all …]
|
D | ttgxvar.h | 383 FT_UInt num_coords, 388 FT_UInt num_coords, 393 FT_UInt num_coords, 402 FT_UInt num_coords, 436 FT_UInt *num_coords,
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffdrivr.c | 847 FT_UInt num_coords, in cff_set_mm_blend() argument 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() argument 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() argument 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() argument 924 return mm->get_var_design( FT_FACE( face ), num_coords, coords ); in cff_get_var_design()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | helper-cairo.hh | 119 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/spirv-tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 891 int num_coords = 0; in ClampCoordinateForImageTexelPointer() 895 num_coords = 1; in ClampCoordinateForImageTexelPointer() 901 num_coords = 2; in ClampCoordinateForImageTexelPointer() 904 num_coords = 3; in ClampCoordinateForImageTexelPointer() 912 return num_coords + arrayness_bonus; in ClampCoordinateForImageTexelPointer()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 895 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/ |
D | graphics_robust_access_pass.cpp | 895 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()
|