OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:subpatternId
(Results
1 - 4
of
4
) sorted by null
/external/webkit/Source/JavaScriptCore/yarr/
YarrInterpreter.h
84
unsigned
subpatternId
;
163
ByteTerm(Type type, unsigned
subpatternId
, ByteDisjunction* parenthesesInfo, bool capture, int inputPos)
168
atom.
subpatternId
=
subpatternId
;
184
ByteTerm(Type type, unsigned
subpatternId
, bool capture, bool invert, int inputPos)
189
atom.
subpatternId
=
subpatternId
;
230
static ByteTerm BackReference(unsigned
subpatternId
, int inputPos)
232
return ByteTerm(TypeBackReference,
subpatternId
, false, false, inputPos);
YarrPattern.cpp
463
unsigned
subpatternId
= m_pattern.m_numSubpatterns + 1;
469
m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern,
subpatternId
, parenthesesDisjunction, capture, false));
530
unsigned
subpatternId
= m_pattern.m_numSubpatterns + 1;
533
alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern,
subpatternId
, newDisjunction, false, false));
545
void atomBackReference(unsigned
subpatternId
)
547
ASSERT(
subpatternId
);
549
m_pattern.m_maxBackReference = std::max(m_pattern.m_maxBackReference,
subpatternId
);
551
if (
subpatternId
> m_pattern.m_numSubpatterns) {
564
if ((term.type == PatternTerm::TypeParenthesesSubpattern) && term.capture() && (
subpatternId
== term.parentheses.
subpatternId
)) {
[
all
...]
YarrPattern.h
108
unsigned
subpatternId
;
139
PatternTerm(Type type, unsigned
subpatternId
, PatternDisjunction* disjunction, bool capture = false, bool invert = false)
145
parentheses.
subpatternId
=
subpatternId
;
YarrInterpreter.cpp
124
unsigned firstSubpatternId = term.atom.
subpatternId
;
506
int matchBegin = output[(term.atom.
subpatternId
<< 1)];
507
int matchEnd = output[(term.atom.
subpatternId
<< 1) + 1];
555
int matchBegin = output[(term.atom.
subpatternId
<< 1)];
556
int matchEnd = output[(term.atom.
subpatternId
<< 1) + 1];
591
unsigned
subpatternId
= term.atom.
subpatternId
;
592
output[(
subpatternId
<< 1)] = context->getDisjunctionContext(term)->matchBegin + term.inputPosition;
593
output[(
subpatternId
<< 1) + 1] = context->getDisjunctionContext(term)->matchEnd + term.inputPosition;
598
unsigned firstSubpatternId = term.atom.
subpatternId
;
[
all
...]
Completed in 701 milliseconds