• Home
  • Raw
  • Download

Lines Matching refs:ranges

1445   ZoneList<CharacterRange>* ranges = cc->ranges();  in EmitCharClass()  local
1458 int range_count = ranges->length(); in EmitCharClass()
1462 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass()
1483 ranges->at(0).IsEverything(max_char)) { in EmitCharClass()
1496 CharacterRange& range = ranges->at(i); in EmitCharClass()
1519 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass()
1869 ZoneList<CharacterRange>* ranges = tree->ranges(); in GetQuickCheckDetails() local
1879 while (ranges->at(first_range).from() > char_mask) { in GetQuickCheckDetails()
1881 if (first_range == ranges->length()) { in GetQuickCheckDetails()
1887 CharacterRange range = ranges->at(first_range); in GetQuickCheckDetails()
1902 for (int i = first_range + 1; i < ranges->length(); i++) { in GetQuickCheckDetails()
1903 CharacterRange range = ranges->at(i); in GetQuickCheckDetails()
2444 ZoneList<CharacterRange>* ranges = cc->ranges(); in MakeCaseIndependent() local
2445 int range_count = ranges->length(); in MakeCaseIndependent()
2447 ranges->at(i).AddCaseEquivalents(ranges); in MakeCaseIndependent()
3232 for (int j = 0; j < node->ranges()->length(); j++) { in VisitText()
3233 CharacterRange range = node->ranges()->at(j); in VisitText()
3419 static bool CompareInverseRanges(ZoneList<CharacterRange>* ranges, in CompareInverseRanges() argument
3422 ASSERT(ranges->length() != 0); in CompareInverseRanges()
3425 if (ranges->length() != (length >> 1) + 1) { in CompareInverseRanges()
3428 CharacterRange range = ranges->at(0); in CompareInverseRanges()
3436 range = ranges->at((i >> 1) + 1); in CompareInverseRanges()
3448 static bool CompareRanges(ZoneList<CharacterRange>* ranges, in CompareRanges() argument
3451 if (ranges->length() * 2 != length) { in CompareRanges()
3455 CharacterRange range = ranges->at(i >> 1); in CompareRanges()
3473 if (CompareRanges(set_.ranges(), kSpaceRanges, kSpaceRangeCount)) { in is_standard()
3477 if (CompareInverseRanges(set_.ranges(), kSpaceRanges, kSpaceRangeCount)) { in is_standard()
3481 if (CompareInverseRanges(set_.ranges(), in is_standard()
3799 ZoneList<CharacterRange>* ranges) { in AddClass() argument
3802 ranges->Add(CharacterRange(elmv[i], elmv[i + 1])); in AddClass()
3809 ZoneList<CharacterRange>* ranges) { in AddClassNegated() argument
3816 ranges->Add(CharacterRange(last, elmv[i] - 1)); in AddClassNegated()
3819 ranges->Add(CharacterRange(last, String::kMaxUC16CharCode)); in AddClassNegated()
3824 ZoneList<CharacterRange>* ranges) { in AddClassEscape() argument
3827 AddClass(kSpaceRanges, kSpaceRangeCount, ranges); in AddClassEscape()
3830 AddClassNegated(kSpaceRanges, kSpaceRangeCount, ranges); in AddClassEscape()
3833 AddClass(kWordRanges, kWordRangeCount, ranges); in AddClassEscape()
3836 AddClassNegated(kWordRanges, kWordRangeCount, ranges); in AddClassEscape()
3839 AddClass(kDigitRanges, kDigitRangeCount, ranges); in AddClassEscape()
3842 AddClassNegated(kDigitRanges, kDigitRangeCount, ranges); in AddClassEscape()
3847 ranges); in AddClassEscape()
3853 ranges->Add(CharacterRange::Everything()); in AddClassEscape()
3860 ranges); in AddClassEscape()
3918 void CharacterRange::AddCaseEquivalents(ZoneList<CharacterRange>* ranges) { in AddCaseEquivalents() argument
3926 ranges->Add(CharacterRange::Singleton(chars[i])); in AddCaseEquivalents()
3988 ranges->Add(CharacterRange(range_from, range_to)); in AddCaseEquivalents()
3999 ZoneList<CharacterRange>* CharacterSet::ranges() { in ranges() function in v8::internal::CharacterSet
4367 void DispatchTableConstructor::AddInverse(ZoneList<CharacterRange>* ranges) { in AddInverse() argument
4368 ranges->Sort(CompareRangeByFrom); in AddInverse()
4370 for (int i = 0; i < ranges->length(); i++) { in AddInverse()
4371 CharacterRange range = ranges->at(i); in AddInverse()
4396 ZoneList<CharacterRange>* ranges = tree->ranges(); in VisitText() local
4398 AddInverse(ranges); in VisitText()
4400 for (int i = 0; i < ranges->length(); i++) in VisitText()
4401 AddRange(ranges->at(i)); in VisitText()