Lines Matching refs:glyphs
157 inline bool intersects (const hb_set_t *glyphs) const { in intersects()
158 return glyphs->intersects (start, end); in intersects()
162 inline void add_coverage (set_t *glyphs) const { in add_coverage()
163 glyphs->add_range (start, end); in add_coverage()
698 Supplier<GlyphID> &glyphs, in serialize()
706 glyphArray[i] = glyphs[i]; in serialize()
707 glyphs.advance (num_glyphs); in serialize()
717 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { in intersects_coverage()
718 return glyphs->has (glyphArray[index]); in intersects_coverage()
722 inline void add_coverage (set_t *glyphs) const { in add_coverage()
725 glyphs->add (glyphArray[i]); in add_coverage()
767 Supplier<GlyphID> &glyphs, in serialize()
781 if (glyphs[i - 1] + 1 != glyphs[i]) in serialize()
787 rangeRecord[range].start = glyphs[0]; in serialize()
790 if (glyphs[i - 1] + 1 != glyphs[i]) { in serialize()
792 rangeRecord[range].start = glyphs[i]; in serialize()
794 rangeRecord[range].end = glyphs[i]; in serialize()
796 rangeRecord[range].end = glyphs[i]; in serialize()
798 glyphs.advance (num_glyphs); in serialize()
808 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { in intersects_coverage()
815 range.intersects (glyphs)) in intersects_coverage()
824 inline void add_coverage (set_t *glyphs) const { in add_coverage()
827 rangeRecord[i].add_coverage (glyphs); in add_coverage()
888 Supplier<GlyphID> &glyphs, in serialize()
895 if (glyphs[i - 1] + 1 != glyphs[i]) in serialize()
899 case 1: return_trace (u.format1.serialize (c, glyphs, num_glyphs)); in serialize()
900 case 2: return_trace (u.format2.serialize (c, glyphs, num_glyphs)); in serialize()
916 inline bool intersects (const hb_set_t *glyphs) const { in intersects()
920 if (glyphs->has (iter.get_glyph ())) in intersects()
926 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { in intersects_coverage()
928 case 1: return u.format1.intersects_coverage (glyphs, index); in intersects_coverage()
929 case 2: return u.format2.intersects_coverage (glyphs, index); in intersects_coverage()
935 inline void add_coverage (set_t *glyphs) const { in add_coverage()
937 case 1: u.format1.add_coverage (glyphs); break; in add_coverage()
938 case 2: u.format2.add_coverage (glyphs); break; in add_coverage()
1025 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
1029 glyphs->add (startGlyph + i); in add_class()
1032 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1038 if (!hb_set_next (glyphs, &g)) in intersects_class()
1043 if (hb_set_next (glyphs, &g)) in intersects_class()
1048 if (classValue[i] == klass && glyphs->has (startGlyph + i)) in intersects_class()
1082 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
1086 rangeRecord[i].add_coverage (glyphs); in add_class()
1089 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1097 if (!hb_set_next (glyphs, &g)) in intersects_class()
1103 if (g != (hb_codepoint_t) -1 && hb_set_next (glyphs, &g)) in intersects_class()
1108 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs)) in intersects_class()
1144 inline void add_class (hb_set_t *glyphs, unsigned int klass) const { in add_class()
1146 case 1: u.format1.add_class (glyphs, klass); return; in add_class()
1147 case 2: u.format2.add_class (glyphs, klass); return; in add_class()
1152 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1154 case 1: return u.format1.intersects_class (glyphs, klass); in intersects_class()
1155 case 2: return u.format2.intersects_class (glyphs, klass); in intersects_class()