Lines Matching refs:glyphs
46 bool intersects (const hb_set_t *glyphs) const in intersects()
47 { return (this+coverage).intersects (glyphs); } in intersects()
79 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
99 Iterator glyphs, in serialize()
104 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize()
152 bool intersects (const hb_set_t *glyphs) const in intersects()
153 { return (this+coverage).intersects (glyphs); } in intersects()
182 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
208 auto glyphs = in serialize() local
214 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize()
262 Iterator glyphs) in serialize()
268 if (glyphs) in serialize()
273 delta = get_delta (*glyphs); in serialize()
274 if (!hb_all (++(+glyphs), delta, get_delta)) format = 2; in serialize()
279 + glyphs in serialize()
282 case 2: return_trace (u.format2.serialize (c, glyphs)); in serialize()
315 bool intersects (const hb_set_t *glyphs) const in intersects()
316 { return hb_all (substitute, glyphs); } in intersects()
397 bool intersects (const hb_set_t *glyphs) const in intersects()
398 { return (this+coverage).intersects (glyphs); } in intersects()
429 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
442 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize()
448 if (unlikely (!sequence.serialize (c, glyphs.length))) return_trace (false); in serialize()
449 for (unsigned int i = 0; i < glyphs.length; i++) in serialize()
457 return_trace (coverage.serialize (c, this).serialize (c, glyphs)); in serialize()
504 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize()
513 …case 1: return_trace (u.format1.serialize (c, glyphs, substitute_len_list, substitute_glyphs_list)… in serialize()
538 bool intersects (const hb_set_t *glyphs) const in intersects()
539 { return hb_any (alternates, glyphs); } in intersects()
628 bool intersects (const hb_set_t *glyphs) const in intersects()
629 { return (this+coverage).intersects (glyphs); } in intersects()
660 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
681 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize()
687 if (unlikely (!alternateSet.serialize (c, glyphs.length))) return_trace (false); in serialize()
688 for (unsigned int i = 0; i < glyphs.length; i++) in serialize()
696 return_trace (coverage.serialize (c, this).serialize (c, glyphs)); in serialize()
743 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize()
752 … case 1: return_trace (u.format1.serialize (c, glyphs, alternate_len_list, alternate_glyphs_list)); in serialize()
778 bool intersects (const hb_set_t *glyphs) const in intersects()
779 { return hb_all (component, glyphs); } in intersects()
783 if (!intersects (c->glyphs)) return; in closure()
799 if (likely (c->glyphs[i] != component[i])) in would_apply()
895 bool intersects (const hb_set_t *glyphs) const in intersects()
900 | hb_map ([glyphs] (const Ligature &_) { return _.intersects (glyphs); }) in intersects()
994 bool intersects (const hb_set_t *glyphs) const in intersects()
998 | hb_filter (*glyphs, hb_first) in intersects()
1000 | hb_map ([this, glyphs] (const Offset16To<LigatureSet> &_) in intersects()
1001 { return (this+_).intersects (glyphs); }) in intersects()
1037 unsigned int index = (this+coverage).get_coverage (c->glyphs[0]); in would_apply()
1176 bool intersects (const hb_set_t *glyphs) const in intersects()
1178 if (!(this+coverage).intersects (glyphs)) in intersects()
1187 if (!(this+backtrack[i]).intersects (glyphs)) in intersects()
1192 if (!(this+lookahead[i]).intersects (glyphs)) in intersects()
1203 if (!intersects (c->glyphs)) return; in closure()
1240 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
1321 auto glyphs = in serialize() local
1328 if (unlikely (!out->coverage.serialize (c->serializer, out).serialize (c->serializer, glyphs))) in serialize()
1444 bool intersects (const hb_set_t *glyphs, unsigned int lookup_type) const in intersects()
1446 hb_intersects_context_t c (glyphs); in intersects()
1496 bool intersects (const hb_set_t *glyphs) const in intersects()
1498 hb_intersects_context_t c (glyphs); in intersects()
1522 if (!intersects (c->glyphs)) in closure_lookups()
1541 void collect_coverage (set_t *glyphs) const in collect_coverage()
1543 hb_collect_coverage_context_t<set_t> c (glyphs); in collect_coverage()
1551 if (!accel->may_have (c->glyphs[0])) return false; in would_apply()
1563 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize_single()
1569 serialize (c, hb_zip (glyphs, substitutes))); in serialize_single()
1574 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize_multiple()
1582 glyphs, in serialize_multiple()
1589 hb_sorted_array_t<const HBGlyphID> glyphs, in serialize_alternate()
1597 glyphs, in serialize_alternate()
1679 const hb_set_t *glyphs, in closure_lookups()
1681 { GSUBGPOS::closure_lookups<SubstLookup> (face, glyphs, lookup_indexes); } in closure_lookups()