Home
last modified time | relevance | path

Searched refs:num_glyphs (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttpost.c166 FT_Int num_glyphs; in load_format_20() local
174 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
183 if ( num_glyphs > face->max_profile.numGlyphs || in load_format_20()
184 (FT_ULong)num_glyphs * 2UL > post_len - 2 ) in load_format_20()
195 if ( FT_QNEW_ARRAY( glyph_indices, num_glyphs ) || in load_format_20()
196 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
199 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
212 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
234 post_len -= (FT_ULong)num_glyphs * 2UL + 2; in load_format_20()
286 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
[all …]
/third_party/freetype/src/sfnt/
Dttpost.c166 FT_Int num_glyphs; in load_format_20() local
173 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
182 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
193 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
194 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
197 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
210 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
288 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
321 FT_Int num_glyphs; in load_format_25() local
327 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttpost.c167 FT_Int num_glyphs; in load_format_20() local
174 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
183 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
194 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
195 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
198 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
211 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
289 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
322 FT_Int num_glyphs; in load_format_25() local
328 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/third_party/freetype/src/otvalid/
Dotvmod.c84 FT_UInt num_glyphs = (FT_UInt)face->num_glyphs; in otv_validate() local
95 if ( face->num_glyphs > 0xFFFFL ) in otv_validate()
98 face->num_glyphs )); in otv_validate()
100 num_glyphs = 0xFFFF; in otv_validate()
163 otv_GPOS_validate( gpos, num_glyphs, &valid ); in otv_validate()
173 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate()
183 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate()
193 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate()
203 otv_MATH_validate( math, num_glyphs, &valid ); in otv_validate()
/third_party/flutter/skia/third_party/externals/freetype/src/otvalid/
Dotvmod.c85 FT_UInt num_glyphs = (FT_UInt)face->num_glyphs; in otv_validate() local
96 if ( face->num_glyphs > 0xFFFFL ) in otv_validate()
99 face->num_glyphs )); in otv_validate()
101 num_glyphs = 0xFFFF; in otv_validate()
164 otv_GPOS_validate( gpos, num_glyphs, &valid ); in otv_validate()
174 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate()
184 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate()
194 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate()
204 otv_MATH_validate( math, num_glyphs, &valid ); in otv_validate()
/third_party/skia/third_party/externals/freetype/src/otvalid/
Dotvmod.c84 FT_UInt num_glyphs = (FT_UInt)face->num_glyphs; in otv_validate() local
95 if ( face->num_glyphs > 0xFFFFL ) in otv_validate()
98 face->num_glyphs )); in otv_validate()
100 num_glyphs = 0xFFFF; in otv_validate()
163 otv_GPOS_validate( gpos, num_glyphs, &valid ); in otv_validate()
173 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate()
183 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate()
193 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate()
203 otv_MATH_validate( math, num_glyphs, &valid ); in otv_validate()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs) in HorizontalDeviceMetricsTable() argument
76 : Table(header, data), num_glyphs_(num_glyphs) { in HorizontalDeviceMetricsTable()
101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
102 if (num_glyphs < 0) { in SetNumGlyphs()
108 num_glyphs_ = num_glyphs; in SetNumGlyphs()
112 table->num_glyphs_ = num_glyphs; in SetNumGlyphs()
Dhorizontal_metrics_table.cc87 int32_t num_glyphs) in HorizontalMetricsTable() argument
90 num_glyphs_(num_glyphs) { in HorizontalMetricsTable()
130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
131 assert(num_glyphs >= 0); in SetNumGlyphs()
132 num_glyphs_ = num_glyphs; in SetNumGlyphs()
135 table->num_glyphs_ = num_glyphs; in SetNumGlyphs()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dhorizontal_device_metrics_table.cc75 int32_t num_glyphs) in HorizontalDeviceMetricsTable() argument
76 : Table(header, data), num_glyphs_(num_glyphs) { in HorizontalDeviceMetricsTable()
101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
102 if (num_glyphs < 0) { in SetNumGlyphs()
108 num_glyphs_ = num_glyphs; in SetNumGlyphs()
112 table->num_glyphs_ = num_glyphs; in SetNumGlyphs()
Dhorizontal_metrics_table.cc87 int32_t num_glyphs) in HorizontalMetricsTable() argument
90 num_glyphs_(num_glyphs) { in HorizontalMetricsTable()
130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument
131 assert(num_glyphs >= 0); in SetNumGlyphs()
132 num_glyphs_ = num_glyphs; in SetNumGlyphs()
135 table->num_glyphs_ = num_glyphs; in SetNumGlyphs()
/third_party/harfbuzz/src/
Dhb-ot-cff1-table.hh315 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
318 return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); in sanitize()
329 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
334 for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) in get_glyph()
342 unsigned int get_size (unsigned int num_glyphs) const in get_size()
344 assert (num_glyphs > 0); in get_size()
345 return HBUINT16::static_size * (num_glyphs - 1); in get_size()
369 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
374 num_glyphs--; in sanitize()
375 for (unsigned int i = 0; num_glyphs > 0; i++) in sanitize()
[all …]
Dhb-subset-cff-common.cc154 const unsigned int num_glyphs, in serialize_fdselect_3_4() argument
168 p->sentinel () = num_glyphs; in serialize_fdselect_3_4()
178 const unsigned int num_glyphs, in hb_serialize_cff_fdselect() argument
200 for (unsigned int i = 0; i < num_glyphs; i++) in hb_serialize_cff_fdselect()
214 return serialize_fdselect_3_4<FDSelect3> (c, num_glyphs, src, in hb_serialize_cff_fdselect()
218 return serialize_fdselect_3_4<FDSelect4> (c, num_glyphs, src, in hb_serialize_cff_fdselect()
Dhb-ot-shape-complex-arabic-fallback.hh54 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
69 glyphs[num_glyphs] = u_glyph; in arabic_fallback_synthesize_lookup_single()
70 substitutes[num_glyphs] = s_glyph; in arabic_fallback_synthesize_lookup_single()
72 num_glyphs++; in arabic_fallback_synthesize_lookup_single()
75 if (!num_glyphs) in arabic_fallback_synthesize_lookup_single()
80 hb_stable_sort (&glyphs[0], num_glyphs, in arabic_fallback_synthesize_lookup_single()
91 hb_sorted_array (glyphs, num_glyphs), in arabic_fallback_synthesize_lookup_single()
92 hb_array (substitutes, num_glyphs)); in arabic_fallback_synthesize_lookup_single()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cff1-table.hh315 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
318 return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); in sanitize()
329 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
334 for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) in get_glyph()
342 unsigned int get_size (unsigned int num_glyphs) const in get_size()
344 assert (num_glyphs > 0); in get_size()
345 return HBUINT16::static_size * (num_glyphs - 1); in get_size()
369 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
374 num_glyphs--; in sanitize()
375 for (unsigned int i = 0; num_glyphs > 0; i++) in sanitize()
[all …]
Dhb-subset-cff-common.cc153 const unsigned int num_glyphs, in serialize_fdselect_3_4() argument
167 p->sentinel () = num_glyphs; in serialize_fdselect_3_4()
174 const unsigned int num_glyphs, in hb_serialize_cff_fdselect() argument
196 for (unsigned int i = 0; i < num_glyphs; i++) in hb_serialize_cff_fdselect()
210 return serialize_fdselect_3_4<FDSelect3> (c, num_glyphs, src, in hb_serialize_cff_fdselect()
214 return serialize_fdselect_3_4<FDSelect4> (c, num_glyphs, src, in hb_serialize_cff_fdselect()
Dhb-ot-shape-complex-arabic-fallback.hh54 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
69 glyphs[num_glyphs] = u_glyph; in arabic_fallback_synthesize_lookup_single()
70 substitutes[num_glyphs] = s_glyph; in arabic_fallback_synthesize_lookup_single()
72 num_glyphs++; in arabic_fallback_synthesize_lookup_single()
75 if (!num_glyphs) in arabic_fallback_synthesize_lookup_single()
80 hb_stable_sort (&glyphs[0], num_glyphs, in arabic_fallback_synthesize_lookup_single()
91 hb_sorted_array (glyphs, num_glyphs), in arabic_fallback_synthesize_lookup_single()
92 hb_array (substitutes, num_glyphs)); in arabic_fallback_synthesize_lookup_single()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cff1-table.hh311 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
314 return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); in sanitize()
325 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph()
330 for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) in get_glyph()
338 unsigned int get_size (unsigned int num_glyphs) const in get_size()
340 assert (num_glyphs > 0); in get_size()
341 return HBUINT16::static_size * (num_glyphs - 1); in get_size()
365 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize()
370 num_glyphs--; in sanitize()
371 for (unsigned int i = 0; num_glyphs > 0; i++) in sanitize()
[all …]
Dhb-subset-cff-common.cc155 const unsigned int num_glyphs, in serialize_fdselect_3_4() argument
169 p->sentinel() = num_glyphs; in serialize_fdselect_3_4()
179 const unsigned int num_glyphs, in hb_serialize_cff_fdselect() argument
201 for (unsigned int i = 0; i < num_glyphs; i++) in hb_serialize_cff_fdselect()
216 num_glyphs, in hb_serialize_cff_fdselect()
223 num_glyphs, in hb_serialize_cff_fdselect()
Dhb-ot-shape-complex-arabic-fallback.hh54 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
69 glyphs[num_glyphs] = u_glyph; in arabic_fallback_synthesize_lookup_single()
70 substitutes[num_glyphs] = s_glyph; in arabic_fallback_synthesize_lookup_single()
72 num_glyphs++; in arabic_fallback_synthesize_lookup_single()
75 if (!num_glyphs) in arabic_fallback_synthesize_lookup_single()
80 hb_stable_sort (&glyphs[0], num_glyphs, in arabic_fallback_synthesize_lookup_single()
91 hb_sorted_array (glyphs, num_glyphs), in arabic_fallback_synthesize_lookup_single()
92 hb_array (substitutes, num_glyphs)); in arabic_fallback_synthesize_lookup_single()
/third_party/skia/third_party/externals/harfbuzz/util/
Dshape-options.hh88 unsigned int num_glyphs = hb_buffer_get_length (buffer); in populate_buffer() local
90 for (unsigned int i = 0; i < num_glyphs; i++) in populate_buffer()
154 unsigned int num_glyphs; in verify_buffer_monotone() local
155 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_monotone()
157 for (unsigned int i = 1; i < num_glyphs; i++) in verify_buffer_monotone()
190 unsigned int num_glyphs; in verify_buffer_safe_to_break() local
191 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_safe_to_break()
201 for (unsigned int end = 1; end < num_glyphs + 1; end++) in verify_buffer_safe_to_break()
203 if (end < num_glyphs && in verify_buffer_safe_to_break()
209 if (end == num_glyphs) in verify_buffer_safe_to_break()
Dhelper-cairo.hh588 unsigned int num_glyphs; member
605 *x_advance = glyphs[num_glyphs].x; in get_advance()
606 *y_advance = glyphs[num_glyphs].y; in get_advance()
620 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer()
623 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); in helper_cairo_line_from_buffer()
628 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
629 for (unsigned int i = 1; i < l->num_glyphs; i++) in helper_cairo_line_from_buffer()
635 if ((l->num_glyphs && !l->glyphs) || in helper_cairo_line_from_buffer()
645 for (i = 0; i < (int) l->num_glyphs; i++) in helper_cairo_line_from_buffer()
665 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
[all …]
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffload.c705 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
724 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
832 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
843 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
856 for ( i = num_glyphs - 1; i < num_glyphs; i-- ) in cff_charset_compute_cids()
860 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
907 FT_UInt num_glyphs, in cff_charset_load() argument
933 if ( FT_QNEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
942 if ( num_glyphs > 0 ) in cff_charset_load()
944 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dformatter.cc217 auto num_glyphs = [&](size_t start, size_t end) { in format() local
229 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format()
231 num_glyphs(rng.begin.column, rng.end.column), 1)); in format()
234 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format()
235 state.repeat('^', num_glyphs(rng.begin.column, line_len + 1)); in format()
238 state.repeat('^', num_glyphs(1, rng.end.column)); in format()
241 state.repeat('^', num_glyphs(1, line_len + 1)); in format()
/third_party/flutter/skia/third_party/externals/freetype/src/cff/
Dcffload.c700 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
719 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
828 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
840 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
852 for ( j = (FT_Long)num_glyphs - 1; j >= 0; j-- ) in cff_charset_compute_cids()
856 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
903 FT_UInt num_glyphs, in cff_charset_load() argument
929 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
938 if ( num_glyphs > 0 ) in cff_charset_load()
940 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/third_party/freetype/src/cff/
Dcffload.c706 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
725 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
834 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
846 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
858 for ( j = (FT_Long)num_glyphs - 1; j >= 0; j-- ) in cff_charset_compute_cids()
862 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
909 FT_UInt num_glyphs, in cff_charset_load() argument
935 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
944 if ( num_glyphs > 0 ) in cff_charset_load()
946 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]

12345678910>>...14