HomeSort by relevance Sort by last modified time
    Searched full:subpatternid (Results 1 - 12 of 12) sorted by null

  /external/webkit/JavaScriptCore/yarr/
RegexInterpreter.h 81 unsigned subpatternId;
152 ByteTerm(Type type, unsigned subpatternId, ByteDisjunction* parenthesesInfo, bool invertOrCapture, int inputPos)
156 atom.subpatternId = subpatternId;
171 ByteTerm(Type type, unsigned subpatternId, bool invertOrCapture, int inputPos)
175 atom.subpatternId = subpatternId;
209 static ByteTerm BackReference(unsigned subpatternId, int inputPos)
211 return ByteTerm(TypeBackReference, subpatternId, false, inputPos);
RegexInterpreter.cpp 120 unsigned firstSubpatternId = term.atom.subpatternId;
504 int matchBegin = output[(term.atom.subpatternId << 1)];
505 int matchEnd = output[(term.atom.subpatternId << 1) + 1];
547 int matchBegin = output[(term.atom.subpatternId << 1)];
548 int matchEnd = output[(term.atom.subpatternId << 1) + 1];
584 unsigned subpatternId = term.atom.subpatternId;
585 output[(subpatternId << 1)] = context->getDisjunctionContext(term)->matchBegin + term.inputPosition;
586 output[(subpatternId << 1) + 1] = context->getDisjunctionContext(term)->matchEnd + term.inputPosition;
591 unsigned firstSubpatternId = term.atom.subpatternId;
    [all...]
RegexPattern.h 89 unsigned subpatternId;
92 unsigned subpatternId;
119 PatternTerm(Type type, unsigned subpatternId, PatternDisjunction* disjunction, bool invertOrCapture)
124 parentheses.subpatternId = subpatternId;
142 subpatternId = spatternId;
RegexParser.h 801 * void atomBackReference(unsigned subpatternId);
830 * atomParenthesesBegin() is passed a subpatternId. In the case of a regular
831 * capturing subpattern, this will be the subpatternId associated with these
832 * parentheses, and will also by definition be the lowest subpatternId of these
834 * is passed the subpatternId of the last capturing subexpression nested within
836 * capturing subpatterns, the same subpatternId will be passed to the begin and
837 * end functions. In the case of non-capturing subpatterns the subpatternId
838 * passed to the begin method is also the first possible subpatternId that might
840 * not contain any capturing subpatterns, then the subpatternId passed to begin
841 * will be greater than the subpatternId passed to end
    [all...]
RegexCompiler.cpp 442 unsigned subpatternId = m_pattern.m_numSubpatterns + 1;
448 m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern, subpatternId, parenthesesDisjunction, capture));
469 void atomBackReference(unsigned subpatternId)
471 ASSERT(subpatternId);
472 m_pattern.m_maxBackReference = std::max(m_pattern.m_maxBackReference, subpatternId);
474 if (subpatternId > m_pattern.m_numSubpatterns) {
487 if ((term.type == PatternTerm::TypeParenthesesSubpattern) && term.invertOrCapture && (subpatternId == term.subpatternId)) {
493 m_alternative->m_terms.append(PatternTerm(subpatternId));
RegexJIT.cpp     [all...]
  /external/webkit/JavaScriptCore/wrec/
Escapes.h 116 BackreferenceEscape(int subpatternId)
119 m_u.i = subpatternId;
124 int subpatternId() const { return m_u.i; }
WRECFunctors.h 77 GenerateBackreferenceFunctor(unsigned subpatternId)
78 : m_subpatternId(subpatternId)
WRECGenerator.h 99 void generateBacktrackBackreference(unsigned subpatternId);
108 void generateBackreference(JumpList& failures, unsigned subpatternID);
109 void generateBackreferenceQuantifier(JumpList& failures, Quantifier::Type quantifierType, unsigned subpatternId, unsigned min, unsigned max);
WRECGenerator.cpp 125 void Generator::generateBacktrackBackreference(unsigned subpatternId)
127 sub32(Address(output, (2 * subpatternId + 1) * sizeof(int)), index);
128 add32(Address(output, (2 * subpatternId) * sizeof(int)), index);
131 void Generator::generateBackreferenceQuantifier(JumpList& failures, Quantifier::Type quantifierType, unsigned subpatternId, unsigned min, unsigned max)
133 GenerateBackreferenceFunctor functor(subpatternId);
135 load32(Address(output, (2 * subpatternId) * sizeof(int)), character);
136 Jump skipIfEmpty = branch32(Equal, Address(output, ((2 * subpatternId) + 1) * sizeof(int)), character);
600 void Generator::generateBackreference(JumpList& failures, unsigned subpatternId)
606 load32(Address(output, (2 * subpatternId) * sizeof(int)), repeatCount);
616 Jump endOfBackRef = branch32(Equal, Address(output, ((2 * subpatternId) + 1) * sizeof(int)), repeatCount)
    [all...]
WRECParser.cpp 205 bool Parser::parseBackreferenceQuantifier(JumpList& failures, unsigned subpatternId)
211 m_generator.generateBackreference(failures, subpatternId);
217 m_generator.generateBackreferenceQuantifier(failures, q.type, subpatternId, q.min, q.max);
349 return parseBackreferenceQuantifier(failures, BackreferenceEscape::cast(escape).subpatternId());
WRECParser.h 88 bool parseBackreferenceQuantifier(JumpList& failures, unsigned subpatternId);

Completed in 5079 milliseconds