/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, 54 const uint16_t num_glyphs, 59 const uint16_t num_glyphs,
|
H A D | math.cc | 162 const uint16_t num_glyphs) { 183 num_glyphs, sequence_count)) { 199 const uint16_t num_glyphs) { 202 num_glyphs); 207 const uint16_t num_glyphs) { 210 num_glyphs); 240 const uint16_t num_glyphs) { 262 num_glyphs, sequence_count)) { 288 const uint16_t num_glyphs) { 313 num_glyphs)) { 159 ParseMathValueRecordSequenceForGlyphs(ots::Buffer* subtable, const uint8_t *data, const size_t length, const uint16_t num_glyphs) argument 197 ParseMathItalicsCorrectionInfoTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 205 ParseMathTopAccentAttachmentTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 239 ParseMathKernInfoTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 287 ParseMathGlyphInfoTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 349 ParseGlyphAssemblyTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 388 ParseMathGlyphConstructionTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 434 ParseMathGlyphConstructionSequence(ots::Buffer* subtable, const uint8_t *data, size_t length, const uint16_t num_glyphs, uint16_t offset_coverage, uint16_t glyph_count, const unsigned sequence_end) argument 469 ParseMathVariantsTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument 519 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
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, 352 if (glyph_count > num_glyphs) { 361 if (glyph > num_glyphs) { 376 const uint16_t num_glyphs, 389 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, const uint16_t expected_num_glyphs) argument 375 ParseCoverageFormat2(const uint8_t *data, size_t length, const uint16_t num_glyphs, const uint16_t expected_num_glyphs) argument 432 ParseLookupRecord(ots::Buffer *subtable, const uint16_t num_glyphs, const uint16_t num_lookups) argument 449 ParseRuleSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 482 ParseRuleSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 513 ParseContextFormat1(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 557 ParseClassRuleTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 588 ParseClassSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 620 ParseContextFormat2(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 677 ParseContextFormat3(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 724 ParseChainRuleSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 793 ParseChainRuleSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 825 ParseChainContextFormat1(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 871 ParseChainClassRuleSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 925 ParseChainClassSetTable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 958 ParseChainContextFormat2(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 1048 ParseChainContextFormat3(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 1332 ParseClassDefTable(const uint8_t *data, size_t length, const uint16_t num_glyphs, const uint16_t num_classes) argument 1350 ParseCoverageTable(const uint8_t *data, size_t length, const uint16_t num_glyphs, const uint16_t expected_num_glyphs) argument 1399 ParseContextSubtable(const uint8_t *data, const size_t length, const uint16_t num_glyphs, const uint16_t num_lookups) argument 1428 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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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 | 55 mutable unsigned int num_glyphs; member in struct:hb_face_t 88 if (unlikely (num_glyphs == (unsigned int) -1)) 90 return num_glyphs;
|
/external/harfbuzz_ng/src/ |
H A D | hb-face-private.hh | 55 mutable unsigned int num_glyphs; member in struct:hb_face_t 88 if (unlikely (num_glyphs == (unsigned int) -1)) 90 return 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/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/ |
H A D | t1cmap.h | 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
|
/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; 788 FT_UInt num_glyphs, 800 for ( i = 0; i < num_glyphs; i++ ) 812 for ( j = num_glyphs - 1; j >= 0 ; j-- ) 816 charset->num_glyphs = num_glyphs; 863 FT_UInt num_glyphs, 889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) 898 if ( num_glyphs > 665 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument 787 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument 862 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument 1061 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...] |