• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/googletest/googlemock/include/gmock/

Lines Matching refs:ostream

46 #include <ostream>  // NOLINT
87 // Creates a listener object with the given underlying ostream. The
88 // listener does not own the ostream, and does not dereference it
90 explicit MatchResultListener(::std::ostream* os) : stream_(os) {}
93 // Streams x to the underlying ostream; does nothing if the ostream
102 // Returns the underlying ostream.
103 ::std::ostream* stream() { return stream_; }
112 ::std::ostream* const stream_;
126 // Describes this matcher to an ostream. The function should print
131 virtual void DescribeTo(::std::ostream* os) const = 0;
133 // Describes the negation of this matcher to an ostream. For
139 virtual void DescribeNegationTo(::std::ostream* os) const {
184 // virtual void DescribeTo(::std::ostream* os) const = 0;
185 // virtual void DescribeNegationTo(::std::ostream* os) const;
198 virtual void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); }
200 virtual void DescribeNegationTo(::std::ostream* os) const {
271 // ostream. The difference between this and MatchResultListener is
275 explicit StreamMatchResultListener(::std::ostream* os)
301 // Describes this matcher to an ostream.
302 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); }
304 // Describes the negation of this matcher to an ostream.
305 void DescribeNegationTo(::std::ostream* os) const {
311 ::std::ostream* os) const {
549 std::ostream& operator<<(std::ostream& os, const Matcher<T>& matcher) {
590 virtual void DescribeTo(::std::ostream* os) const {
594 virtual void DescribeNegationTo(::std::ostream* os) const {
753 virtual void DescribeTo(::std::ostream* os) const {
757 virtual void DescribeNegationTo(::std::ostream* os) const {
850 // If the explanation is not empty, prints it to the ostream.
852 ::std::ostream* os) {
918 ::std::ostream* os) {
960 ::std::ostream* /* os */) {}
985 ::std::ostream* os) {
1038 virtual void DescribeTo(::std::ostream* os) const { *os << "is anything"; }
1039 virtual void DescribeNegationTo(::std::ostream* os) const {
1085 virtual void DescribeTo(::std::ostream* os) const {
1089 virtual void DescribeNegationTo(::std::ostream* os) const {
1164 void DescribeTo(::std::ostream* os) const { *os << "is NULL"; }
1165 void DescribeNegationTo(::std::ostream* os) const {
1184 void DescribeTo(::std::ostream* os) const { *os << "isn't NULL"; }
1185 void DescribeNegationTo(::std::ostream* os) const {
1243 virtual void DescribeTo(::std::ostream* os) const {
1248 virtual void DescribeNegationTo(::std::ostream* os) const {
1346 void DescribeTo(::std::ostream* os) const {
1350 void DescribeNegationTo(::std::ostream* os) const {
1355 void DescribeToHelper(bool expect_eq, ::std::ostream* os) const {
1415 void DescribeTo(::std::ostream* os) const {
1420 void DescribeNegationTo(::std::ostream* os) const {
1475 void DescribeTo(::std::ostream* os) const {
1480 void DescribeNegationTo(::std::ostream* os) const {
1534 void DescribeTo(::std::ostream* os) const {
1539 void DescribeNegationTo(::std::ostream* os) const {
1587 void DescribeTo(::std::ostream* os) const {
1593 void DescribeNegationTo(::std::ostream* os) const {
1627 static ::std::ostream& GetDesc(::std::ostream& os) { // NOLINT
1639 virtual void DescribeTo(::std::ostream* os) const {
1642 virtual void DescribeNegationTo(::std::ostream* os) const {
1688 virtual void DescribeTo(::std::ostream* os) const {
1692 virtual void DescribeNegationTo(::std::ostream* os) const {
1733 virtual void DescribeTo(::std::ostream* os) const {
1742 virtual void DescribeNegationTo(::std::ostream* os) const {
1869 virtual void DescribeTo(::std::ostream* os) const {
1878 virtual void DescribeNegationTo(::std::ostream* os) const {
1981 void DescribeTo(::std::ostream* os) const {
1985 void DescribeNegationTo(::std::ostream* os) const {
2158 virtual void DescribeTo(::std::ostream* os) const {
2160 // store to restore the ostream to its original configuration
2179 virtual void DescribeNegationTo(::std::ostream* os) const {
2274 static ::std::ostream& GetDesc(::std::ostream& os) { // NOLINT
2298 virtual void DescribeTo(::std::ostream* os) const {
2301 virtual void DescribeNegationTo(::std::ostream* os) const {
2350 virtual void DescribeTo(::std::ostream* os) const {
2355 virtual void DescribeNegationTo(::std::ostream* os) const {
2393 void DescribeTo(::std::ostream* os) const {
2398 void DescribeNegationTo(::std::ostream* os) const {
2411 static void GetCastTypeDescription(::std::ostream* os) {
2470 void DescribeTo(::std::ostream* os) const {
2475 void DescribeNegationTo(::std::ostream* os) const {
2545 void DescribeTo(::std::ostream* os) const {
2550 void DescribeNegationTo(::std::ostream* os) const {
2671 virtual void DescribeTo(::std::ostream* os) const {
2676 virtual void DescribeNegationTo(::std::ostream* os) const {
2732 virtual void DescribeTo(::std::ostream* os) const {
2736 virtual void DescribeNegationTo(::std::ostream* os) const {
2786 virtual void DescribeTo(::std::ostream* os) const {
2790 virtual void DescribeNegationTo(::std::ostream* os) const {
2850 void DescribeTo(::std::ostream* os) const {
2854 void DescribeNegationTo(::std::ostream* os) const {
2871 ::std::ostream* const os = listener->stream();
2952 virtual void DescribeTo(::std::ostream* os) const {
2957 virtual void DescribeNegationTo(::std::ostream* os) const {
3054 virtual void DescribeTo(::std::ostream* os) const {
3061 virtual void DescribeNegationTo(::std::ostream* os) const {
3178 virtual void DescribeTo(::std::ostream* os) const {
3183 virtual void DescribeNegationTo(::std::ostream* os) const {
3207 virtual void DescribeTo(::std::ostream* os) const {
3212 virtual void DescribeNegationTo(::std::ostream* os) const {
3334 virtual void DescribeTo(::std::ostream* os) const {
3340 virtual void DescribeNegationTo(::std::ostream* os) const {
3386 virtual void DescribeTo(::std::ostream* os) const {
3394 virtual void DescribeNegationTo(::std::ostream* os) const {
3496 virtual void DescribeTo(::std::ostream* os) const {
3515 virtual void DescribeNegationTo(::std::ostream* os) const {
3698 void DescribeToImpl(::std::ostream* os) const;
3701 void DescribeNegationToImpl(::std::ostream* os) const;
3752 virtual void DescribeTo(::std::ostream* os) const {
3757 virtual void DescribeNegationTo(::std::ostream* os) const {
3975 virtual void DescribeTo(::std::ostream* os) const {
4037 virtual void DescribeTo(::std::ostream* os) const {
4042 virtual void DescribeNegationTo(::std::ostream* os) const {
4107 void DescribeTo(std::ostream* os) const {
4113 void DescribeNegationTo(std::ostream* os) const {
4168 void DescribeTo(std::ostream* os) const {
4174 void DescribeNegationTo(std::ostream* os) const {