Home | History | Annotate | Download | only in src

Lines Matching full:characterrange

2147   ZoneList<CharacterRange>* ranges = cc->ranges(zone);
2148 if (!CharacterRange::IsCanonical(ranges)) {
2149 CharacterRange::Canonicalize(ranges);
2163 CharacterRange& range = ranges->at(last_valid_range);
2225 CharacterRange& range = ranges->at(i);
2628 ZoneList<CharacterRange>* ranges = tree->ranges(zone());
2646 CharacterRange range = ranges->at(first_range);
2662 CharacterRange range = ranges->at(i);
2793 static inline bool RangeContainsLatin1Equivalents(CharacterRange range) {
2800 static bool RangesContainLatin1Equivalents(ZoneList<CharacterRange>* ranges) {
2835 ZoneList<CharacterRange>* ranges = cc->ranges(zone());
2836 if (!CharacterRange::IsCanonical(ranges)) {
2837 CharacterRange::Canonicalize(ranges);
3428 ZoneList<CharacterRange>* ranges = cc->ranges(zone());
3450 ZoneList<CharacterRange>* ranges = node->ranges(zone());
3451 if (!CharacterRange::IsCanonical(ranges)) {
3452 CharacterRange::Canonicalize(ranges);
4534 CharacterRange range = node->ranges(zone)->at(j);
4705 static bool CompareInverseRanges(ZoneList<CharacterRange>* ranges,
4716 CharacterRange range = ranges->at(0);
4736 static bool CompareRanges(ZoneList<CharacterRange>* ranges,
4745 CharacterRange range = ranges->at(i >> 1);
5030 ZoneList<CharacterRange>* newline_ranges =
5031 new(zone) ZoneList<CharacterRange>(3, zone);
5032 CharacterRange::AddClassEscape('n', newline_ranges, zone);
5162 ZoneList<CharacterRange>* ranges,
5168 ranges->Add(CharacterRange(elmv[i], elmv[i + 1] - 1), zone);
5175 ZoneList<CharacterRange>* ranges,
5185 ranges->Add(CharacterRange(last, elmv[i] - 1), zone);
5188 ranges->Add(CharacterRange(last, String::kMaxUtf16CodeUnit), zone);
5192 void CharacterRange::AddClassEscape(uc16 type,
5193 ZoneList<CharacterRange>* ranges,
5224 ranges->Add(CharacterRange::Everything(), zone);
5240 Vector<const int> CharacterRange::GetWordBounds() {
5247 CharacterRangeSplitter(ZoneList<CharacterRange>** included,
5248 ZoneList<CharacterRange>** excluded,
5259 ZoneList<CharacterRange>** included_;
5260 ZoneList<CharacterRange>** excluded_;
5267 ZoneList<CharacterRange>** target = entry.out_set()->Get(kInOverlay)
5270 if (*target == NULL) *target = new(zone_) ZoneList<CharacterRange>(2, zone_);
5271 (*target)->Add(CharacterRange(entry.from(), entry.to()), zone_);
5275 void CharacterRange::Split(ZoneList<CharacterRange>* base,
5277 ZoneList<CharacterRange>** included,
5278 ZoneList<CharacterRange>** excluded,
5286 table.AddRange(CharacterRange(overlay[i], overlay[i + 1] - 1),
5294 void CharacterRange::AddCaseEquivalents(ZoneList<CharacterRange>* ranges,
5311 ranges->Add(CharacterRange::Singleton(chars[i]), zone);
5351 ranges->Add(CharacterRange(range_from, range_to), zone);
5360 bool CharacterRange::IsCanonical(ZoneList<CharacterRange>* ranges) {
5366 CharacterRange next_range = ranges->at(i);
5374 ZoneList<CharacterRange>* CharacterSet::ranges(Zone* zone) {
5376 ranges_ = new(zone) ZoneList<CharacterRange>(2, zone);
5377 CharacterRange::AddClassEscape(standard_set_type_, ranges_, zone);
5385 static void MoveRanges(ZoneList<CharacterRange>* list,
5402 static int InsertRangeInCanonicalList(ZoneList<CharacterRange>* list,
5404 CharacterRange insert) {
5415 CharacterRange current = list->at(i);
5441 CharacterRange to_replace = list->at(start_pos);
5444 list->at(start_pos) = CharacterRange(new_from, new_to);
5455 list->at(start_pos) = CharacterRange(new_from, new_to);
5464 CharacterRange::Canonicalize(ranges_);
5468 void CharacterRange::Canonicalize(ZoneList<CharacterRange>* character_ranges) {
5476 CharacterRange current = character_ranges->at(i);
5501 ASSERT(CharacterRange::IsCanonical(character_ranges));
5505 void CharacterRange::Negate(ZoneList<CharacterRange>* ranges,
5506 ZoneList<CharacterRange>* negated_ranges,
5508 ASSERT(CharacterRange::IsCanonical(ranges));
5518 CharacterRange range = ranges->at(i);
5519 negated_ranges->Add(CharacterRange(from + 1, range.from() - 1), zone);
5524 negated_ranges->Add(CharacterRange(from + 1, String::kMaxUtf16CodeUnit),
5579 void DispatchTable::AddRange(CharacterRange full_range, int value,
5581 CharacterRange current = full_range;
5602 CharacterRange left(entry->from(), current.from() - 1);
5603 CharacterRange right(current.from(), entry->to());
5853 ZoneList<CharacterRange>* ranges = char_class->ranges(zone());
5858 CharacterRange& range = ranges->at(k);
5884 AddRange(CharacterRange::Everything());
5910 CharacterRange range(from, entry.to());
5927 AddRange(CharacterRange::Everything());
5937 static int CompareRangeByFrom(const CharacterRange* a,
5938 const CharacterRange* b) {
5943 void DispatchTableConstructor::AddInverse(ZoneList<CharacterRange>* ranges) {
5947 CharacterRange range = ranges->at(i);
5949 AddRange(CharacterRange(last, range.from() - 1));
5958 AddRange(CharacterRange(last, String::kMaxUtf16CodeUnit));
5967 AddRange(CharacterRange(c, c));
5972 ZoneList<CharacterRange>* ranges = tree->ranges(that->zone());