Home
last modified time | relevance | path

Searched refs:m_terms (Results 1 – 4 of 4) sorted by relevance

/external/webkit/JavaScriptCore/yarr/
DRegexCompiler.cpp355 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 …]
DRegexPattern.h192 ASSERT(m_terms.size()); in lastTerm()
193 return m_terms[m_terms.size() - 1]; in lastTerm()
198 ASSERT(m_terms.size()); in removeLastTerm()
199 m_terms.shrink(m_terms.size() - 1); in removeLastTerm()
202 Vector<PatternTerm> m_terms; member
DRegexJIT.cpp81 if (!alternative->m_terms.size()) in optimizeAlternative()
84 for (unsigned i = 0; i < alternative->m_terms.size() - 1; ++i) { in optimizeAlternative()
85 PatternTerm& term = alternative->m_terms[i]; in optimizeAlternative()
86 PatternTerm& nextTerm = alternative->m_terms[i + 1]; in optimizeAlternative()
93 alternative->m_terms[i] = nextTerm; in optimizeAlternative()
94 alternative->m_terms[i + 1] = termCopy; in optimizeAlternative()
322 return t < alternative()->m_terms.size(); in termValid()
332 return alternative()->m_terms[t]; in term()
338 ASSERT((t + 1) < alternative()->m_terms.size()); in lookaheadTerm()
339 return alternative()->m_terms[t + 1]; in lookaheadTerm()
[all …]
DRegexInterpreter.cpp1532 for (unsigned i = 0; i < alternative->m_terms.size(); ++i) { in emitDisjunction()
1533 PatternTerm& term = alternative->m_terms[i]; in emitDisjunction()