Searched refs:CharacterRange (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/regexp/ |
D | regexp-ast.h | 79 class CharacterRange { 81 CharacterRange() : from_(0), to_(0) {} in CharacterRange() function 83 CharacterRange(void* null) { DCHECK_NULL(null); } // NOLINT in CharacterRange() function 84 static void AddClassEscape(char type, ZoneList<CharacterRange>* ranges, 87 static void AddClassEscape(char type, ZoneList<CharacterRange>* ranges, 90 static inline CharacterRange Singleton(uc32 value) { in Singleton() 91 return CharacterRange(value, value); in Singleton() 93 static inline CharacterRange Range(uc32 from, uc32 to) { in Range() 96 return CharacterRange(from, to); in Range() 98 static inline CharacterRange Everything() { in Everything() [all …]
|
D | jsregexp.cc | 2077 ZoneList<CharacterRange>* ranges = cc->ranges(zone); in EmitCharClass() 2078 CharacterRange::Canonicalize(ranges); in EmitCharClass() 2091 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass() 2144 CharacterRange& range = ranges->at(i); in EmitCharClass() 2554 ZoneList<CharacterRange>* ranges = tree->ranges(zone()); in GetQuickCheckDetails() 2573 CharacterRange range = ranges->at(first_range); in GetQuickCheckDetails() 2589 CharacterRange range = ranges->at(i); in GetQuickCheckDetails() 2719 static inline bool RangeContainsLatin1Equivalents(CharacterRange range) { in RangeContainsLatin1Equivalents() 2726 static bool RangesContainLatin1Equivalents(ZoneList<CharacterRange>* ranges) { in RangesContainLatin1Equivalents() 2757 ZoneList<CharacterRange>* ranges = cc->ranges(zone()); in FilterOneByte() [all …]
|
D | regexp-parser.cc | 276 ZoneList<CharacterRange>* ranges = in ParseDisjunction() 277 new (zone()) ZoneList<CharacterRange>(2, zone()); in ParseDisjunction() 281 CharacterRange::AddClassEscape('*', ranges, false, zone()); in ParseDisjunction() 284 CharacterRange::AddClassEscape('.', ranges, false, zone()); in ParseDisjunction() 331 ZoneList<CharacterRange>* ranges = in ParseDisjunction() 332 new (zone()) ZoneList<CharacterRange>(2, zone()); in ParseDisjunction() 333 CharacterRange::AddClassEscape( in ParseDisjunction() 345 ZoneList<CharacterRange>* ranges = in ParseDisjunction() 346 new (zone()) ZoneList<CharacterRange>(2, zone()); in ParseDisjunction() 1201 ZoneList<CharacterRange>* result, Zone* zone) { in LookupPropertyValueName() [all …]
|
D | jsregexp.h | 281 void AddRange(CharacterRange range, int value, Zone* zone); 303 UnicodeRangeSplitter(Zone* zone, ZoneList<CharacterRange>* base); 306 ZoneList<CharacterRange>* bmp() { return bmp_; } in bmp() 307 ZoneList<CharacterRange>* lead_surrogates() { return lead_surrogates_; } in lead_surrogates() 308 ZoneList<CharacterRange>* trail_surrogates() { return trail_surrogates_; } in trail_surrogates() 309 ZoneList<CharacterRange>* non_bmp() const { return non_bmp_; } in non_bmp() 321 ZoneList<CharacterRange>* bmp_; 322 ZoneList<CharacterRange>* lead_surrogates_; 323 ZoneList<CharacterRange>* trail_surrogates_; 324 ZoneList<CharacterRange>* non_bmp_; [all …]
|
D | regexp-parser.h | 180 bool ParsePropertyClass(ZoneList<CharacterRange>* result, bool negate); 193 void ParseClassEscape(ZoneList<CharacterRange>* ranges, Zone* zone,
|
D | regexp-ast.cc | 142 void VisitCharacterRange(CharacterRange that); 174 void RegExpUnparser::VisitCharacterRange(CharacterRange that) { in VisitCharacterRange()
|