Searched refs:PatternTerm (Results 1 – 5 of 5) sorted by relevance
/external/webkit/JavaScriptCore/yarr/ |
D | RegexPattern.h | 73 struct PatternTerm { struct 102 PatternTerm(UChar ch) in PatternTerm() argument 103 : type(PatternTerm::TypePatternCharacter) in PatternTerm() 110 PatternTerm(CharacterClass* charClass, bool invert) in PatternTerm() function 111 : type(PatternTerm::TypeCharacterClass) in PatternTerm() 119 …PatternTerm(Type type, unsigned subpatternId, PatternDisjunction* disjunction, bool invertOrCaptur… in PatternTerm() argument 130 PatternTerm(Type type, bool invert = false) 138 PatternTerm(unsigned spatternId) in PatternTerm() argument 147 static PatternTerm ForwardReference() in ForwardReference() argument 149 return PatternTerm(TypeForwardReference); in ForwardReference() [all …]
|
D | RegexCompiler.cpp | 355 m_alternative->m_terms.append(PatternTerm::BOL()); in assertionBOL() 359 m_alternative->m_terms.append(PatternTerm::EOL()); in assertionEOL() 363 m_alternative->m_terms.append(PatternTerm::WordBoundary(invert)); in assertionWordBoundary() 375 m_alternative->m_terms.append(PatternTerm(ch)); in atomPatternCharacter() 382 m_alternative->m_terms.append(PatternTerm(m_pattern.digitsCharacterClass(), invert)); in atomBuiltInCharacterClass() 385 m_alternative->m_terms.append(PatternTerm(m_pattern.spacesCharacterClass(), invert)); in atomBuiltInCharacterClass() 388 m_alternative->m_terms.append(PatternTerm(m_pattern.wordcharCharacterClass(), invert)); in atomBuiltInCharacterClass() 391 m_alternative->m_terms.append(PatternTerm(m_pattern.newlineCharacterClass(), invert)); in atomBuiltInCharacterClass() 437 m_alternative->m_terms.append(PatternTerm(newCharacterClass, m_invertCharacterClass)); in atomCharacterClassEnd() 448 …m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern, subpatternId, pa… in atomParenthesesSubpatternBegin() [all …]
|
D | RegexJIT.cpp | 85 PatternTerm& term = alternative->m_terms[i]; in optimizeAlternative() 86 PatternTerm& nextTerm = alternative->m_terms[i + 1]; in optimizeAlternative() 88 if ((term.type == PatternTerm::TypeCharacterClass) in optimizeAlternative() 90 && (nextTerm.type == PatternTerm::TypePatternCharacter) in optimizeAlternative() 92 PatternTerm termCopy = term; in optimizeAlternative() 329 PatternTerm& term() in term() 335 PatternTerm& lookaheadTerm() in lookaheadTerm() 345 && (lookaheadTerm().type == PatternTerm::TypePatternCharacter) in isSinglePatternCharacterLookaheadTerm() 415 PatternTerm& term = state.term(); in generateAssertionBOL() 440 PatternTerm& term = state.term(); in generateAssertionEOL() [all …]
|
D | RegexInterpreter.cpp | 1533 PatternTerm& term = alternative->m_terms[i]; in emitDisjunction() 1536 case PatternTerm::TypeAssertionBOL: in emitDisjunction() 1540 case PatternTerm::TypeAssertionEOL: in emitDisjunction() 1544 case PatternTerm::TypeAssertionWordBoundary: in emitDisjunction() 1548 case PatternTerm::TypePatternCharacter: in emitDisjunction() 1552 case PatternTerm::TypeCharacterClass: in emitDisjunction() 1556 case PatternTerm::TypeBackReference: in emitDisjunction() 1560 case PatternTerm::TypeForwardReference: in emitDisjunction() 1563 case PatternTerm::TypeParenthesesSubpattern: { in emitDisjunction() 1587 case PatternTerm::TypeParentheticalAssertion: { in emitDisjunction()
|
/external/webkit/JavaScriptCore/ |
D | ChangeLog-2009-06-16 | 1472 (JSC::Yarr::PatternTerm::): 1473 (JSC::Yarr::PatternTerm::PatternTerm): 1474 (JSC::Yarr::PatternTerm::ForwardReference): 7981 (JSC::Yarr::PatternTerm::): 7982 (JSC::Yarr::PatternTerm::PatternTerm): 8942 (JSC::Yarr::PatternTerm::): 8943 (JSC::Yarr::PatternTerm::PatternTerm): 8944 (JSC::Yarr::PatternTerm::BOL): 8945 (JSC::Yarr::PatternTerm::EOL): 8946 (JSC::Yarr::PatternTerm::WordBoundary): [all …]
|