/external/freetype/src/sfnt/ |
D | ttpost.c | 167 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 …]
|
/external/freetype/src/otvalid/ |
D | otvmod.c | 85 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()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-cff1-table.hh | 313 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize() 316 return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); in sanitize() 327 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph() 332 for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) in get_glyph() 340 unsigned int get_size (unsigned int num_glyphs) const in get_size() 342 assert (num_glyphs > 0); in get_size() 343 return HBUINT16::static_size * (num_glyphs - 1); in get_size() 367 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize() 372 num_glyphs--; in sanitize() 373 for (unsigned int i = 0; num_glyphs > 0; i++) in sanitize() [all …]
|
D | hb-subset-cff-common.cc | 148 const unsigned int num_glyphs, in serialize_fdselect_3_4() argument 162 p->sentinel().set (num_glyphs); in serialize_fdselect_3_4() 172 const unsigned int num_glyphs, in hb_serialize_cff_fdselect() argument 194 for (unsigned int i = 0; i < num_glyphs; i++) in hb_serialize_cff_fdselect() 209 num_glyphs, in hb_serialize_cff_fdselect() 216 num_glyphs, in hb_serialize_cff_fdselect()
|
D | hb-ot-shape-complex-arabic-fallback.hh | 54 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_stable_sort (&glyphs[0], num_glyphs, (int(*)(const OT::GlyphID*, const OT::GlyphID *)) OT::Glyp… in arabic_fallback_synthesize_lookup_single() 89 hb_array (glyphs, num_glyphs), in arabic_fallback_synthesize_lookup_single() 90 hb_array (substitutes, num_glyphs)); in arabic_fallback_synthesize_lookup_single()
|
D | hb-aat-layout-common.hh | 51 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value() 53 if (unlikely (glyph_id >= num_glyphs)) return nullptr; in get_value() 342 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value() 345 case 0: return u.format0.get_value (glyph_id, num_glyphs); in get_value() 354 const typename T::type get_value_or_null (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value_or_null() 360 const T *v = get_value (glyph_id, num_glyphs); in get_value_or_null() 366 unsigned int num_glyphs, in get_class() 369 const T *v = get_value (glyph_id, num_glyphs); in get_class() 505 unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_class() 508 return (this+classTable).get_class (glyph_id, num_glyphs, 1); in get_class() [all …]
|
D | hb-ot-color-sbix-table.hh | 77 unsigned int num_glyphs, in get_glyph_blob() 88 if (unlikely (glyph_id >= num_glyphs || in get_glyph_blob() 144 num_glyphs = face->get_num_glyphs (); in init() 167 num_glyphs, available_ppem); in reference_png() 260 unsigned int num_glyphs; member
|
D | hb-ot-cff2-table.hh | 66 bool serialize (hb_serialize_context_t *c, const CFF2FDSelect &src, unsigned int num_glyphs) in serialize() 69 unsigned int size = src.get_size (num_glyphs); in serialize() 76 unsigned int calculate_serialized_size (unsigned int num_glyphs) const in calculate_serialized_size() 77 { return get_size (num_glyphs); } in calculate_serialized_size() 79 unsigned int get_size (unsigned int num_glyphs) const in get_size() 83 size += u.format0.get_size (num_glyphs); in get_size() 462 num_glyphs = charStrings->count; in init() 463 if (num_glyphs != sc.get_num_glyphs ()) in init() 523 unsigned int num_glyphs; member
|
D | hb-graphite2.cc | 226 unsigned int num_glyphs; member 344 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; in _hb_graphite2_shape() 356 c->num_glyphs = 0; in _hb_graphite2_shape() 367 clusters[ci].num_glyphs++; in _hb_graphite2_shape() 381 for (unsigned int j = 0; j < clusters[i].num_glyphs; ++j) in _hb_graphite2_shape()
|
D | hb-coretext.cc | 957 unsigned int num_glyphs = CTRunGetGlyphCount (run); in _hb_coretext_shape() local 958 if (num_glyphs == 0) in _hb_coretext_shape() 961 if (!buffer->ensure_inplace (buffer->len + num_glyphs)) in _hb_coretext_shape() 986 ALLOCATE_ARRAY (CGGlyph, glyph_buf, num_glyphs, goto resize_and_retry); in _hb_coretext_shape() 992 ALLOCATE_ARRAY (CFIndex, index_buf, num_glyphs, goto resize_and_retry); in _hb_coretext_shape() 997 for (unsigned int j = 0; j < num_glyphs; j++) in _hb_coretext_shape() 1014 ALLOCATE_ARRAY (CGPoint, position_buf, num_glyphs, goto resize_and_retry); in _hb_coretext_shape() 1022 for (unsigned int j = 0; j < num_glyphs; j++) in _hb_coretext_shape() 1025 if (likely (j + 1 < num_glyphs)) in _hb_coretext_shape() 1038 for (unsigned int j = 0; j < num_glyphs; j++) in _hb_coretext_shape() [all …]
|
D | hb-face.hh | 57 mutable hb_atomic_int_t num_glyphs; /* Number of glyphs. */ member 96 unsigned int ret = num_glyphs.get_relaxed (); in get_num_glyphs()
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | horizontal_device_metrics_table.cc | 75 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()
|
D | horizontal_metrics_table.cc | 87 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/freetype/src/cff/ |
D | cffload.c | 700 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 …]
|
/external/harfbuzz_ng/util/ |
D | helper-cairo.cc | 483 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer() 486 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); in helper_cairo_line_from_buffer() 491 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer() 492 for (unsigned int i = 1; i < l->num_glyphs; i++) in helper_cairo_line_from_buffer() 498 if ((l->num_glyphs && !l->glyphs) || in helper_cairo_line_from_buffer() 508 for (i = 0; i < (int) l->num_glyphs; i++) in helper_cairo_line_from_buffer() 528 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer() 530 for (i = l->num_glyphs - 2; i >= 0; i--) { in helper_cairo_line_from_buffer() 541 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer() 545 for (i = 1; i < (int) l->num_glyphs; i++) { in helper_cairo_line_from_buffer() [all …]
|
D | options.hh | 217 unsigned int num_glyphs = hb_buffer_get_length (buffer); in populate_buffer() local 219 for (unsigned int i = 0; i < num_glyphs; i++) in populate_buffer() 283 unsigned int num_glyphs; in verify_buffer_monotone() local 284 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_monotone() 286 for (unsigned int i = 1; i < num_glyphs; i++) in verify_buffer_monotone() 319 unsigned int num_glyphs; in verify_buffer_safe_to_break() local 320 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_safe_to_break() 330 for (unsigned int end = 1; end < num_glyphs + 1; end++) in verify_buffer_safe_to_break() 332 if (end < num_glyphs && in verify_buffer_safe_to_break() 338 if (end == num_glyphs) in verify_buffer_safe_to_break()
|
D | helper-cairo.hh | 56 unsigned int num_glyphs; member 73 *x_advance = glyphs[num_glyphs].x; in get_advance() 74 *y_advance = glyphs[num_glyphs].y; in get_advance()
|
D | view-cairo.cc | 107 for (unsigned i = 0; i < l.num_glyphs; i++) { in render() 118 cairo_glyph_path (cr, l.glyphs, l.num_glyphs); in render() 123 l.glyphs, l.num_glyphs, in render() 127 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs); in render()
|
/external/freetype/src/truetype/ |
D | ttpload.c | 125 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca() 128 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca() 131 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs ) in tt_face_load_loca() 134 ( (FT_ULong)face->root.num_glyphs + 1 ) << shift; in tt_face_load_loca() 165 face->num_locations = (FT_ULong)face->root.num_glyphs + 1; in tt_face_load_loca() 173 face->root.num_glyphs = face->num_locations in tt_face_load_loca() 177 face->root.num_glyphs )); in tt_face_load_loca()
|
/external/freetype/src/psaux/ |
D | t1cmap.c | 42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs; in t1_cmap_std_init() 55 cmap->num_glyphs = 0; in t1_cmap_std_done() 80 for ( n = 0; n < cmap->num_glyphs; n++ ) in t1_cmap_std_char_index() 310 (FT_UInt)face->type1.num_glyphs, in t1_cmap_unicode_init()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table_format5.cc | 82 int32_t num_glyphs = data->ReadULongAsInt(table_offset + in NumGlyphs() local 84 return num_glyphs; in NumGlyphs() 291 int32_t num_glyphs = IndexSubTableFormat5::NumGlyphs(data, 0); in Initialize() local 292 for (int32_t i = 0; i < num_glyphs; ++i) { in Initialize() 306 int32_t num_glyphs = IndexSubTableFormat5::NumGlyphs(data, in DataLength() local 311 num_glyphs * DataSize::kUSHORT; in DataLength()
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
D | loca_table.h | 88 void SetNumGlyphs(int32_t num_glyphs); 144 int32_t num_glyphs() { return num_glyphs_; } in num_glyphs() function 171 int32_t num_glyphs);
|
D | loca_table.cc | 66 int32_t num_glyphs) in LocaTable() argument 69 num_glyphs_(num_glyphs) { in LocaTable() 138 void LocaTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument 139 num_glyphs_ = num_glyphs; in SetNumGlyphs()
|
/external/freetype/src/psnames/ |
D | psmodule.c | 317 FT_UInt num_glyphs, in ps_unicodes_init() argument 332 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init() 342 for ( n = 0; n < num_glyphs; n++ ) in ps_unicodes_init() 393 if ( count < num_glyphs / 2 ) in ps_unicodes_init() 396 num_glyphs + EXTRA_GLYPH_LIST_SIZE, in ps_unicodes_init()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_info.cc | 214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) { in ResolveCompositeGlyphs() 217 loca_table_->num_glyphs()); in ResolveCompositeGlyphs() 243 int32_t num_glyphs = composite_glyph->NumGlyphs(); in ResolveCompositeGlyphs() local 244 for (int32_t i = 0; i < num_glyphs; ++i) { in ResolveCompositeGlyphs()
|