Lines Matching refs:rhs_
5537 explicit name##Matcher(const Rhs& rhs) : rhs_(rhs) {} \
5540 return MakeMatcher(new Impl<Lhs>(rhs_)); \
5546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} \
5549 return lhs op rhs_; \
5553 UniversalPrint(rhs_, os); \
5557 UniversalPrint(rhs_, os); \
5560 Rhs rhs_; \
5563 Rhs rhs_; \
6478 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
6485 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {
6495 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {}
6499 const FloatingPoint<FloatType> lhs(value), rhs(rhs_);
6514 return value == rhs_ || fabs(value - rhs_) <= max_abs_error_;
6526 if (FloatingPoint<FloatType>(rhs_).is_nan()) {
6533 *os << "is approximately " << rhs_;
6545 if (FloatingPoint<FloatType>(rhs_).is_nan()) {
6552 *os << "isn't approximately " << rhs_;
6566 const FloatType rhs_;
6581 return MakeMatcher(new Impl<FloatType>(rhs_, nan_eq_nan_, max_abs_error_));
6586 new Impl<const FloatType&>(rhs_, nan_eq_nan_, max_abs_error_));
6590 return MakeMatcher(new Impl<FloatType&>(rhs_, nan_eq_nan_, max_abs_error_));
6594 const FloatType rhs_;
6946 explicit ContainerEqMatcher(const Container& rhs) : rhs_(View::Copy(rhs)) {
6955 UniversalPrint(rhs_, os);
6959 UniversalPrint(rhs_, os);
6971 if (lhs_stl_container == rhs_)
6981 if (internal::ArrayAwareFind(rhs_.begin(), rhs_.end(), *it) ==
6982 rhs_.end()) {
6995 for (typename StlContainer::const_iterator it = rhs_.begin();
6996 it != rhs_.end(); ++it) {
7016 const StlContainer rhs_;
7118 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {
7127 return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_));
7147 rhs_(rhs) {}
7150 *os << "contains " << rhs_.size()
7152 UniversalPrinter<RhsStlContainer>::Print(rhs_, os);
7157 *os << "doesn't contain exactly " << rhs_.size()
7160 UniversalPrint(rhs_, os);
7169 if (actual_size != rhs_.size()) {
7175 typename RhsStlContainer::const_iterator right = rhs_.begin();
7202 const RhsStlContainer rhs_;
7209 const RhsStlContainer rhs_;