Home
last modified time | relevance | path

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

12345678

/external/chromium_org/third_party/ots/src/
Dgsub.cc85 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseSingleSubstitution() local
92 if (std::abs(delta_glyph_id) >= num_glyphs) { in ParseSingleSubstitution()
101 if (glyph_count > num_glyphs) { in ParseSingleSubstitution()
109 if (substitute >= num_glyphs) { in ParseSingleSubstitution()
122 length - offset_coverage, num_glyphs)) { in ParseSingleSubstitution()
130 const uint16_t num_glyphs) { in ParseSequenceTable() argument
137 if (glyph_count > num_glyphs) { in ParseSequenceTable()
145 if (substitute >= num_glyphs) { in ParseSequenceTable()
173 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseMutipleSubstitution() local
188 num_glyphs)) { in ParseMutipleSubstitution()
[all …]
Dlayout.cc255 const uint16_t num_glyphs, in ParseClassDefFormat1() argument
268 if (start_glyph > num_glyphs) { in ParseClassDefFormat1()
277 if (glyph_count > num_glyphs) { in ParseClassDefFormat1()
296 const uint16_t num_glyphs, in ParseClassDefFormat2() argument
309 if (range_count > num_glyphs) { in ParseClassDefFormat2()
339 const uint16_t num_glyphs, in ParseCoverageFormat1() argument
352 if (glyph_count > num_glyphs) { in ParseCoverageFormat1()
361 if (glyph > num_glyphs) { in ParseCoverageFormat1()
376 const uint16_t num_glyphs, in ParseCoverageFormat2() argument
389 if (range_count > num_glyphs) { in ParseCoverageFormat2()
[all …]
Dmath.cc162 const uint16_t num_glyphs) { in ParseMathValueRecordSequenceForGlyphs() argument
183 num_glyphs, sequence_count)) { in ParseMathValueRecordSequenceForGlyphs()
199 const uint16_t num_glyphs) { in ParseMathItalicsCorrectionInfoTable() argument
202 num_glyphs); in ParseMathItalicsCorrectionInfoTable()
207 const uint16_t num_glyphs) { in ParseMathTopAccentAttachmentTable() argument
210 num_glyphs); in ParseMathTopAccentAttachmentTable()
240 const uint16_t num_glyphs) { in ParseMathKernInfoTable() argument
262 num_glyphs, sequence_count)) { in ParseMathKernInfoTable()
288 const uint16_t num_glyphs) { in ParseMathGlyphInfoTable() argument
313 num_glyphs)) { in ParseMathGlyphInfoTable()
[all …]
Dgdef.cc30 size_t length, const uint16_t num_glyphs) { in ParseGlyphClassDefTable() argument
31 return ots::ParseClassDefTable(data, length, num_glyphs, in ParseGlyphClassDefTable()
36 size_t length, const uint16_t num_glyphs) { in ParseAttachListTable() argument
54 if (glyph_count > num_glyphs) { in ParseAttachListTable()
73 length - offset_coverage, num_glyphs)) { in ParseAttachListTable()
106 size_t length, const uint16_t num_glyphs) { in ParseLigCaretListTable() argument
123 if (lig_glyph_count > num_glyphs) { in ParseLigCaretListTable()
141 length - offset_coverage, num_glyphs)) { in ParseLigCaretListTable()
202 size_t length, const uint16_t num_glyphs) { in ParseMarkAttachClassDefTable() argument
203 return ots::ParseClassDefTable(data, length, num_glyphs, kMaxClassDefValue); in ParseMarkAttachClassDefTable()
[all …]
Dltsh.cc27 uint16_t num_glyphs = 0; in ots_ltsh_parse() local
29 !table.ReadU16(&num_glyphs)) { in ots_ltsh_parse()
39 if (num_glyphs != file->maxp->num_glyphs) { in ots_ltsh_parse()
40 OTS_WARNING("bad num_glyphs: %u", num_glyphs); in ots_ltsh_parse()
45 ltsh->ypels.reserve(num_glyphs); in ots_ltsh_parse()
46 for (unsigned i = 0; i < num_glyphs; ++i) { in ots_ltsh_parse()
Dpost.cc49 uint16_t num_glyphs = 0; in ots_post_parse() local
50 if (!table.ReadU16(&num_glyphs)) { in ots_post_parse()
58 if (num_glyphs == 0) { in ots_post_parse()
59 if (file->maxp->num_glyphs > 258) { in ots_post_parse()
69 if (num_glyphs != file->maxp->num_glyphs) { in ots_post_parse()
74 post->glyph_name_index.resize(num_glyphs); in ots_post_parse()
75 for (unsigned i = 0; i < num_glyphs; ++i) { in ots_post_parse()
106 for (unsigned i = 0; i < num_glyphs; ++i) { in ots_post_parse()
Dloca.cc28 const unsigned num_glyphs = file->maxp->num_glyphs; in ots_loca_parse() local
30 loca->offsets.resize(num_glyphs + 1); in ots_loca_parse()
37 for (unsigned i = 0; i <= num_glyphs; ++i) { in ots_loca_parse()
49 for (unsigned i = 0; i <= num_glyphs; ++i) { in ots_loca_parse()
Dgpos.cc241 file->maxp->num_glyphs)) { in ParseSingleAdjustment()
251 const uint16_t num_glyphs) { in ParsePairSetTable() argument
264 if (glyph_id >= num_glyphs) { in ParsePairSetTable()
280 const uint16_t num_glyphs) { in ParsePairPosFormat1() argument
308 num_glyphs)) { in ParsePairPosFormat1()
319 const uint16_t num_glyphs) { in ParsePairPosFormat2() argument
360 num_glyphs, kMaxClassDefValue)) { in ParsePairPosFormat2()
365 num_glyphs, kMaxClassDefValue)) { in ParsePairPosFormat2()
391 file->maxp->num_glyphs)) { in ParsePairAdjustment()
396 file->maxp->num_glyphs)) { in ParsePairAdjustment()
[all …]
Dlayout.h43 const uint16_t num_glyphs,
47 const uint16_t num_glyphs,
54 const uint16_t num_glyphs,
59 const uint16_t num_glyphs,
/external/freetype/src/sfnt/
Dttpost.c163 FT_Int num_glyphs; in load_format_20() local
170 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
191 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
194 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
207 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
282 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
315 FT_Int num_glyphs; in load_format_25() local
322 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/external/chromium_org/third_party/freetype/src/sfnt/
Dttpost.c163 FT_Int num_glyphs; in load_format_20() local
170 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
191 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
194 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
207 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
282 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
315 FT_Int num_glyphs; in load_format_25() local
322 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
Dttpost.c163 FT_Int num_glyphs; in load_format_20() local
170 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_20()
179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20()
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
191 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20()
194 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
207 for ( n = 0; n < num_glyphs; n++ ) in load_format_20()
282 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20()
315 FT_Int num_glyphs; in load_format_25() local
322 if ( FT_READ_USHORT( num_glyphs ) ) in load_format_25()
[all …]
/external/chromium_org/third_party/freetype/src/cff/
Dcffload.c666 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
685 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
781 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
793 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
805 for ( j = num_glyphs - 1; j >= 0 ; j-- ) in cff_charset_compute_cids()
809 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
856 FT_UInt num_glyphs, in cff_charset_load() argument
882 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
891 if ( num_glyphs > 0 ) in cff_charset_load()
893 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/external/freetype/src/cff/
Dcffload.c666 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
685 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
788 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
800 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
812 for ( j = num_glyphs - 1; j >= 0 ; j-- ) in cff_charset_compute_cids()
816 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
863 FT_UInt num_glyphs, in cff_charset_load() argument
889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
898 if ( num_glyphs > 0 ) in cff_charset_load()
900 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcffload.c666 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument
685 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select()
781 FT_UInt num_glyphs, in cff_charset_compute_cids() argument
793 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids()
805 for ( j = num_glyphs - 1; j >= 0 ; j-- ) in cff_charset_compute_cids()
809 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids()
856 FT_UInt num_glyphs, in cff_charset_load() argument
882 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
891 if ( num_glyphs > 0 ) in cff_charset_load()
893 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load()
[all …]
/external/chromium_org/third_party/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()
/external/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()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-layout-gsub-table.hh90 unsigned int num_glyphs, in serialize()
95 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETUR… in serialize()
167 unsigned int num_glyphs) in serialize()
171 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return TRACE_RETURN (false); in serialize()
172 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETUR… in serialize()
198 unsigned int num_glyphs) in serialize()
204 if (num_glyphs) { in serialize()
208 for (unsigned int i = 1; i < num_glyphs; i++) in serialize()
216 case 1: return TRACE_RETURN (u.format1.serialize (c, glyphs, num_glyphs, delta)); in serialize()
217 case 2: return TRACE_RETURN (u.format2.serialize (c, glyphs, substitutes, num_glyphs)); in serialize()
[all …]
Dhb-ot-shape-complex-arabic-fallback.hh54 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
69 glyphs[num_glyphs].set (u_glyph); in arabic_fallback_synthesize_lookup_single()
70 substitutes[num_glyphs].set (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_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); in arabic_fallback_synthesize_lookup_single()
82 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); in arabic_fallback_synthesize_lookup_single()
83 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); in arabic_fallback_synthesize_lookup_single()
93 num_glyphs); in arabic_fallback_synthesize_lookup_single()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh90 unsigned int num_glyphs, in serialize()
95 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETUR… in serialize()
167 unsigned int num_glyphs) in serialize()
171 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return TRACE_RETURN (false); in serialize()
172 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETUR… in serialize()
198 unsigned int num_glyphs) in serialize()
204 if (num_glyphs) { in serialize()
208 for (unsigned int i = 1; i < num_glyphs; i++) in serialize()
216 case 1: return TRACE_RETURN (u.format1.serialize (c, glyphs, num_glyphs, delta)); in serialize()
217 case 2: return TRACE_RETURN (u.format2.serialize (c, glyphs, substitutes, num_glyphs)); in serialize()
[all …]
Dhb-ot-shape-complex-arabic-fallback.hh62 unsigned int num_glyphs = 0; in arabic_fallback_synthesize_lookup_single() local
77 glyphs[num_glyphs].set (u_glyph); in arabic_fallback_synthesize_lookup_single()
78 substitutes[num_glyphs].set (s_glyph); in arabic_fallback_synthesize_lookup_single()
80 num_glyphs++; in arabic_fallback_synthesize_lookup_single()
85 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); in arabic_fallback_synthesize_lookup_single()
87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); in arabic_fallback_synthesize_lookup_single()
88 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); in arabic_fallback_synthesize_lookup_single()
98 num_glyphs); in arabic_fallback_synthesize_lookup_single()
/external/harfbuzz_ng/util/
Dhelper-cairo.hh52 unsigned int num_glyphs; member
69 *x_advance = glyphs[num_glyphs].x; in get_advance()
70 *y_advance = glyphs[num_glyphs].y; in get_advance()
Dhelper-cairo.cc431 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer()
434 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); in helper_cairo_line_from_buffer()
439 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
440 for (unsigned int i = 1; i < l->num_glyphs; i++) in helper_cairo_line_from_buffer()
446 if ((l->num_glyphs && !l->glyphs) || in helper_cairo_line_from_buffer()
456 for (i = 0; i < (int) l->num_glyphs; i++) in helper_cairo_line_from_buffer()
476 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
478 for (i = l->num_glyphs - 2; i >= 0; i--) { in helper_cairo_line_from_buffer()
489 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
493 for (i = 1; i < (int) l->num_glyphs; i++) { in helper_cairo_line_from_buffer()
[all …]

12345678