/external/chromium_org/third_party/ots/src/ |
H A D | ltsh.cc | 27 uint16_t num_glyphs = 0; local 29 !table.ReadU16(&num_glyphs)) { 39 if (num_glyphs != file->maxp->num_glyphs) { 40 OTS_WARNING("bad num_glyphs: %u", num_glyphs); 45 ltsh->ypels.reserve(num_glyphs); 46 for (unsigned i = 0; i < num_glyphs; ++i) {
|
H A D | loca.cc | 28 const unsigned num_glyphs = file->maxp->num_glyphs; local 30 loca->offsets.resize(num_glyphs + 1); 31 // maxp->num_glyphs is uint16_t, thus the addition never overflows. 37 for (unsigned i = 0; i <= num_glyphs; ++i) { 49 for (unsigned i = 0; i <= num_glyphs; ++i) {
|
H A D | gsub.cc | 85 const uint16_t num_glyphs = file->maxp->num_glyphs; local 92 if (std::abs(delta_glyph_id) >= num_glyphs) { 101 if (glyph_count > num_glyphs) { 109 if (substitute >= num_glyphs) { 122 length - offset_coverage, num_glyphs)) { 130 const uint16_t num_glyphs) { 137 if (glyph_count > num_glyphs) { 145 if (substitute >= num_glyphs) { 173 const uint16_t num_glyphs local 129 ParseSequenceTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs) argument 204 ParseAlternateSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs) argument 248 const uint16_t num_glyphs = file->maxp->num_glyphs; local 281 ParseLigatureTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs) argument 313 ParseLigatureSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs) argument 364 const uint16_t num_glyphs = file->maxp->num_glyphs; local 436 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
H A D | layout.h | 43 const uint16_t num_glyphs, 47 const uint16_t num_glyphs); 53 const uint16_t num_glyphs, 58 const uint16_t num_glyphs,
|
H A D | layout.cc | 255 const uint16_t num_glyphs, 268 if (start_glyph > num_glyphs) { 277 if (glyph_count > num_glyphs) { 296 const uint16_t num_glyphs, 309 if (range_count > num_glyphs) { 339 const uint16_t num_glyphs) { 351 if (glyph_count > num_glyphs) { 360 if (glyph > num_glyphs) { 370 const uint16_t num_glyphs) { 382 if (range_count > num_glyphs) { 254 ParseClassDefFormat1(const uint8_t *data, size_t length, const uint16_t num_glyphs, const uint16_t num_classes) argument 295 ParseClassDefFormat2(const uint8_t *data, size_t length, const uint16_t num_glyphs, const uint16_t num_classes) argument 338 ParseCoverageFormat1(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 369 ParseCoverageFormat2(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 419 ParseLookupRecord(ots::Buffer *subtable, const uint16_t num_glyphs, const uint16_t num_lookups) argument 436 ParseRuleSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 469 ParseRuleSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 500 ParseContextFormat1(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 544 ParseClassRuleTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 575 ParseClassSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 607 ParseContextFormat2(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 664 ParseContextFormat3(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 711 ParseChainRuleSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 780 ParseChainRuleSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 812 ParseChainContextFormat1(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 858 ParseChainClassRuleSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 912 ParseChainClassSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 945 ParseChainContextFormat2(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 1035 ParseChainContextFormat3(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 1319 ParseClassDefTable(const uint8_t *data, size_t length, const uint16_t num_glyphs, const uint16_t num_classes) argument 1337 ParseCoverageTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 1385 ParseContextSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 1414 ParseChainingContextSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument [all...] |
H A D | gdef.cc | 30 size_t length, const uint16_t num_glyphs) { 31 return ots::ParseClassDefTable(data, length, num_glyphs, 36 size_t length, const uint16_t num_glyphs) { 54 if (glyph_count > num_glyphs) { 73 length - offset_coverage, num_glyphs)) { 106 size_t length, const uint16_t num_glyphs) { 123 if (lig_glyph_count > num_glyphs) { 141 length - offset_coverage, num_glyphs)) { 202 size_t length, const uint16_t num_glyphs) { 203 return ots::ParseClassDefTable(data, length, num_glyphs, kMaxClassDefValu 29 ParseGlyphClassDefTable(ots::OpenTypeFile *file, const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 35 ParseAttachListTable(ots::OpenTypeFile *file, const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 105 ParseLigCaretListTable(ots::OpenTypeFile *file, const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 201 ParseMarkAttachClassDefTable(ots::OpenTypeFile *file, const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 206 ParseMarkGlyphSetsDefTable(ots::OpenTypeFile *file, const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 255 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
H A D | post.cc | 49 uint16_t num_glyphs = 0; local 50 if (!table.ReadU16(&num_glyphs)) { 58 if (num_glyphs == 0) { 59 if (file->maxp->num_glyphs > 258) { 69 if (num_glyphs != file->maxp->num_glyphs) { 70 // Note: Fixedsys500c.ttf seems to have inconsistent num_glyphs values. 74 post->glyph_name_index.resize(num_glyphs); 75 for (unsigned i = 0; i < num_glyphs; ++i) { 106 for (unsigned i = 0; i < num_glyphs; [all...] |
H A D | maxp.h | 13 uint16_t num_glyphs; member in struct:ots::OpenTypeMAXP
|
H A D | hmtx.cc | 24 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
H A D | ttpost.c | 163 FT_Int num_glyphs; local 170 if ( FT_READ_USHORT( num_glyphs ) ) 179 if ( num_glyphs > face->max_profile.numGlyphs ) 190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || 191 FT_FRAME_ENTER( num_glyphs * 2L ) ) 194 for ( n = 0; n < num_glyphs; n++ ) 207 for ( n = 0; n < num_glyphs; n++ ) 282 table->num_glyphs = (FT_UShort)num_glyphs; 315 FT_Int num_glyphs; local [all...] |
/external/freetype/src/sfnt/ |
H A D | ttpost.c | 163 FT_Int num_glyphs; local 170 if ( FT_READ_USHORT( num_glyphs ) ) 179 if ( num_glyphs > face->max_profile.numGlyphs ) 190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || 191 FT_FRAME_ENTER( num_glyphs * 2L ) ) 194 for ( n = 0; n < num_glyphs; n++ ) 207 for ( n = 0; n < num_glyphs; n++ ) 282 table->num_glyphs = (FT_UShort)num_glyphs; 315 FT_Int num_glyphs; local [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-face-private.hh | 56 mutable unsigned int num_glyphs; member in struct:hb_face_t 89 if (unlikely (num_glyphs == (unsigned int) -1)) 91 return num_glyphs;
|
H A D | hb-ot-shape-complex-arabic-fallback.hh | 62 unsigned int num_glyphs = 0; local 77 glyphs[num_glyphs].set (u_glyph); 78 substitutes[num_glyphs].set (s_glyph); 80 num_glyphs++; 85 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); 87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 88 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs); 98 num_glyphs);
|
/external/harfbuzz_ng/util/ |
H A D | helper-cairo.hh | 52 unsigned int num_glyphs; member in struct:helper_cairo_line_t 69 *x_advance = glyphs[num_glyphs].x; 70 *y_advance = glyphs[num_glyphs].y;
|
/external/harfbuzz_ng/src/ |
H A D | hb-old.cc | 329 unsigned int num_glyphs = scratch_size / (sizeof (HB_Glyph) + local 335 item.num_glyphs = num_glyphs; 336 ALLOCATE_ARRAY (HB_Glyph, item.glyphs, num_glyphs); 337 ALLOCATE_ARRAY (HB_GlyphAttributes, item.attributes, num_glyphs); 338 ALLOCATE_ARRAY (HB_Fixed, item.advances, num_glyphs); 339 ALLOCATE_ARRAY (HB_FixedPoint, item.offsets, num_glyphs); 342 memset (item.offsets, 0, num_glyphs * sizeof (item.offsets[0])); 344 ALLOCATE_ARRAY (uint32_t, vis_clusters, num_glyphs); 350 if (unlikely (item.num_glyphs > num_glyph [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/ |
H A D | horizontal_device_metrics_table.cc | 75 int32_t num_glyphs) 76 : Table(header, data), num_glyphs_(num_glyphs) { 101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument 102 if (num_glyphs < 0) { 108 num_glyphs_ = num_glyphs; 112 table->num_glyphs_ = num_glyphs; 72 HorizontalDeviceMetricsTable( Header* header, ReadableFontData* data, int32_t num_glyphs) argument
|
H A D | horizontal_metrics_table.cc | 87 int32_t num_glyphs) 90 num_glyphs_(num_glyphs) { 130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument 131 assert(num_glyphs >= 0); 132 num_glyphs_ = num_glyphs; 135 table->num_glyphs_ = num_glyphs; 84 HorizontalMetricsTable(Header* header, ReadableFontData* data, int32_t num_hmetrics, int32_t num_glyphs) argument
|
/external/sfntly/cpp/src/sfntly/table/core/ |
H A D | horizontal_device_metrics_table.cc | 75 int32_t num_glyphs) 76 : Table(header, data), num_glyphs_(num_glyphs) { 101 void HorizontalDeviceMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument 102 if (num_glyphs < 0) { 108 num_glyphs_ = num_glyphs; 112 table->num_glyphs_ = num_glyphs; 72 HorizontalDeviceMetricsTable( Header* header, ReadableFontData* data, int32_t num_glyphs) argument
|
H A D | horizontal_metrics_table.cc | 87 int32_t num_glyphs) 90 num_glyphs_(num_glyphs) { 130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { argument 131 assert(num_glyphs >= 0); 132 num_glyphs_ = num_glyphs; 135 table->num_glyphs_ = num_glyphs; 84 HorizontalMetricsTable(Header* header, ReadableFontData* data, int32_t num_hmetrics, int32_t num_glyphs) argument
|
/external/harfbuzz/src/ |
H A D | harfbuzz-tibetan.c | 109 const int availableGlyphs = item->num_glyphs; 114 if (item->num_glyphs < item->item.length + 4) { 115 item->num_glyphs = item->item.length + 4; 129 item->glyphs, &item->num_glyphs, 236 syllable.num_glyphs = item->num_glyphs - first_glyph; 238 item->num_glyphs += syllable.num_glyphs; 245 first_glyph += syllable.num_glyphs; 247 item->num_glyphs [all...] |
/external/harfbuzz_ng/src/hb-old/ |
H A D | harfbuzz-tibetan.c | 109 const int availableGlyphs = item->num_glyphs; 114 if (item->num_glyphs < item->item.length + 4) { 115 item->num_glyphs = item->item.length + 4; 129 item->glyphs, &item->num_glyphs, 236 syllable.num_glyphs = item->num_glyphs - first_glyph; 238 item->num_glyphs += syllable.num_glyphs; 245 first_glyph += syllable.num_glyphs; 247 item->num_glyphs [all...] |
/external/chromium_org/third_party/freetype/src/psaux/ |
H A D | t1cmap.h | 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
|
/external/freetype/src/psaux/ |
H A D | t1cmap.h | 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
|
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cffload.c | 666 FT_UInt num_glyphs, 685 fdselect->data_size = num_glyphs; 781 FT_UInt num_glyphs, 793 for ( i = 0; i < num_glyphs; i++ ) 805 for ( j = num_glyphs - 1; j >= 0 ; j-- ) 809 charset->num_glyphs = num_glyphs; 856 FT_UInt num_glyphs, 882 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) 891 if ( num_glyphs > 665 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument 780 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument 855 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument 1054 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument [all...] |
/external/freetype/src/cff/ |
H A D | cffload.c | 666 FT_UInt num_glyphs, 685 fdselect->data_size = num_glyphs; 781 FT_UInt num_glyphs, 793 for ( i = 0; i < num_glyphs; i++ ) 805 for ( j = num_glyphs - 1; j >= 0 ; j-- ) 809 charset->num_glyphs = num_glyphs; 856 FT_UInt num_glyphs, 882 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) 891 if ( num_glyphs > 665 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument 780 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument 855 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument 1054 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument [all...] |