Lines Matching refs:rangeRecord
995 const RangeRecord &range = rangeRecord.bsearch (glyph_id); in get_coverage()
1010 rangeRecord.len = 0; in serialize()
1025 if (unlikely (!rangeRecord.serialize (c, num_ranges))) return_trace (false); in serialize()
1035 rangeRecord[range].start = g; in serialize()
1036 rangeRecord[range].value = count; in serialize()
1038 rangeRecord[range].end = g; in serialize()
1049 return_trace (rangeRecord.sanitize (c)); in sanitize()
1055 unsigned int count = rangeRecord.len; in intersects()
1057 if (rangeRecord[i].intersects (glyphs)) in intersects()
1064 unsigned int count = rangeRecord.len; in intersects_coverage()
1066 const RangeRecord &range = rangeRecord[i]; in intersects_coverage()
1080 unsigned int count = rangeRecord.len; in add_coverage()
1082 if (unlikely (!rangeRecord[i].add_coverage (glyphs))) in add_coverage()
1096 j = c->rangeRecord.len ? c->rangeRecord[0].start : 0; in init()
1097 if (unlikely (c->rangeRecord[0].start > c->rangeRecord[0].end)) in init()
1100 i = c->rangeRecord.len; in init()
1104 bool more () const { return i < c->rangeRecord.len; } in more()
1107 if (j >= c->rangeRecord[i].end) in next()
1113 j = c->rangeRecord[i].start; in next()
1114 coverage = c->rangeRecord[i].value; in next()
1121 i = c->rangeRecord.len; in next()
1144 rangeRecord; /* Array of glyph ranges--ordered by member
1148 DEFINE_SIZE_ARRAY (4, rangeRecord);
1521 return rangeRecord.bsearch (glyph_id).value; in get_class()
1534 rangeRecord.len = 0; in serialize()
1574 rangeRecord.len = num_ranges; in serialize()
1589 unsigned count = rangeRecord.len; in subset()
1592 unsigned klass = rangeRecord[i].value; in subset()
1594 hb_codepoint_t start = rangeRecord[i].start; in subset()
1595 hb_codepoint_t end = rangeRecord[i].end + 1; in subset()
1613 return_trace (rangeRecord.sanitize (c)); in sanitize()
1619 unsigned int count = rangeRecord.len; in add_coverage()
1621 if (rangeRecord[i].value) in add_coverage()
1622 if (unlikely (!rangeRecord[i].add_coverage (glyphs))) in add_coverage()
1630 unsigned int count = rangeRecord.len; in add_class()
1633 if (rangeRecord[i].value == klass) in add_class()
1634 if (unlikely (!rangeRecord[i].add_coverage (glyphs))) in add_class()
1643 unsigned int count = rangeRecord.len; in intersects()
1645 if (rangeRecord[i].intersects (glyphs)) in intersects()
1651 unsigned int count = rangeRecord.len; in intersects_class()
1660 if (g < rangeRecord[i].start) in intersects_class()
1662 g = rangeRecord[i].end; in intersects_class()
1669 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs)) in intersects_class()
1677 rangeRecord; /* Array of glyph ranges--ordered by member
1680 DEFINE_SIZE_ARRAY (4, rangeRecord);