/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | ttpost.c | 166 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() 184 (FT_ULong)num_glyphs * 2UL > post_len - 2 ) in load_format_20() 195 if ( FT_QNEW_ARRAY( glyph_indices, num_glyphs ) || in load_format_20() 196 FT_FRAME_ENTER( num_glyphs * 2L ) ) in load_format_20() 199 for ( n = 0; n < num_glyphs; n++ ) in load_format_20() 212 for ( n = 0; n < num_glyphs; n++ ) in load_format_20() 234 post_len -= (FT_ULong)num_glyphs * 2UL + 2; in load_format_20() 286 table->num_glyphs = (FT_UShort)num_glyphs; in load_format_20() [all …]
|
D | sfwoff2.c | 837 FT_UShort num_glyphs; in reconstruct_glyf() local 863 if ( FT_READ_USHORT( num_glyphs ) ) in reconstruct_glyf() 869 num_glyphs, index_format )); in reconstruct_glyf() 871 info->num_glyphs = num_glyphs; in reconstruct_glyf() 878 ( (FT_ULong)num_glyphs + 1 ); in reconstruct_glyf() 905 if ( FT_NEW_ARRAY( loca_values, num_glyphs + 1 ) ) in reconstruct_glyf() 912 bitmap_length = ( ( num_glyphs + 31U ) >> 5 ) << 2; in reconstruct_glyf() 919 if ( FT_NEW_ARRAY( info->x_mins, num_glyphs ) ) in reconstruct_glyf() 922 for ( i = 0; i < num_glyphs; ++i ) in reconstruct_glyf() 1197 loca_values[num_glyphs] = info->glyf_table->dst_length; in reconstruct_glyf() [all …]
|
/third_party/skia/third_party/externals/freetype/src/otvalid/ |
D | otvmod.c | 84 FT_UInt num_glyphs = (FT_UInt)face->num_glyphs; in otv_validate() local 95 if ( face->num_glyphs > 0xFFFFL ) in otv_validate() 98 face->num_glyphs )); in otv_validate() 100 num_glyphs = 0xFFFF; in otv_validate() 163 otv_GPOS_validate( gpos, num_glyphs, &valid ); in otv_validate() 173 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate() 183 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate() 193 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate() 203 otv_MATH_validate( math, num_glyphs, &valid ); in otv_validate()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-cff1-table.hh | 315 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize() 318 return_trace (c->check_struct (this) && sids[num_glyphs - 1].sanitize (c)); in sanitize() 329 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph() 334 for (unsigned int glyph = 1; glyph < num_glyphs; glyph++) in get_glyph() 342 unsigned int get_size (unsigned int num_glyphs) const in get_size() 344 assert (num_glyphs > 0); in get_size() 345 return HBUINT16::static_size * (num_glyphs - 1); in get_size() 369 bool sanitize (hb_sanitize_context_t *c, unsigned int num_glyphs) const in sanitize() 374 num_glyphs--; in sanitize() 375 for (unsigned int i = 0; num_glyphs > 0; i++) in sanitize() [all …]
|
D | hb-subset-cff-common.cc | 153 const unsigned int num_glyphs, in serialize_fdselect_3_4() argument 167 p->sentinel () = num_glyphs; in serialize_fdselect_3_4() 174 const unsigned int num_glyphs, in hb_serialize_cff_fdselect() argument 196 for (unsigned int i = 0; i < num_glyphs; i++) in hb_serialize_cff_fdselect() 210 return serialize_fdselect_3_4<FDSelect3> (c, num_glyphs, src, in hb_serialize_cff_fdselect() 214 return serialize_fdselect_3_4<FDSelect4> (c, num_glyphs, src, 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] = u_glyph; in arabic_fallback_synthesize_lookup_single() 70 substitutes[num_glyphs] = 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, in arabic_fallback_synthesize_lookup_single() 91 hb_sorted_array (glyphs, num_glyphs), in arabic_fallback_synthesize_lookup_single() 92 hb_array (substitutes, num_glyphs)); in arabic_fallback_synthesize_lookup_single()
|
D | hb-aat-layout-common.hh | 54 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value() 56 if (unlikely (glyph_id >= num_glyphs)) return nullptr; in get_value() 345 const T* get_value (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value() 348 case 0: return u.format0.get_value (glyph_id, num_glyphs); in get_value() 357 const typename T::type get_value_or_null (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_value_or_null() 363 const T *v = get_value (glyph_id, num_glyphs); in get_value_or_null() 369 unsigned int num_glyphs, in get_class() 372 const T *v = get_value (glyph_id, num_glyphs); in get_class() 504 unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const in get_class() 507 return (this+classTable).get_class (glyph_id, num_glyphs, 1); in get_class() [all …]
|
D | hb-ot-color-sbix-table.hh | 83 static unsigned int get_size (unsigned num_glyphs) in get_size() 84 { return min_size + num_glyphs * HBUINT32::static_size; } in get_size() 98 unsigned int num_glyphs, in get_glyph_blob() 109 if (unlikely (glyph_id >= num_glyphs || in get_glyph_blob() 208 num_glyphs = face->get_num_glyphs (); in init() 231 num_glyphs, available_ppem); in reference_png() 331 unsigned int num_glyphs; member
|
D | hb-ot-cff2-table.hh | 53 bool serialize (hb_serialize_context_t *c, const CFF2FDSelect &src, unsigned int num_glyphs) in serialize() 56 unsigned int size = src.get_size (num_glyphs); in serialize() 63 unsigned int get_size (unsigned int num_glyphs) const in get_size() 67 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size() 439 num_glyphs = charStrings->count; in init() 440 if (num_glyphs != sc.get_num_glyphs ()) in init() 502 unsigned int num_glyphs; member
|
D | hb-ot-post-table-v2subset.hh | 75 unsigned num_glyphs = c->plan->num_output_glyphs (); in subset() local 83 for (hb_codepoint_t new_gid = 0; new_gid < num_glyphs; new_gid++) in subset() 122 + hb_range (num_glyphs) in subset()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffload.c | 705 FT_UInt num_glyphs, in CFF_Load_FD_Select() argument 724 fdselect->data_size = num_glyphs; in CFF_Load_FD_Select() 832 FT_UInt num_glyphs, in cff_charset_compute_cids() argument 843 for ( i = 0; i < num_glyphs; i++ ) in cff_charset_compute_cids() 856 for ( i = num_glyphs - 1; i < num_glyphs; i-- ) in cff_charset_compute_cids() 860 charset->num_glyphs = num_glyphs; in cff_charset_compute_cids() 907 FT_UInt num_glyphs, in cff_charset_load() argument 933 if ( FT_QNEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load() 942 if ( num_glyphs > 0 ) in cff_charset_load() 944 if ( FT_FRAME_ENTER( ( num_glyphs - 1 ) * 2 ) ) in cff_charset_load() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | shape-options.hh | 88 unsigned int num_glyphs = hb_buffer_get_length (buffer); in populate_buffer() local 90 for (unsigned int i = 0; i < num_glyphs; i++) in populate_buffer() 154 unsigned int num_glyphs; in verify_buffer_monotone() local 155 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_monotone() 157 for (unsigned int i = 1; i < num_glyphs; i++) in verify_buffer_monotone() 190 unsigned int num_glyphs; in verify_buffer_safe_to_break() local 191 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, &num_glyphs); in verify_buffer_safe_to_break() 201 for (unsigned int end = 1; end < num_glyphs + 1; end++) in verify_buffer_safe_to_break() 203 if (end < num_glyphs && in verify_buffer_safe_to_break() 209 if (end == num_glyphs) in verify_buffer_safe_to_break()
|
D | helper-cairo.hh | 588 unsigned int num_glyphs; member 605 *x_advance = glyphs[num_glyphs].x; in get_advance() 606 *y_advance = glyphs[num_glyphs].y; in get_advance() 620 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer() 623 l->glyphs = cairo_glyph_allocate (l->num_glyphs + 1); in helper_cairo_line_from_buffer() 628 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer() 629 for (unsigned int i = 1; i < l->num_glyphs; i++) in helper_cairo_line_from_buffer() 635 if ((l->num_glyphs && !l->glyphs) || in helper_cairo_line_from_buffer() 645 for (i = 0; i < (int) l->num_glyphs; i++) in helper_cairo_line_from_buffer() 665 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer() [all …]
|
D | view-cairo.hh | 178 for (unsigned i = 0; i < l.num_glyphs; i++) { in render() 189 cairo_glyph_path (cr, l.glyphs, l.num_glyphs); in render() 194 l.glyphs, l.num_glyphs, in render() 198 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs); in render()
|
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
D | formatter.cc | 217 auto num_glyphs = [&](size_t start, size_t end) { in format() local 229 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format() 231 num_glyphs(rng.begin.column, rng.end.column), 1)); in format() 234 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format() 235 state.repeat('^', num_glyphs(rng.begin.column, line_len + 1)); in format() 238 state.repeat('^', num_glyphs(1, rng.end.column)); in format() 241 state.repeat('^', num_glyphs(1, line_len + 1)); in format()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttpload.c | 111 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca() 114 face->num_locations - 1, face->root.num_glyphs )); in tt_face_load_loca() 117 if ( face->num_locations < (FT_ULong)face->root.num_glyphs + 1 ) in tt_face_load_loca() 120 ( (FT_ULong)face->root.num_glyphs + 1 ) << shift; in tt_face_load_loca() 151 face->num_locations = (FT_ULong)face->root.num_glyphs + 1; in tt_face_load_loca() 159 face->root.num_glyphs = face->num_locations in tt_face_load_loca() 163 face->root.num_glyphs )); in tt_face_load_loca()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/ |
D | loca_table.cc | 70 int32_t num_glyphs) in LocaTable() argument 73 num_glyphs_(num_glyphs) { in LocaTable() 142 void LocaTable::Builder::SetNumGlyphs(int32_t num_glyphs) { in SetNumGlyphs() argument 143 assert(num_glyphs >= 0); in SetNumGlyphs() 144 num_glyphs_ = num_glyphs; in SetNumGlyphs()
|
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);
|
/third_party/skia/third_party/externals/harfbuzz/perf/ |
D | perf-extents.hh | 14 unsigned num_glyphs; in extents() local 20 num_glyphs = hb_face_get_glyph_count (face); in extents() 41 for (unsigned gid = 0; gid < num_glyphs; ++gid) in extents() 54 for (unsigned gid = 0; gid < num_glyphs; ++gid) in extents()
|
D | perf-draw.hh | 59 unsigned num_glyphs; in draw() local 65 num_glyphs = hb_face_get_glyph_count (face); in draw() 85 for (unsigned gid = 0; gid < num_glyphs; ++gid) in draw() 110 for (unsigned gid = 0; gid < num_glyphs; ++gid) in draw() 133 for (unsigned gid = 0; gid < num_glyphs; ++gid) in draw()
|
/third_party/skia/third_party/externals/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() 313 (FT_UInt)face->type1.num_glyphs, in t1_cmap_unicode_init()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/freetype/src/psnames/ |
D | psmodule.c | 315 FT_UInt num_glyphs, in ps_unicodes_init() argument 329 if ( !FT_QNEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init() 339 for ( n = 0; n < num_glyphs; n++ ) in ps_unicodes_init() 390 if ( count < num_glyphs / 2 ) in ps_unicodes_init() 393 num_glyphs + EXTRA_GLYPH_LIST_SIZE, in ps_unicodes_init()
|