/external/chromium_org/third_party/ots/src/ |
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) {
|
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 = file->maxp->num_glyphs local 248 const uint16_t num_glyphs = file->maxp->num_glyphs; local 364 const uint16_t num_glyphs = file->maxp->num_glyphs; local 436 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
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,
|
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) { [all...] |
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) {
|
maxp.h | 13 uint16_t num_glyphs; member in struct:ots::OpenTypeMAXP
|
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, kMaxClassDefValue) 255 const uint16_t num_glyphs = file->maxp->num_glyphs; local [all...] |
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) { 107 for (unsigned i = 0; i < num_glyphs; ++i) [all...] |
hmtx.cc | 24 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
|
metrics.h | 41 const uint16_t num_glyphs,
|
/external/sfntly/cpp/src/sfntly/table/core/ |
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) { 102 if (num_glyphs < 0) { 108 num_glyphs_ = num_glyphs; 112 table->num_glyphs_ = num_glyphs;
|
horizontal_metrics_table.cc | 87 int32_t num_glyphs) 90 num_glyphs_(num_glyphs) { 130 void HorizontalMetricsTable::Builder::SetNumGlyphs(int32_t num_glyphs) { 131 assert(num_glyphs >= 0); 132 num_glyphs_ = num_glyphs; 135 table->num_glyphs_ = num_glyphs;
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
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...] |
ttcmap.h | 102 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_ 108 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
|
/external/freetype/src/sfnt/ |
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...] |
ttcmap.h | 135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_ 141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
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_glyphs) [all...] |
hb-coretext.cc | 243 unsigned int num_glyphs = CTRunGetGlyphCount (run); local 244 if (num_glyphs == 0) 247 buffer->ensure (buffer->len + num_glyphs); 263 ALLOCATE_ARRAY (CGGlyph, glyph_buf, num_glyphs); 270 ALLOCATE_ARRAY (CGPoint, position_buf, num_glyphs); 277 ALLOCATE_ARRAY (CFIndex, index_buf, num_glyphs); 286 for (unsigned int j = 0; j < num_glyphs; j++) { 287 double advance = (j + 1 < num_glyphs ? positions[j + 1].x : positions[0].x + run_width) - positions[j].x;
|
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/src/ |
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_glyphs) [all...] |
/external/harfbuzz_ng/src/hb-old/ |
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 = first_glyph [all...] |
/external/harfbuzz_ng/util/ |
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;
|
view-cairo.cc | 102 for (unsigned i = 0; i < l.num_glyphs; i++) { 113 cairo_glyph_path (cr, l.glyphs, l.num_glyphs); 118 l.glyphs, l.num_glyphs, 122 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs);
|
helper-cairo.cc | 403 l->num_glyphs = hb_buffer_get_length (buffer); 406 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); 411 l->num_clusters = l->num_glyphs ? 1 : 0; 412 for (unsigned int i = 1; i < l->num_glyphs; i++) 418 if ((l->num_glyphs && !l->glyphs) || 428 for (i = 0; i < (int) l->num_glyphs; i++) 448 l->clusters[cluster].num_glyphs++; 450 for (i = l->num_glyphs - 2; i >= 0; i--) { 461 l->clusters[cluster].num_glyphs++; 465 for (i = 1; i < (int) l->num_glyphs; i++) [all...] |
/external/harfbuzz/src/ |
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 = first_glyph [all...] |