Searched defs:alternatives (Results 1 - 5 of 5) sorted by relevance

/external/v8/src/
H A Dast.cc865 return ListCaptureRegisters(alternatives());
918 ZoneList<RegExpTree*>* alternatives = this->alternatives(); local
919 for (int i = 0; i < alternatives->length(); i++) {
920 if (!alternatives->at(i)->IsAnchoredAtStart())
928 ZoneList<RegExpTree*>* alternatives = this->alternatives(); local
929 for (int i = 0; i < alternatives->length(); i++) {
930 if (!alternatives->at(i)->IsAnchoredAtEnd())
978 for (int i = 0; i < that->alternatives()
1123 RegExpDisjunction(ZoneList<RegExpTree*>* alternatives) argument
[all...]
H A Djsregexp.h1050 void AddAlternative(GuardedAlternative node) { alternatives()->Add(node); }
1051 ZoneList<GuardedAlternative>* alternatives() { return alternatives_; } function in class:v8::internal::ChoiceNode
1148 // AddAlternative is made private for loop nodes because alternatives
1339 // Node visitor used to add the start set of the alternatives to the
H A Dast.h1826 explicit RegExpDisjunction(ZoneList<RegExpTree*>* alternatives);
1837 ZoneList<RegExpTree*>* alternatives() { return alternatives_; } function in class:v8::internal::RegExpDisjunction
H A Djsregexp.cc2731 // This class is used when generating the alternatives in a choice node. It
2829 * unwind code that steps back in the greedy loop). The following alternatives
3010 // At this point we need to generate slow checks for the alternatives where
3295 choice()->alternatives()->at(i).node());
3393 for (int i = 0; i < that->alternatives()->length(); i++) {
3394 GuardedAlternative alt = that->alternatives()->at(i);
3398 for (int i = 0; i < that->alternatives()->length(); i++) {
3399 GuardedAlternative alt = that->alternatives()->at(i);
3707 ZoneList<RegExpTree*>* alternatives = this->alternatives(); local
5189 ZoneList<GuardedAlternative>* alternatives = node->alternatives(); local
[all...]
/external/webkit/Source/JavaScriptCore/yarr/
H A DYarrPattern.cpp514 // If all the alternatives in parens start with BOL, then so does this one
523 // Backup and remove the current disjunction's alternatives.
524 Vector<PatternAlternative*> alternatives; local
525 alternatives.append(parenthesesDisjunction->m_alternatives);
534 newDisjunction->m_alternatives.append(alternatives);
574 // skip alternatives with m_startsWithBOL set true.
715 // Fixed count of 1 could be accepted, if they have a fixed size *AND* if all alternatives are of the same length.
766 // alternatives of the main body disjunction).
776 Vector<PatternAlternative*>& alternatives = m_pattern.m_body->m_alternatives;
777 for (size_t i = 0; i < alternatives
[all...]

Completed in 87 milliseconds