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()
777 if (glyphs[i - 1] + 1 != glyphs[i]) in serialize()
783 rangeRecord[range].start = glyphs[0]; in serialize()
786 if (glyphs[i - 1] + 1 != glyphs[i]) { in serialize()
788 rangeRecord[range].start = glyphs[i]; in serialize()
790 rangeRecord[range].end = glyphs[i]; in serialize()
792 rangeRecord[range].end = glyphs[i]; in serialize()
794 glyphs.advance (num_glyphs); in serialize()
804 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { in intersects_coverage()
811 range.intersects (glyphs)) in intersects_coverage()
820 inline void add_coverage (set_t *glyphs) const { in add_coverage()
823 rangeRecord[i].add_coverage (glyphs); in add_coverage()
877 Supplier<GlyphID> &glyphs, in serialize()
884 if (glyphs[i - 1] + 1 != glyphs[i]) in serialize()
888 case 1: return_trace (u.format1.serialize (c, glyphs, num_glyphs)); in serialize()
889 case 2: return_trace (u.format2.serialize (c, glyphs, num_glyphs)); in serialize()
905 inline bool intersects (const hb_set_t *glyphs) const { in intersects()
909 if (glyphs->has (iter.get_glyph ())) in intersects()
915 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { in intersects_coverage()
917 case 1: return u.format1.intersects_coverage (glyphs, index); in intersects_coverage()
918 case 2: return u.format2.intersects_coverage (glyphs, index); in intersects_coverage()
924 inline void add_coverage (set_t *glyphs) const { in add_coverage()
926 case 1: u.format1.add_coverage (glyphs); break; in add_coverage()
927 case 2: u.format2.add_coverage (glyphs); break; in add_coverage()
1014 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
1018 glyphs->add (startGlyph + i); in add_class()
1021 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1027 if (!hb_set_next (glyphs, &g)) in intersects_class()
1032 if (hb_set_next (glyphs, &g)) in intersects_class()
1037 if (classValue[i] == klass && glyphs->has (startGlyph + i)) in intersects_class()
1071 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
1075 rangeRecord[i].add_coverage (glyphs); in add_class()
1078 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1086 if (!hb_set_next (glyphs, &g)) in intersects_class()
1092 if (g != (hb_codepoint_t) -1 && hb_set_next (glyphs, &g)) in intersects_class()
1097 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs)) in intersects_class()
1133 inline void add_class (hb_set_t *glyphs, unsigned int klass) const { in add_class()
1135 case 1: u.format1.add_class (glyphs, klass); return; in add_class()
1136 case 2: u.format2.add_class (glyphs, klass); return; in add_class()
1141 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1143 case 1: return u.format1.intersects_class (glyphs, klass); in intersects_class()
1144 case 2: return u.format2.intersects_class (glyphs, klass); in intersects_class()