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

/macosx-10.10/JavaScriptCore-7600.1.17/yarr/
H A DYarrInterpreter.h91 unsigned quantityCount; member in struct:JSC::Yarr::ByteTerm::__anon2689::__anon2690
109 ByteTerm(UChar ch, int inputPos, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
116 type = (quantityCount == 1) ? ByteTerm::TypePatternCharacterOnce : ByteTerm::TypePatternCharacterFixed;
128 atom.quantityCount = quantityCount.unsafeGet();
132 ByteTerm(UChar lo, UChar hi, int inputPos, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
139 type = (quantityCount == 1) ? ByteTerm::TypePatternCasedCharacterOnce : ByteTerm::TypePatternCasedCharacterFixed;
152 atom.quantityCount = quantityCount.unsafeGet();
163 atom.quantityCount
[all...]
H A DYarrPattern.h114 Checked<unsigned> quantityCount; member in struct:JSC::Yarr::PatternTerm
125 quantityCount = 1;
135 quantityCount = 1;
148 quantityCount = 1;
157 quantityCount = 1;
167 quantityCount = 1;
178 quantityCount = 1;
213 quantityCount = count;
H A DYarrInterpreter.cpp405 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
434 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
453 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) {
462 while ((matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
501 if ((backTrack->matchAmount < term.atom.quantityCount) && input.checkInput(1)) {
538 for (unsigned matchAmount = 0; matchAmount < term.atom.quantityCount; ++matchAmount) {
549 while ((matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matchEnd, term.inputPosition))
583 // for quantityCount == 1, could rewind.
596 if ((backTrack->matchAmount < term.atom.quantityCount) && tryConsumeBackReference(matchBegin, matchEnd, term.inputPosition)) {
644 ASSERT(term.atom.quantityCount
1509 atomPatternCharacter(UChar ch, unsigned inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
1527 atomCharacterClass(CharacterClass* characterClass, bool invert, unsigned inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
1536 atomBackReference(unsigned subpatternId, unsigned inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
1603 atomParentheticalAssertionEnd(unsigned inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
1701 atomParenthesesSubpatternEnd(unsigned lastSubpatternId, int inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType, unsigned callFrameSize = 0) argument
1735 atomParenthesesOnceEnd(int inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
1757 atomParenthesesTerminalEnd(int inputPosition, unsigned frameLocation, Checked<unsigned> quantityCount, QuantifierType quantityType) argument
[all...]
H A DYarrJIT.cpp427 // Used to wrap 'Once' subpattern matches (quantityCount == 1).
804 || nextTerm->quantityCount != 1
891 sub32(Imm32(term->quantityCount.unsafeGet()), countRegister);
894 BaseIndex address(input, countRegister, m_charScale, (Checked<int>(term->inputPosition - m_checked + Checked<int64_t>(term->quantityCount)) * static_cast<int>(m_charSize == Char8 ? sizeof(char) : sizeof(UChar))).unsafeGet());
938 if (term->quantityCount == quantifyInfinite)
941 branch32(NotEqual, countRegister, Imm32(term->quantityCount.unsafeGet())).linkTo(loop, this);
993 if (term->quantityCount != quantifyInfinite)
994 nonGreedyFailures.append(branch32(Equal, countRegister, Imm32(term->quantityCount.unsafeGet())));
1040 sub32(Imm32(term->quantityCount.unsafeGet()), countRegister);
1045 load8(BaseIndex(input, countRegister, TimesOne, (Checked<int>(term->inputPosition - m_checked + Checked<int64_t>(term->quantityCount)) * static_cas
[all...]
H A DYarrPattern.cpp527 ASSERT((term.quantityCount == 1) && (term.quantityType == QuantifierFixedCount));
600 currentInputPosition += term.quantityCount;
610 currentInputPosition += term.quantityCount;
616 if (term.quantityCount == 1 && !term.parentheses.isCopy) {
708 && term.quantityCount == quantifyInfinite

Completed in 114 milliseconds