Lines Matching refs:ostream
43 // 1. foo::PrintTo(const T&, ostream*)
44 // 2. operator<<(ostream&, const T&) defined in either foo or the
51 // unless foo::PrintTo(const T&, ostream*) is defined. Note that
74 // void ::testing::internal::UniversalTersePrint(const T& value, ostream*);
79 // void ::testing::internal::UniversalPrint(const T& value, ostream*);
109 #include <ostream> // NOLINT
136 void UniversalPrint(const T& value, ::std::ostream* os);
164 static void PrintValue(const T& container, std::ostream* os) {
199 static void PrintValue(T* p, ::std::ostream* os) {
213 static void PrintValue(T* p, ::std::ostream* os) {
244 static auto PrintValue(const T& value, ::std::ostream* os)
263 static void PrintValue(const T& value, ::std::ostream* os) {
280 static void PrintValue(internal::BiggestInt value, ::std::ostream* os) {
287 static void PrintValue(internal::StringView value, ::std::ostream* os) {
298 static void PrintValue(const T& value, ::std::ostream* os) {
305 // ostream.
307 size_t count, ::std::ostream* os);
311 static void PrintValue(const T& value, ::std::ostream* os) {
322 static void PrintValue(const T&, ::std::ostream* os) {
348 void PrintWithFallback(const T& value, ::std::ostream* os) {
465 // value to the given ostream. The caller must ensure that
486 void PrintTo(const T& value, ::std::ostream* os) {
495 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
496 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
497 inline void PrintTo(char c, ::std::ostream* os) {
505 inline void PrintTo(bool x, ::std::ostream* os) {
516 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
518 GTEST_API_ void PrintTo(char32_t c, ::std::ostream* os);
519 inline void PrintTo(char16_t c, ::std::ostream* os) {
523 inline void PrintTo(char8_t c, ::std::ostream* os) {
530 GTEST_API_ void PrintTo(__uint128_t v, ::std::ostream* os);
531 GTEST_API_ void PrintTo(__int128_t v, ::std::ostream* os);
601 inline void PrintTo(float f, ::std::ostream* os) {
608 inline void PrintTo(double d, ::std::ostream* os) {
616 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
617 inline void PrintTo(char* s, ::std::ostream* os) {
623 inline void PrintTo(const signed char* s, ::std::ostream* os) {
626 inline void PrintTo(signed char* s, ::std::ostream* os) {
629 inline void PrintTo(const unsigned char* s, ::std::ostream* os) {
632 inline void PrintTo(unsigned char* s, ::std::ostream* os) {
637 GTEST_API_ void PrintTo(const char8_t* s, ::std::ostream* os);
638 inline void PrintTo(char8_t* s, ::std::ostream* os) {
643 GTEST_API_ void PrintTo(const char16_t* s, ::std::ostream* os);
644 inline void PrintTo(char16_t* s, ::std::ostream* os) {
648 GTEST_API_ void PrintTo(const char32_t* s, ::std::ostream* os);
649 inline void PrintTo(char32_t* s, ::std::ostream* os) {
660 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
661 inline void PrintTo(wchar_t* s, ::std::ostream* os) {
672 void PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) {
681 GTEST_API_ void PrintStringTo(const ::std::string& s, ::std::ostream* os);
682 inline void PrintTo(const ::std::string& s, ::std::ostream* os) {
688 GTEST_API_ void PrintU8StringTo(const ::std::u8string& s, ::std::ostream* os);
689 inline void PrintTo(const ::std::u8string& s, ::std::ostream* os) {
695 GTEST_API_ void PrintU16StringTo(const ::std::u16string& s, ::std::ostream* os);
696 inline void PrintTo(const ::std::u16string& s, ::std::ostream* os) {
701 GTEST_API_ void PrintU32StringTo(const ::std::u32string& s, ::std::ostream* os);
702 inline void PrintTo(const ::std::u32string& s, ::std::ostream* os) {
708 GTEST_API_ void PrintWideStringTo(const ::std::wstring& s, ::std::ostream* os);
709 inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) {
716 inline void PrintTo(internal::StringView sp, ::std::ostream* os) {
721 inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; }
724 inline void PrintTo(const std::type_info& info, std::ostream* os) {
730 void PrintTo(std::reference_wrapper<T> ref, ::std::ostream* os) {
740 void PrintSmartPointer(const Ptr& ptr, std::ostream* os, char) {
751 void PrintSmartPointer(const Ptr& ptr, std::ostream* os, int) {
762 void PrintTo(const std::unique_ptr<T, D>& ptr, std::ostream* os) {
767 void PrintTo(const std::shared_ptr<T>& ptr, std::ostream* os) {
775 ::std::ostream*) {}
779 ::std::ostream* os) {
791 void PrintTo(const ::std::tuple<Types...>& t, ::std::ostream* os) {
799 void PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) {
821 static void Print(const T& value, ::std::ostream* os) {
847 static void Print(const Any& value, ::std::ostream* os) {
875 static void Print(const Optional<T>& value, ::std::ostream* os) {
889 static void Print(decltype(Nullopt()), ::std::ostream* os) {
903 static void Print(const Variant<T...>& value, ::std::ostream* os) {
921 ::std::ostream* os;
931 void UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) {
953 ::std::ostream* os);
958 ::std::ostream* os);
963 ::std::ostream* os);
967 ::std::ostream* os);
971 ::std::ostream* os);
979 static void Print(const T (&a)[N], ::std::ostream* os) {
992 static void Print(const T& value, ::std::ostream* os) {
1011 static void Print(const T& value, ::std::ostream* os) {
1018 static void Print(const T& value, ::std::ostream* os) {
1025 static void Print(std::reference_wrapper<T> value, ::std::ostream* os) {
1032 static void Print(const T (&value)[N], ::std::ostream* os) {
1039 static void Print(const char* str, ::std::ostream* os) {
1055 static void Print(const char8_t* str, ::std::ostream* os) {
1071 static void Print(const char16_t* str, ::std::ostream* os) {
1086 static void Print(const char32_t* str, ::std::ostream* os) {
1102 static void Print(const wchar_t* str, ::std::ostream* os) {
1115 static void Print(wchar_t* str, ::std::ostream* os) {
1121 void UniversalTersePrint(const T& value, ::std::ostream* os) {
1130 void UniversalPrint(const T& value, ::std::ostream* os) {