Home
last modified time | relevance | path

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

/external/webkit/JavaScriptCore/yarr/
DRegexInterpreter.h88 unsigned quantityCount; member
99 …ByteTerm(UChar ch, int inputPos, unsigned frameLocation, unsigned quantityCount, QuantifierType qu… in ByteTerm()
104 …type = (quantityCount == 1) ? ByteTerm::TypePatternCharacterOnce : ByteTerm::TypePatternCharacterF… in ByteTerm()
116 atom.quantityCount = quantityCount; in ByteTerm()
120 …ByteTerm(UChar lo, UChar hi, int inputPos, unsigned frameLocation, unsigned quantityCount, Quantif… in ByteTerm()
125 …type = (quantityCount == 1) ? ByteTerm::TypePatternCasedCharacterOnce : ByteTerm::TypePatternCased… in ByteTerm()
138 atom.quantityCount = quantityCount; in ByteTerm()
148 atom.quantityCount = 1; in ByteTerm()
159 atom.quantityCount = 1; in ByteTerm()
168 atom.quantityCount = 1; in type()
[all …]
DRegexInterpreter.cpp391 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in backtrackPatternCharacter()
420 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in backtrackPatternCasedCharacter()
439 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) { in matchCharacterClass()
448 while ((matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in matchCharacterClass()
487 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) { in backtrackCharacterClass()
515 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) { in matchBackReference()
526 …while ((matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matchEnd, te… in matchBackReference()
570 …if ((backTrack->matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matc… in backtrackBackReference()
621 ASSERT(term.atom.quantityCount == 1); in matchParenthesesOnceBegin()
651 ASSERT(term.atom.quantityCount == 1); in matchParenthesesOnceEnd()
[all …]
DRegexPattern.h98 unsigned quantityCount; member
107 quantityCount = 1; in PatternTerm()
116 quantityCount = 1; in PatternTerm()
127 quantityCount = 1; in PatternTerm()
135 quantityCount = 1; in type()
144 quantityCount = 1; in PatternTerm()
179 quantityCount = count; in quantify()
DRegexJIT.cpp347 && (lookaheadTerm().quantityCount == 1); in isSinglePatternCharacterLookaheadTerm()
567 sub32(Imm32(term.quantityCount), countRegister); in generatePatternCharacterFixed()
571 …BaseIndex(input, countRegister, TimesTwo, (state.inputOffset() + term.quantityCount) * sizeof(UCha… in generatePatternCharacterFixed()
576 …BaseIndex(input, countRegister, TimesTwo, (state.inputOffset() + term.quantityCount) * sizeof(UCha… in generatePatternCharacterFixed()
604 branch32(NotEqual, countRegister, Imm32(term.quantityCount)).linkTo(loop, this); in generatePatternCharacterGreedy()
639 branch32(Equal, countRegister, Imm32(term.quantityCount), hardFail); in generatePatternCharacterNonGreedy()
682 sub32(Imm32(term.quantityCount), countRegister); in generateCharacterClassFixed()
686 …load16(BaseIndex(input, countRegister, TimesTwo, (state.inputOffset() + term.quantityCount) * size… in generateCharacterClassFixed()
725 branch32(NotEqual, countRegister, Imm32(term.quantityCount)).linkTo(loop, this); in generateCharacterClassGreedy()
759 branch32(Equal, countRegister, Imm32(term.quantityCount), hardFail); in generateCharacterClassNonGreedy()
[all …]
DRegexCompiler.cpp534 ASSERT((term.quantityCount == 1) && (term.quantityType == QuantifierFixedCount)); in quantifyAtom()
611 currentInputPosition += term.quantityCount; in setupAlternativeOffsets()
621 currentInputPosition += term.quantityCount; in setupAlternativeOffsets()
627 if ((term.quantityCount == 1) && !term.parentheses.isCopy) { in setupAlternativeOffsets()