Home
last modified time | relevance | path

Searched refs:CharacterRange (Results 1 – 14 of 14) sorted by relevance

/external/v8/test/cctest/
Dtest-regexp.cc472 ZoneList<CharacterRange>* ranges = new ZoneList<CharacterRange>(2); in TestCharacterClassEscapes()
473 CharacterRange::AddClassEscape(c, ranges); in TestCharacterClassEscapes()
477 CharacterRange& range = ranges->at(j); in TestCharacterClassEscapes()
630 table.AddRange(CharacterRange(range[j], range[j + 1]), i); in TEST()
1390 ZoneList<CharacterRange>* ranges = in TEST()
1391 new ZoneList<CharacterRange>(kRangeCount); in TEST()
1396 ranges->Add(CharacterRange(from, to)); in TEST()
1411 ZoneList<CharacterRange>* ranges = in TEST()
1412 new ZoneList<CharacterRange>(1); in TEST()
1413 ranges->Add(CharacterRange(0xFFF0, 0xFFFE)); in TEST()
[all …]
/external/v8/src/
Djsregexp.cc1544 ZoneList<CharacterRange>* ranges = cc->ranges(); in EmitCharClass()
1561 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass()
1601 CharacterRange& range = ranges->at(i); in EmitCharClass()
1624 CharacterRange& range = ranges->at(last_valid_range); in EmitCharClass()
2010 ZoneList<CharacterRange>* ranges = tree->ranges(); in GetQuickCheckDetails()
2028 CharacterRange range = ranges->at(first_range); in GetQuickCheckDetails()
2044 CharacterRange range = ranges->at(i); in GetQuickCheckDetails()
2644 ZoneList<CharacterRange>* ranges = cc->ranges(); in MakeCaseIndependent()
3440 CharacterRange range = node->ranges()->at(j); in VisitText()
3630 static bool CompareInverseRanges(ZoneList<CharacterRange>* ranges, in CompareInverseRanges()
[all …]
Djsregexp.h267 class CharacterRange {
269 CharacterRange() : from_(0), to_(0) { } in CharacterRange() function
271 CharacterRange(void* null) { ASSERT_EQ(NULL, null); } //NOLINT in CharacterRange() function
272 CharacterRange(uc16 from, uc16 to) : from_(from), to_(to) { } in CharacterRange() function
273 static void AddClassEscape(uc16 type, ZoneList<CharacterRange>* ranges);
275 static inline CharacterRange Singleton(uc16 value) { in Singleton()
276 return CharacterRange(value, value); in Singleton()
278 static inline CharacterRange Range(uc16 from, uc16 to) { in Range()
280 return CharacterRange(from, to); in Range()
282 static inline CharacterRange Everything() { in Everything()
[all …]
Dparser.cc5206 ZoneList<CharacterRange>* ranges = in ParseDisjunction()
5207 new(zone()) ZoneList<CharacterRange>(2); in ParseDisjunction()
5208 CharacterRange::AddClassEscape('.', ranges); in ParseDisjunction()
5277 ZoneList<CharacterRange>* ranges = in ParseDisjunction()
5278 new(zone()) ZoneList<CharacterRange>(2); in ParseDisjunction()
5279 CharacterRange::AddClassEscape(c, ranges); in ParseDisjunction()
5724 CharacterRange RegExpParser::ParseClassAtom(uc16* char_class) { in ParseClassAtom()
5732 return CharacterRange::Singleton(0); // Return dummy value. in ParseClassAtom()
5738 return CharacterRange::Singleton(c); in ParseClassAtom()
5742 return CharacterRange::Singleton(first); in ParseClassAtom()
[all …]
Dast.cc788 void VisitCharacterRange(CharacterRange that);
826 void RegExpUnparser::VisitCharacterRange(CharacterRange that) { in VisitCharacterRange()
Dast.h2294 explicit CharacterSet(ZoneList<CharacterRange>* ranges) in CharacterSet()
2297 ZoneList<CharacterRange>* ranges();
2305 ZoneList<CharacterRange>* ranges_;
2314 RegExpCharacterClass(ZoneList<CharacterRange>* ranges, bool is_negated) in RegExpCharacterClass()
2345 ZoneList<CharacterRange>* ranges() { return set_.ranges(); } in ranges()
Dparser.h340 CharacterRange ParseClassAtom(uc16* char_class);
/external/webkit/Source/JavaScriptCore/yarr/
DYarrPattern.h38 struct CharacterRange { struct
42 CharacterRange(UChar begin, UChar end) in CharacterRange() function
76 Vector<CharacterRange> m_ranges;
78 Vector<CharacterRange> m_rangesUnicode;
DYarrPattern.cpp184 void addSortedRange(Vector<CharacterRange>& ranges, UChar lo, UChar hi) in addSortedRange()
198 ranges.insert(i, CharacterRange(lo, hi)); in addSortedRange()
226 ranges.append(CharacterRange(lo, hi)); in addSortedRange()
232 Vector<CharacterRange> m_ranges;
234 Vector<CharacterRange> m_rangesUnicode;
DYarrJIT.cpp114 …RegisterID character, JumpList& failures, JumpList& matchDest, const CharacterRange* ranges, unsig… in matchCharacterClassRange()
/external/webkit/Source/JavaScriptCore/
Dcreate_regex_tables106 …function += (" characterClass->m_rangesUnicode.append(CharacterRange(0x%04x, 0x%04x));\n" % (mi…
108 …function += (" characterClass->m_ranges.append(CharacterRange(0x%02x, 0x%02x));\n" % (min, max))
DChangeLog-2011-02-166147 (JSC::Yarr::CharacterRange::CharacterRange):
7946 Permit Character Class Escape in CharacterRange in Character Class.
DChangeLog-2009-06-168940 (JSC::Yarr::CharacterRange::CharacterRange):
/external/webkit/Source/WebCore/
DChangeLog44742 * rendering/svg/SVGTextLayoutEngine.h: Add CharacterRange helper struct.
44743 (WebCore::SVGTextLayoutEngine::CharacterRange::CharacterRange):