Lines Matching full:zero
83 static const StringWeight<L, S> &Zero() {
84 static const StringWeight<L, S> zero(kStringInfinity);
85 return zero;
339 w = StringWeight<L, S>::Zero();
359 // equality is required (for non-Zero() input. This restriction
364 if (w1 == StringWeight<L, S>::Zero())
366 if (w2 == StringWeight<L, S>::Zero())
381 if (w1 == StringWeight<L, STRING_LEFT>::Zero())
383 if (w2 == StringWeight<L, STRING_LEFT>::Zero())
400 if (w1 == StringWeight<L, STRING_RIGHT>::Zero())
402 if (w2 == StringWeight<L, STRING_RIGHT>::Zero())
418 if (w1 == StringWeight<L, S>::Zero() || w2 == StringWeight<L, S>::Zero())
419 return StringWeight<L, S>::Zero();
440 if (w2 == StringWeight<L, S>::Zero())
442 else if (w1 == StringWeight<L, S>::Zero())
443 return StringWeight<L, S>::Zero();
465 if (w2 == StringWeight<L, STRING_RIGHT>::Zero())
467 else if (w1 == StringWeight<L, STRING_RIGHT>::Zero())
468 return StringWeight<L, STRING_RIGHT>::Zero();
490 if (w2 == StringWeight<L, STRING_RIGHT_RESTRICT>::Zero())
492 else if (w1 == StringWeight<L, STRING_RIGHT_RESTRICT>::Zero())
493 return StringWeight<L, STRING_RIGHT_RESTRICT>::Zero();