Lines Matching refs:os

116                                      ::std::ostream* os);
135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument
137 sizeof(value), os); in PrintValue()
149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument
154 *os << ("<" + pretty_str + ">"); in PrintValue()
168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument
170 *os << kBigInt; in PrintValue()
200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os);
205 return os;
218 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) { in DefaultPrintNonContainerTo() argument
245 *os << value; in DefaultPrintNonContainerTo()
264 void UniversalPrint(const T& value, ::std::ostream* os);
271 const C& container, ::std::ostream* os) { in DefaultPrintTo() argument
273 *os << '{'; in DefaultPrintTo()
278 *os << ','; in DefaultPrintTo()
280 *os << " ..."; in DefaultPrintTo()
284 *os << ' '; in DefaultPrintTo()
287 internal::UniversalPrint(*it, os); in DefaultPrintTo()
291 *os << ' '; in DefaultPrintTo()
293 *os << '}'; in DefaultPrintTo()
305 T* p, ::std::ostream* os) { in DefaultPrintTo() argument
307 *os << "NULL"; in DefaultPrintTo()
318 *os << p; in DefaultPrintTo()
326 *os << reinterpret_cast<const void*>( in DefaultPrintTo()
337 const T& value, ::std::ostream* os) { in DefaultPrintTo() argument
338 ::testing_internal::DefaultPrintNonContainerTo(value, os); in DefaultPrintTo()
353 void PrintTo(const T& value, ::std::ostream* os) { in PrintTo() argument
376 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os); in PrintTo()
384 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
385 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
386 inline void PrintTo(char c, ::std::ostream* os) { in PrintTo() argument
390 PrintTo(static_cast<unsigned char>(c), os); in PrintTo()
394 inline void PrintTo(bool x, ::std::ostream* os) { in PrintTo() argument
395 *os << (x ? "true" : "false"); in PrintTo()
405 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
408 GTEST_API_ void PrintTo(const char* s, ::std::ostream* os);
409 inline void PrintTo(char* s, ::std::ostream* os) { in PrintTo() argument
410 PrintTo(ImplicitCast_<const char*>(s), os); in PrintTo()
415 inline void PrintTo(const signed char* s, ::std::ostream* os) { in PrintTo() argument
416 PrintTo(ImplicitCast_<const void*>(s), os); in PrintTo()
418 inline void PrintTo(signed char* s, ::std::ostream* os) { in PrintTo() argument
419 PrintTo(ImplicitCast_<const void*>(s), os); in PrintTo()
421 inline void PrintTo(const unsigned char* s, ::std::ostream* os) { in PrintTo() argument
422 PrintTo(ImplicitCast_<const void*>(s), os); in PrintTo()
424 inline void PrintTo(unsigned char* s, ::std::ostream* os) { in PrintTo() argument
425 PrintTo(ImplicitCast_<const void*>(s), os); in PrintTo()
435 GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os);
436 inline void PrintTo(wchar_t* s, ::std::ostream* os) { in PrintTo() argument
437 PrintTo(ImplicitCast_<const wchar_t*>(s), os); in PrintTo()
447 void PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) { in PrintRawArrayTo() argument
448 UniversalPrint(a[0], os); in PrintRawArrayTo()
450 *os << ", "; in PrintRawArrayTo()
451 UniversalPrint(a[i], os); in PrintRawArrayTo()
457 GTEST_API_ void PrintStringTo(const ::string&s, ::std::ostream* os);
458 inline void PrintTo(const ::string& s, ::std::ostream* os) { in PrintTo() argument
459 PrintStringTo(s, os); in PrintTo()
463 GTEST_API_ void PrintStringTo(const ::std::string&s, ::std::ostream* os);
464 inline void PrintTo(const ::std::string& s, ::std::ostream* os) { in PrintTo() argument
465 PrintStringTo(s, os); in PrintTo()
470 GTEST_API_ void PrintWideStringTo(const ::wstring&s, ::std::ostream* os);
471 inline void PrintTo(const ::wstring& s, ::std::ostream* os) { in PrintTo() argument
472 PrintWideStringTo(s, os); in PrintTo()
477 GTEST_API_ void PrintWideStringTo(const ::std::wstring&s, ::std::ostream* os);
478 inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) { in PrintTo() argument
479 PrintWideStringTo(s, os); in PrintTo()
490 void PrintTupleTo(const T& t, ::std::ostream* os);
497 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { in PrintTo() argument
498 PrintTupleTo(t, os); in PrintTo()
502 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { in PrintTo() argument
503 PrintTupleTo(t, os); in PrintTo()
507 void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { in PrintTo() argument
508 PrintTupleTo(t, os); in PrintTo()
512 void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { in PrintTo() argument
513 PrintTupleTo(t, os); in PrintTo()
517 void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { in PrintTo() argument
518 PrintTupleTo(t, os); in PrintTo()
523 ::std::ostream* os) { in PrintTo() argument
524 PrintTupleTo(t, os); in PrintTo()
530 ::std::ostream* os) { in PrintTo() argument
531 PrintTupleTo(t, os); in PrintTo()
537 ::std::ostream* os) { in PrintTo() argument
538 PrintTupleTo(t, os); in PrintTo()
544 ::std::ostream* os) { in PrintTo() argument
545 PrintTupleTo(t, os); in PrintTo()
551 ::std::ostream* os) { in PrintTo() argument
552 PrintTupleTo(t, os); in PrintTo()
559 ::std::ostream* os) { in PrintTo() argument
560 PrintTupleTo(t, os); in PrintTo()
566 void PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) { in PrintTo() argument
567 *os << '('; in PrintTo()
570 UniversalPrinter<T1>::Print(value.first, os); in PrintTo()
571 *os << ", "; in PrintTo()
572 UniversalPrinter<T2>::Print(value.second, os); in PrintTo()
573 *os << ')'; in PrintTo()
591 static void Print(const T& value, ::std::ostream* os) { in Print() argument
600 PrintTo(value, os); in Print()
611 void UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) { in UniversalPrintArray() argument
613 *os << "{}"; in UniversalPrintArray()
615 *os << "{ "; in UniversalPrintArray()
623 PrintRawArrayTo(begin, len, os); in UniversalPrintArray()
625 PrintRawArrayTo(begin, kChunkSize, os); in UniversalPrintArray()
626 *os << ", ..., "; in UniversalPrintArray()
627 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os); in UniversalPrintArray()
629 *os << " }"; in UniversalPrintArray()
635 ::std::ostream* os);
643 static void Print(const T (&a)[N], ::std::ostream* os) { in Print() argument
644 UniversalPrintArray(a, N, os); in Print()
659 static void Print(const T& value, ::std::ostream* os) { in Print() argument
662 *os << "@" << reinterpret_cast<const void*>(&value) << " "; in Print()
665 UniversalPrint(value, os); in Print()
677 void UniversalTersePrint(const T& value, ::std::ostream* os) { in UniversalTersePrint() argument
678 UniversalPrint(value, os); in UniversalTersePrint()
680 inline void UniversalTersePrint(const char* str, ::std::ostream* os) { in UniversalTersePrint() argument
682 *os << "NULL"; in UniversalTersePrint()
684 UniversalPrint(string(str), os); in UniversalTersePrint()
687 inline void UniversalTersePrint(char* str, ::std::ostream* os) { in UniversalTersePrint() argument
688 UniversalTersePrint(static_cast<const char*>(str), os); in UniversalTersePrint()
696 void UniversalPrint(const T& value, ::std::ostream* os) { in UniversalPrint() argument
697 UniversalPrinter<T>::Print(value, os); in UniversalPrint()
715 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { in PrintPrefixTo()
716 TuplePrefixPrinter<N - 1>::PrintPrefixTo(t, os); in PrintPrefixTo()
717 *os << ", "; in PrintPrefixTo()
719 ::Print(::std::tr1::get<N - 1>(t), os); in PrintPrefixTo()
750 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
752 Print(::std::tr1::get<0>(t), os);
766 void PrintTupleTo(const T& t, ::std::ostream* os) {
767 *os << "(";
769 PrintPrefixTo(t, os);
770 *os << ")";