Home | History | Annotate | Download | only in re2

Lines Matching defs:Or

23   if (op_ == AND || op_ == OR)
41 // Simplify if the node is an empty Or or And.
43 if (op_ != AND && op_ != OR) {
47 // Nothing left in the AND/OR.
52 op_ = NONE; // OR of nothing is false
68 // Combines two Prefilters together to create an "op" (AND or OR).
69 // The passed Prefilters will be part of the returned Prefilter or deleted.
85 // NONE OR b = b
86 // ALL OR b = ALL
92 (a->op() == NONE && op == OR)) {
135 Prefilter* Prefilter::Or(Prefilter* a, Prefilter* b) {
136 return AndOr(OR, a, b);
166 or_prefilter = Or(or_prefilter, FromString(*i));
327 // Used only when a or b is not exact or when the
353 // Either a or b has is_exact_ = false. If the other
355 // then create a OR of a,b. The resulting Info has
357 ab->match_ = Prefilter::Or(a->TakeMatch(), b->TakeMatch());
690 case OR: {