Searched refs:quantityCount (Results 1 – 6 of 6) sorted by relevance
/external/webkit/Source/JavaScriptCore/yarr/ |
D | YarrInterpreter.h | 91 unsigned quantityCount; member 105 …ByteTerm(UChar ch, int inputPos, unsigned frameLocation, unsigned quantityCount, QuantifierType qu… in ByteTerm() 112 …type = (quantityCount == 1) ? ByteTerm::TypePatternCharacterOnce : ByteTerm::TypePatternCharacterF… in ByteTerm() 124 atom.quantityCount = quantityCount; in ByteTerm() 128 …ByteTerm(UChar lo, UChar hi, int inputPos, unsigned frameLocation, unsigned quantityCount, Quantif… in ByteTerm() 135 …type = (quantityCount == 1) ? ByteTerm::TypePatternCasedCharacterOnce : ByteTerm::TypePatternCased… in ByteTerm() 148 atom.quantityCount = quantityCount; in ByteTerm() 159 atom.quantityCount = 1; in ByteTerm() 171 atom.quantityCount = 1; in ByteTerm() 181 atom.quantityCount = 1; in type() [all …]
|
D | YarrInterpreter.cpp | 393 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in backtrackPatternCharacter() 422 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in backtrackPatternCasedCharacter() 441 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) { in matchCharacterClass() 450 while ((matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in matchCharacterClass() 489 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in backtrackCharacterClass() 523 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) { in matchBackReference() 534 …while ((matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matchEnd, te… in matchBackReference() 577 …if ((backTrack->matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matc… in backtrackBackReference() 625 ASSERT(term.atom.quantityCount == 1); in matchParenthesesOnceBegin() 655 ASSERT(term.atom.quantityCount == 1); in matchParenthesesOnceEnd() [all …]
|
D | YarrPattern.h | 115 unsigned quantityCount; member 126 quantityCount = 1; in PatternTerm() 136 quantityCount = 1; in PatternTerm() 149 quantityCount = 1; in type() 158 quantityCount = 1; in type() 168 quantityCount = 1; in PatternTerm() 203 quantityCount = count; in quantify()
|
D | YarrPattern.cpp | 243 …inChar beginChar, Vector<TermChain>* hotTerms, QuantifierType quantityType, unsigned quantityCount) 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() 682 currentInputPosition += term.quantityCount; in setupAlternativeOffsets() 692 currentInputPosition += term.quantityCount; in setupAlternativeOffsets() 698 if (term.quantityCount == 1 && !term.parentheses.isCopy) { in setupAlternativeOffsets() 783 && term.quantityCount == quantifyInfinite in checkForTerminalParentheses() 858 if (depth < 2 && termIndex < numTerms - 1 && term.quantityCount == 1) in setupAlternativeBeginTerms() 924 …inChar(BeginChar(character, mask), &beginTerms[i].hotTerms, term.quantityType, term.quantityCount); in setupBeginChars() [all …]
|
D | YarrJIT.cpp | 909 && (lookaheadTerm().quantityCount == 1); in isSinglePatternCharacterLookaheadTerm() 1324 sub32(Imm32(term.quantityCount), countRegister); in generatePatternCharacterFixed() 1328 …BaseIndex(input, countRegister, TimesTwo, (state.inputOffset() + term.quantityCount) * sizeof(UCha… in generatePatternCharacterFixed() 1333 …BaseIndex(input, countRegister, TimesTwo, (state.inputOffset() + term.quantityCount) * sizeof(UCha… in generatePatternCharacterFixed() 1362 if (term.quantityCount != quantifyInfinite) { in generatePatternCharacterGreedy() 1363 branch32(NotEqual, countRegister, Imm32(term.quantityCount)).linkTo(loop, this); in generatePatternCharacterGreedy() 1400 if (term.quantityCount != quantifyInfinite) in generatePatternCharacterNonGreedy() 1401 branch32(Equal, countRegister, Imm32(term.quantityCount), hardFail); in generatePatternCharacterNonGreedy() 1444 sub32(Imm32(term.quantityCount), countRegister); in generateCharacterClassFixed() 1448 …load16(BaseIndex(input, countRegister, TimesTwo, (state.inputOffset() + term.quantityCount) * size… in generateCharacterClassFixed() [all …]
|
/external/webkit/Source/JavaScriptCore/ |
D | ChangeLog-2010-05-24 | 1640 generatePatternCharacterClassGreedy() functions if quantityCount of the term
|