/external/webkit/JavaScriptCore/yarr/ |
D | RegexInterpreter.cpp | 120 unsigned firstSubpatternId = term.atom.subpatternId; in ParenthesesDisjunctionContext() 504 int matchBegin = output[(term.atom.subpatternId << 1)]; in matchBackReference() 505 int matchEnd = output[(term.atom.subpatternId << 1) + 1]; in matchBackReference() 547 int matchBegin = output[(term.atom.subpatternId << 1)]; in backtrackBackReference() 548 int matchEnd = output[(term.atom.subpatternId << 1) + 1]; in backtrackBackReference() 584 unsigned subpatternId = term.atom.subpatternId; in recordParenthesesMatch() local 585 …output[(subpatternId << 1)] = context->getDisjunctionContext(term)->matchBegin + term.inputPositio… in recordParenthesesMatch() 586 …output[(subpatternId << 1) + 1] = context->getDisjunctionContext(term)->matchEnd + term.inputPosit… in recordParenthesesMatch() 591 unsigned firstSubpatternId = term.atom.subpatternId; in resetMatches() 597 unsigned firstSubpatternId = term.atom.subpatternId; in resetAssertionMatches() [all …]
|
D | RegexInterpreter.h | 81 unsigned subpatternId; member 152 …ByteTerm(Type type, unsigned subpatternId, ByteDisjunction* parenthesesInfo, bool invertOrCapture,… in ByteTerm() 156 atom.subpatternId = subpatternId; in ByteTerm() 171 ByteTerm(Type type, unsigned subpatternId, bool invertOrCapture, int inputPos) in ByteTerm() 175 atom.subpatternId = subpatternId; in ByteTerm() 209 static ByteTerm BackReference(unsigned subpatternId, int inputPos) in BackReference() 211 return ByteTerm(TypeBackReference, subpatternId, false, inputPos); in BackReference()
|
D | RegexPattern.h | 89 unsigned subpatternId; member 92 unsigned subpatternId; member 119 …PatternTerm(Type type, unsigned subpatternId, PatternDisjunction* disjunction, bool invertOrCaptur… in PatternTerm() 124 parentheses.subpatternId = subpatternId; in PatternTerm() 142 subpatternId = spatternId; in PatternTerm()
|
D | RegexCompiler.cpp | 442 unsigned subpatternId = m_pattern.m_numSubpatterns + 1; in atomParenthesesSubpatternBegin() local 448 …e->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern, subpatternId, parenthesesDis… in atomParenthesesSubpatternBegin() 469 void atomBackReference(unsigned subpatternId) in atomBackReference() argument 471 ASSERT(subpatternId); in atomBackReference() 472 m_pattern.m_maxBackReference = std::max(m_pattern.m_maxBackReference, subpatternId); in atomBackReference() 474 if (subpatternId > m_pattern.m_numSubpatterns) { in atomBackReference() 487 …nTerm::TypeParenthesesSubpattern) && term.invertOrCapture && (subpatternId == term.subpatternId)) { in atomBackReference() 493 m_alternative->m_terms.append(PatternTerm(subpatternId)); in atomBackReference()
|
D | RegexJIT.cpp | 916 … store32(indexTemporary, Address(output, (term.parentheses.subpatternId << 1) * sizeof(int))); in generateParenthesesSingle() 918 … store32(index, Address(output, (term.parentheses.subpatternId << 1) * sizeof(int))); in generateParenthesesSingle() 931 …store32(indexTemporary, Address(output, ((term.parentheses.subpatternId << 1) + 1) * sizeof(int))); in generateParenthesesSingle() 933 … store32(index, Address(output, ((term.parentheses.subpatternId << 1) + 1) * sizeof(int))); in generateParenthesesSingle() 954 … store32(Imm32(-1), Address(output, (term.parentheses.subpatternId << 1) * sizeof(int))); in generateParenthesesSingle() 955 … store32(Imm32(-1), Address(output, ((term.parentheses.subpatternId << 1) + 1) * sizeof(int))); in generateParenthesesSingle()
|
/external/webkit/JavaScriptCore/wrec/ |
D | WRECGenerator.cpp | 125 void Generator::generateBacktrackBackreference(unsigned subpatternId) in generateBacktrackBackreference() argument 127 sub32(Address(output, (2 * subpatternId + 1) * sizeof(int)), index); in generateBacktrackBackreference() 128 add32(Address(output, (2 * subpatternId) * sizeof(int)), index); in generateBacktrackBackreference() 131 …ntifier(JumpList& failures, Quantifier::Type quantifierType, unsigned subpatternId, unsigned min, … in generateBackreferenceQuantifier() argument 133 GenerateBackreferenceFunctor functor(subpatternId); in generateBackreferenceQuantifier() 135 load32(Address(output, (2 * subpatternId) * sizeof(int)), character); in generateBackreferenceQuantifier() 136 …Jump skipIfEmpty = branch32(Equal, Address(output, ((2 * subpatternId) + 1) * sizeof(int)), charac… in generateBackreferenceQuantifier() 600 void Generator::generateBackreference(JumpList& failures, unsigned subpatternId) in generateBackreference() argument 606 load32(Address(output, (2 * subpatternId) * sizeof(int)), repeatCount); in generateBackreference() 616 …Jump endOfBackRef = branch32(Equal, Address(output, ((2 * subpatternId) + 1) * sizeof(int)), repea… in generateBackreference()
|
D | Escapes.h | 116 BackreferenceEscape(int subpatternId) in BackreferenceEscape() argument 119 m_u.i = subpatternId; in BackreferenceEscape() 124 int subpatternId() const { return m_u.i; } in subpatternId() function
|
D | WRECFunctors.h | 77 GenerateBackreferenceFunctor(unsigned subpatternId) in GenerateBackreferenceFunctor() argument 78 : m_subpatternId(subpatternId) in GenerateBackreferenceFunctor()
|
D | WRECParser.cpp | 205 bool Parser::parseBackreferenceQuantifier(JumpList& failures, unsigned subpatternId) in parseBackreferenceQuantifier() argument 211 m_generator.generateBackreference(failures, subpatternId); in parseBackreferenceQuantifier() 217 m_generator.generateBackreferenceQuantifier(failures, q.type, subpatternId, q.min, q.max); in parseBackreferenceQuantifier() 349 … return parseBackreferenceQuantifier(failures, BackreferenceEscape::cast(escape).subpatternId()); in parseNonCharacterEscape()
|
D | WRECGenerator.h | 99 void generateBacktrackBackreference(unsigned subpatternId); 109 …ntifier(JumpList& failures, Quantifier::Type quantifierType, unsigned subpatternId, unsigned min, …
|
D | WRECParser.h | 88 bool parseBackreferenceQuantifier(JumpList& failures, unsigned subpatternId);
|