Home | History | Annotate | Download | only in gtest

Lines Matching defs:PrintTo

9233 // defining either operator<<() or PrintTo() in the namespace that
9238 // 1. foo::PrintTo(const T&, ostream*)
9310 // nor PrintTo().
9320 // operator<< nor PrintTo() is defined for T, where kTypeKind is the
9352 // Since T has no << operator or PrintTo() but can be implicitly
9370 // type T and T has neither << operator nor PrintTo().
9407 // user doesn't define PrintTo() for it.
9458 // a PrintTo() for it.
9476 // We cannot call PrintTo(*it, os) here as PrintTo
9488 // pointer, when the user doesn't define PrintTo() for it. (A member
9524 // doesn't define PrintTo() for it.
9534 // UniversalPrinter<T>::Print() does when PrintTo() is not specialized
9538 // an overload of PrintTo() in the namespace where Foo is defined. We
9544 void PrintTo(const T& value, ::std::ostream* os) {
9555 // override Google Mock's format by defining a PrintTo() or
9565 // PrintTo(const T& x, ...);
9566 // PrintTo(T* x, ...);
9570 // The following list of PrintTo() overloads tells
9575 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
9576 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
9577 inline void PrintTo(char c, ::std::ostream* os) {
9581 PrintTo(static_cast<unsigned char>(c), os);
9585 inline void PrintTo(bool x, ::std::ostream* os) {
9596 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
9599 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
9600 inline void PrintTo(char* s, ::std::ostream* os) {
9601 PrintTo(ImplicitCast_<const char*>(s), os);
9606 inline void PrintTo(const signed char* s, ::std::ostream* os) {
9607 PrintTo(ImplicitCast_<const void*>(s), os);
9609 inline void PrintTo(signed char* s, ::std::ostream* os) {
9610 PrintTo(ImplicitCast_<const void*>(s), os);
9612 inline void PrintTo(const unsigned char* s, ::std::ostream* os) {
9613 PrintTo(ImplicitCast_<const void*>(s), os);
9615 inline void PrintTo(unsigned char* s, ::std::ostream* os) {
9616 PrintTo(ImplicitCast_<const void*>(s), os);
9626 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
9627 inline void PrintTo(wchar_t* s, ::std::ostream* os) {
9628 PrintTo(ImplicitCast_<const wchar_t*>(s), os);
9649 inline void PrintTo(const ::string& s, ::std::ostream* os) {
9655 inline void PrintTo(const ::std::string& s, ::std::ostream* os) {
9662 inline void PrintTo(const ::wstring& s, ::std::ostream* os) {
9669 inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) {
9683 // Overloaded PrintTo() for tuples of various arities. We support
9688 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
9693 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) {
9698 void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) {
9703 void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) {
9708 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) {
9713 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t,
9720 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t,
9727 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7>& t,
9734 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8>& t,
9741 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>& t,
9748 void PrintTo(
9757 void PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) {
9768 // pick the right overload of PrintTo() for T.
9779 // Note: we deliberately don't call this PrintTo(), as that name
9780 // conflicts with ::testing::internal::PrintTo in the body of the
9783 // By default, ::testing::internal::PrintTo() is used for printing
9787 // PrintTo() function defined in its namespace, that function will
9791 PrintTo(value, os);
9953 // This helper template allows PrintTo() for tuples and