Home
last modified time | relevance | path

Searched refs:quantityType (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/JavaScriptCore/yarr/
DYarrInterpreter.h90 QuantifierType quantityType; member
105 …Char ch, int inputPos, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType) in ByteTerm()
110 switch (quantityType) { in ByteTerm()
123 atom.quantityType = quantityType; in ByteTerm()
128 …Char hi, int inputPos, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType) in ByteTerm()
133 switch (quantityType) { in ByteTerm()
147 atom.quantityType = quantityType; in ByteTerm()
158 atom.quantityType = QuantifierFixedCount; in ByteTerm()
170 atom.quantityType = QuantifierFixedCount; in ByteTerm()
180 atom.quantityType = QuantifierFixedCount; in type()
[all …]
DYarrInterpreter.cpp380 switch (term.atom.quantityType) { in backtrackPatternCharacter()
409 switch (term.atom.quantityType) { in backtrackPatternCasedCharacter()
439 switch (term.atom.quantityType) { in matchCharacterClass()
476 switch (term.atom.quantityType) { in backtrackCharacterClass()
520 switch (term.atom.quantityType) { in matchBackReference()
562 switch (term.atom.quantityType) { in backtrackBackReference()
629 switch (term.atom.quantityType) { in matchParenthesesOnceBegin()
662 if (term.atom.quantityType == QuantifierFixedCount) in matchParenthesesOnceEnd()
682 switch (term.atom.quantityType) { in backtrackParenthesesOnceBegin()
705 switch (term.atom.quantityType) { in backtrackParenthesesOnceEnd()
[all …]
DYarrPattern.h114 QuantifierType quantityType; member
125 quantityType = QuantifierFixedCount; in PatternTerm()
135 quantityType = QuantifierFixedCount; in PatternTerm()
148 quantityType = QuantifierFixedCount; in type()
157 quantityType = QuantifierFixedCount; in type()
167 quantityType = QuantifierFixedCount; in PatternTerm()
204 quantityType = type; in quantify()
DYarrPattern.cpp243 …void addBeginChar(BeginChar beginChar, Vector<TermChain>* hotTerms, QuantifierType quantityType, u… in addBeginChar()
245 if (quantityType == QuantifierFixedCount && quantityCount > 1) { in addBeginChar()
250 } else if (quantityType == QuantifierFixedCount && quantityCount == 1 && hotTerms->size()) in addBeginChar()
618 ASSERT((term.quantityCount == 1) && (term.quantityType == QuantifierFixedCount)); in quantifyAtom()
677 if (term.quantityType != QuantifierFixedCount) { in setupAlternativeOffsets()
687 if (term.quantityType != QuantifierFixedCount) { in setupAlternativeOffsets()
699 if (term.quantityType != QuantifierFixedCount) in setupAlternativeOffsets()
703 if (term.quantityType == QuantifierFixedCount) in setupAlternativeOffsets()
782 && term.quantityType == QuantifierGreedy in checkForTerminalParentheses()
856 } else if (term.quantityType == QuantifierFixedCount) { in setupAlternativeBeginTerms()
[all …]
DYarrJIT.cpp104 && (term.quantityType == QuantifierFixedCount) in optimizeAlternative()
106 && (nextTerm.quantityType == QuantifierFixedCount)) { in optimizeAlternative()
908 && (lookaheadTerm().quantityType == QuantifierFixedCount) in isSinglePatternCharacterLookaheadTerm()
1057 … if ((m_term.quantityType == QuantifierGreedy) || (m_term.quantityType == QuantifierNonGreedy)) in processBacktracks()
1087 && ((m_term.quantityType == QuantifierGreedy) in generateCode()
1088 || (m_term.quantityType == QuantifierNonGreedy) in generateCode()
1119 if (m_term.quantityType == QuantifierGreedy) { in generateCode()
1123 } else if (m_term.quantityType == QuantifierNonGreedy) { in generateCode()
1141 if (m_term.quantityType == QuantifierGreedy) { in generateCode()
1552 …unsigned preCheckedCount = ((parenthesesTerm.quantityType == QuantifierFixedCount) && (parentheses… in generateParenthesesDisjunction()
[all …]