Lines Matching refs:m_ranges
115 if (m_ranges.contains(character)) {
190 : m_ranges(ranges)
192 if (m_ranges.isEmpty())
195 std::sort(m_ranges.begin(), m_ranges.end());
198 UChar32 from = m_ranges[0].from();
199 UChar32 to = m_ranges[0].to();
201 for (size_t i = 1; i < m_ranges.size(); i++) {
202 if (to + 1 >= m_ranges[i].from()) {
203 to = std::max(to, m_ranges[i].to());
205 m_ranges[targetIndex++] = UnicodeRange(from, to);
206 from = m_ranges[i].from();
207 to = m_ranges[i].to();
210 m_ranges[targetIndex++] = UnicodeRange(from, to);
211 m_ranges.shrink(targetIndex);
218 Vector<UnicodeRange>::const_iterator it = std::lower_bound(m_ranges.begin(), m_ranges.end(), c);
219 return it != m_ranges.end() && it->contains(c);
228 if (text.is8Bit() && m_ranges[0].from() >= 0x100)