Home | History | Annotate | Download | only in yarr

Lines Matching full:quantitycount

393             if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
422 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
441 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) {
450 while ((matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
489 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
523 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) {
534 while ((matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matchEnd, term.inputPosition))
564 // for quantityCount == 1, could rewind.
577 if ((backTrack->matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matchEnd, term.inputPosition)) {
625 ASSERT(term.atom.quantityCount == 1);
655 ASSERT(term.atom.quantityCount == 1);
672 ASSERT(term.atom.quantityCount == 1);
701 ASSERT(term.atom.quantityCount == 1);
737 ASSERT(term.atom.quantityCount == quantifyInfinite);
763 ASSERT(term.atom.quantityCount == quantifyInfinite);
783 ASSERT(term.atom.quantityCount == 1);
794 ASSERT(term.atom.quantityCount == 1);
812 ASSERT(term.atom.quantityCount == 1);
826 ASSERT(term.atom.quantityCount == 1);
849 while (backTrack->matchAmount < term.atom.quantityCount) {
869 ASSERT(backTrack->matchAmount == term.atom.quantityCount);
876 while (backTrack->matchAmount < term.atom.quantityCount) {
926 ASSERT(backTrack->matchAmount == term.atom.quantityCount);
935 while (backTrack->matchAmount < term.atom.quantityCount) {
956 ASSERT(backTrack->matchAmount == term.atom.quantityCount);
969 while (backTrack->matchAmount < term.atom.quantityCount) {
1002 if (backTrack->matchAmount < term.atom.quantityCount) {
1136 for (unsigned matchAmount = 0; matchAmount < currentTerm().atom.quantityCount; ++matchAmount) {
1145 while ((matchAmount < currentTerm().atom.quantityCount) && input.checkInput(1)) {
1164 for (unsigned matchAmount = 0; matchAmount < currentTerm().atom.quantityCount; ++matchAmount) {
1173 while ((matchAmount < currentTerm().atom.quantityCount) && input.checkInput(1)) {
1484 void atomPatternCharacter(UChar ch, int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1491 m_bodyDisjunction->terms.append(ByteTerm(lo, hi, inputPosition, frameLocation, quantityCount, quantityType));
1496 m_bodyDisjunction->terms.append(ByteTerm(ch, inputPosition, frameLocation, quantityCount, quantityType));
1499 void atomCharacterClass(CharacterClass* characterClass, bool invert, int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1503 m_bodyDisjunction->terms[m_bodyDisjunction->terms.size() - 1].atom.quantityCount = quantityCount;
1508 void atomBackReference(unsigned subpatternId, int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1514 m_bodyDisjunction->terms[m_bodyDisjunction->terms.size() - 1].atom.quantityCount = quantityCount;
1575 void atomParentheticalAssertionEnd(int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1591 m_bodyDisjunction->terms[beginTerm].atom.quantityCount = quantityCount;
1593 m_bodyDisjunction->terms[endTerm].atom.quantityCount = quantityCount;
1668 void atomParenthesesSubpatternEnd(unsigned lastSubpatternId, int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType, unsigned callFrameSize = 0)
1694 m_bodyDisjunction->terms[beginTerm].atom.quantityCount = quantityCount;
1699 void atomParenthesesOnceEnd(int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1715 m_bodyDisjunction->terms[beginTerm].atom.quantityCount = quantityCount;
1717 m_bodyDisjunction->terms[endTerm].atom.quantityCount = quantityCount;
1721 void atomParenthesesTerminalEnd(int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1737 m_bodyDisjunction->terms[beginTerm].atom.quantityCount = quantityCount;
1739 m_bodyDisjunction->terms[endTerm].atom.quantityCount = quantityCount;
1819 atomPatternCharacter(term.patternCharacter, term.inputPosition - currentCountAlreadyChecked, term.frameLocation, term.quantityCount, term.quantityType);
1823 atomCharacterClass(term.characterClass, term.invert(), term.inputPosition - currentCountAlreadyChecked, term.frameLocation, term.quantityCount, term.quantityType);
1827 atomBackReference(term.backReferenceSubpatternId, term.inputPosition - currentCountAlreadyChecked, term.frameLocation, term.quantityCount, term.quantityType);
1835 if (term.quantityCount == 1 && !term.parentheses.isCopy) {
1845 atomParenthesesOnceEnd(delegateEndInputOffset, term.frameLocation, term.quantityCount, term.quantityType);
1850 atomParenthesesTerminalEnd(delegateEndInputOffset, term.frameLocation, term.quantityCount, term.quantityType);
1855 atomParenthesesSubpatternEnd(term.parentheses.lastSubpatternId, delegateEndInputOffset, term.frameLocation, term.quantityCount, term.quantityType, term.parentheses.disjunction->m_callFrameSize);
1875 atomParentheticalAssertionEnd(0, term.frameLocation, term.quantityCount, term.quantityType);