Lines Matching full:zero
86 static const StringWeight<L, S> &Zero() {
87 static const StringWeight<L, S> zero(kStringInfinity);
88 return zero;
347 w = StringWeight<L, S>::Zero();
367 // equality is required (for non-Zero() input. This restriction
374 if (w1 == StringWeight<L, S>::Zero())
376 if (w2 == StringWeight<L, S>::Zero())
397 if (w1 == StringWeight<L, STRING_LEFT>::Zero())
399 if (w2 == StringWeight<L, STRING_LEFT>::Zero())
418 if (w1 == StringWeight<L, STRING_RIGHT>::Zero())
420 if (w2 == StringWeight<L, STRING_RIGHT>::Zero())
438 if (w1 == StringWeight<L, S>::Zero() || w2 == StringWeight<L, S>::Zero())
439 return StringWeight<L, S>::Zero();
465 if (w2 == StringWeight<L, S>::Zero())
467 else if (w1 == StringWeight<L, S>::Zero())
468 return StringWeight<L, S>::Zero();
495 if (w2 == StringWeight<L, STRING_RIGHT>::Zero())
497 else if (w1 == StringWeight<L, STRING_RIGHT>::Zero())
498 return StringWeight<L, STRING_RIGHT>::Zero();
525 if (w2 == StringWeight<L, STRING_RIGHT_RESTRICT>::Zero())
527 else if (w1 == StringWeight<L, STRING_RIGHT_RESTRICT>::Zero())
528 return StringWeight<L, STRING_RIGHT_RESTRICT>::Zero();