Home
last modified time | relevance | path

Searched refs:num_contours (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/ots/src/
Dglyf.cc76 ots::Buffer *table, int16_t num_contours, in ParseSimpleGlyph() argument
83 for (int i = 0; i < num_contours; ++i) { in ParseSimpleGlyph()
107 const uint32_t gly_header_length = 10 + num_contours * 2 + 2; in ParseSimpleGlyph()
217 int16_t num_contours, xmin, ymin, xmax, ymax; in ots_glyf_parse() local
218 if (!table.ReadS16(&num_contours) || in ots_glyf_parse()
226 if (num_contours <= -2) { in ots_glyf_parse()
245 if (num_contours >= 0) { in ots_glyf_parse()
248 num_contours, gly_offset, gly_length, &new_size)) { in ots_glyf_parse()
/external/chromium_org/third_party/brotli/src/woff2/
Dglyph.cc76 int16_t num_contours; in ReadGlyph() local
77 if (!buffer.ReadS16(&num_contours)) { in ReadGlyph()
81 if (num_contours == 0) { in ReadGlyph()
94 if (num_contours > 0) { in ReadGlyph()
96 glyph->contours.resize(num_contours); in ReadGlyph()
100 for (int i = 0; i < num_contours; ++i) { in ReadGlyph()
120 std::vector<std::vector<uint8_t> > flags(num_contours); in ReadGlyph()
123 for (int i = 0; i < num_contours; ++i) { in ReadGlyph()
145 for (int i = 0; i < num_contours; ++i) { in ReadGlyph()
172 for (int i = 0; i < num_contours; ++i) { in ReadGlyph()
[all …]
Dtransform.cc124 int num_contours = glyph.contours.size(); in WriteSimpleGlyph() local
125 WriteUShort(&n_contour_stream_, num_contours); in WriteSimpleGlyph()
130 for (int i = 0; i < num_contours; i++) { in WriteSimpleGlyph()
135 for (int i = 0; i < num_contours; i++) { in WriteSimpleGlyph()
147 if (num_contours > 0) { in WriteSimpleGlyph()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftpatent.c172 FT_Int num_contours; in _tt_face_check_patents() local
180 FT_READ_SHORT( num_contours ) ) in _tt_face_check_patents()
183 if ( num_contours >= 0 ) /* simple glyph */ in _tt_face_check_patents()
185 if ( FT_STREAM_SKIP( 8 + num_contours * 2 ) ) in _tt_face_check_patents()
Dftgloadr.c369 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints() local
372 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours ); in FT_GlyphLoader_CopyPoints()
384 num_contours ); in FT_GlyphLoader_CopyPoints()
396 out->n_contours = (short)num_contours; in FT_GlyphLoader_CopyPoints()
Dftstroke.c656 FT_UInt num_contours = 0; in ft_stroke_border_get_counts() local
679 num_contours++; in ft_stroke_border_get_counts()
690 *anum_contours = num_contours; in ft_stroke_border_get_counts()
695 num_contours = 0; in ft_stroke_border_get_counts()
1951 FT_UInt num_points = 0, num_contours = 0; in FT_Stroker_GetBorderCounts() local
1962 &num_points, &num_contours ); in FT_Stroker_GetBorderCounts()
1968 *anum_contours = num_contours; in FT_Stroker_GetBorderCounts()
1982 FT_UInt count3, count4, num_contours = 0; in FT_Stroker_GetCounts() local
1997 num_contours = count2 + count4; in FT_Stroker_GetCounts()
2001 *anum_contours = num_contours; in FT_Stroker_GetCounts()
[all …]
/external/chromium_org/third_party/freetype/src/base/
Dftpatent.c172 FT_Int num_contours; in _tt_face_check_patents() local
180 FT_READ_SHORT( num_contours ) ) in _tt_face_check_patents()
183 if ( num_contours >= 0 ) /* simple glyph */ in _tt_face_check_patents()
185 if ( FT_STREAM_SKIP( 8 + num_contours * 2 ) ) in _tt_face_check_patents()
Dftgloadr.c366 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints() local
369 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours ); in FT_GlyphLoader_CopyPoints()
381 num_contours ); in FT_GlyphLoader_CopyPoints()
393 out->n_contours = (short)num_contours; in FT_GlyphLoader_CopyPoints()
Dftstroke.c656 FT_UInt num_contours = 0; in ft_stroke_border_get_counts() local
679 num_contours++; in ft_stroke_border_get_counts()
690 *anum_contours = num_contours; in ft_stroke_border_get_counts()
695 num_contours = 0; in ft_stroke_border_get_counts()
1951 FT_UInt num_points = 0, num_contours = 0; in FT_Stroker_GetBorderCounts() local
1962 &num_points, &num_contours ); in FT_Stroker_GetBorderCounts()
1968 *anum_contours = num_contours; in FT_Stroker_GetBorderCounts()
1982 FT_UInt count3, count4, num_contours = 0; in FT_Stroker_GetCounts() local
1997 num_contours = count2 + count4; in FT_Stroker_GetCounts()
2001 *anum_contours = num_contours; in FT_Stroker_GetCounts()
[all …]
/external/freetype/src/base/
Dftpatent.c172 FT_Int num_contours; in _tt_face_check_patents() local
180 FT_READ_SHORT( num_contours ) ) in _tt_face_check_patents()
183 if ( num_contours >= 0 ) /* simple glyph */ in _tt_face_check_patents()
185 if ( FT_STREAM_SKIP( 8 + num_contours * 2 ) ) in _tt_face_check_patents()
Dftgloadr.c369 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints() local
372 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours ); in FT_GlyphLoader_CopyPoints()
384 num_contours ); in FT_GlyphLoader_CopyPoints()
396 out->n_contours = (short)num_contours; in FT_GlyphLoader_CopyPoints()
Dftstroke.c656 FT_UInt num_contours = 0; in ft_stroke_border_get_counts() local
679 num_contours++; in ft_stroke_border_get_counts()
690 *anum_contours = num_contours; in ft_stroke_border_get_counts()
695 num_contours = 0; in ft_stroke_border_get_counts()
1951 FT_UInt num_points = 0, num_contours = 0; in FT_Stroker_GetBorderCounts() local
1962 &num_points, &num_contours ); in FT_Stroker_GetBorderCounts()
1968 *anum_contours = num_contours; in FT_Stroker_GetBorderCounts()
1982 FT_UInt count3, count4, num_contours = 0; in FT_Stroker_GetCounts() local
1997 num_contours = count2 + count4; in FT_Stroker_GetCounts()
2001 *anum_contours = num_contours; in FT_Stroker_GetCounts()
[all …]
/external/freetype/src/autofit/
Dafhints.c534 hints->num_contours = 0; in af_glyph_hints_done()
573 hints->num_contours = 0; in af_glyph_hints_reload()
611 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
692 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_reload()
722 AF_Point* contour_limit = hints->contours + hints->num_contours; in af_glyph_hints_reload()
1309 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_align_weak_points()
Dafhints.h357 FT_Int num_contours; /* number of used contours */ member
Daflatin2.c716 AF_Point* contour_limit = contour + hints->num_contours; in af_latin2_hints_compute_segments()
/external/chromium_org/third_party/freetype/src/pshinter/
Dpshalgo.c1035 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_inflections()
1150 glyph->num_contours = 0; in psh_glyph_done()
1278 glyph->num_contours = outline->n_contours; in psh_glyph_init()
1286 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_init()
1398 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_extrema()
2039 FT_UInt num_contours = glyph->num_contours; in psh_glyph_interpolate_other_points() local
2042 for ( ; num_contours > 0; num_contours--, contour++ ) in psh_glyph_interpolate_other_points()
Dpshalgo.h197 FT_UInt num_contours; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
Dpshalgo.c1035 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_inflections()
1150 glyph->num_contours = 0; in psh_glyph_done()
1278 glyph->num_contours = outline->n_contours; in psh_glyph_init()
1286 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_init()
1398 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_extrema()
2039 FT_UInt num_contours = glyph->num_contours; in psh_glyph_interpolate_other_points() local
2042 for ( ; num_contours > 0; num_contours--, contour++ ) in psh_glyph_interpolate_other_points()
Dpshalgo.h197 FT_UInt num_contours; member
/external/freetype/src/pshinter/
Dpshalgo.c1035 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_inflections()
1150 glyph->num_contours = 0; in psh_glyph_done()
1278 glyph->num_contours = outline->n_contours; in psh_glyph_init()
1286 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_init()
1398 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_extrema()
2038 FT_UInt num_contours = glyph->num_contours; in psh_glyph_interpolate_other_points() local
2041 for ( ; num_contours > 0; num_contours--, contour++ ) in psh_glyph_interpolate_other_points()
Dpshalgo.h197 FT_UInt num_contours; member
/external/chromium_org/third_party/freetype/src/autofit/
Dafhints.c568 hints->num_contours = 0; in af_glyph_hints_done()
607 hints->num_contours = 0; in af_glyph_hints_reload()
645 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
723 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_reload()
1172 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_align_weak_points()
Dafhints.h346 FT_Int num_contours; /* number of used contours */ member
Daflatin2.c715 AF_Point* contour_limit = contour + hints->num_contours; in af_latin2_hints_compute_segments()
Daflatin.c802 AF_Point* contour_limit = contour + hints->num_contours; in af_latin_hints_compute_segments()

12