Home | History | Annotate | Download | only in gtest

Lines Matching defs:Print

34 // This file implements a universal value printer that can print a
37 // void ::testing::internal::UniversalPrinter<T>::Print(value, ostream_ptr);
39 // A user can teach this function how to print a class type T by
49 // If none of the above is defined, it will print the debug string of
50 // the value if it is a protocol buffer, or print the raw bytes in the
84 // The print primitives print the elements of an STL-style container
88 // match value_type, and the print output may be incorrect. In
128 // by the universal printer to print a value of type T when neither
141 // We print a protobuf using its ShortDebugString() when the string
142 // doesn't exceed this many characters; otherwise we print it using
162 // converted to BiggestInt, we print it as a BiggestInt.
178 // what UniversalPrinter<T>::Print() does when it knows nothing about
192 // "ambiguous overloads" compiler error when trying to print a type
215 // Used to print a value that is not an STL-style container when the
253 // UniversalPrinter<T>::Print(value, ostream_ptr) prints the given
266 // Used to print an STL-style container when the user doesn't define
272 const size_t kMaxCount = 32; // The maximum number of elements to print.
296 // Used to print a pointer that is neither a char pointer nor a member
315 // T is not a function type. We just call << to print p,
321 // (it just prints p as bool). We want to print p as a const
332 // Used to print a non-container, non-pointer value when the user
343 // UniversalPrinter<T>::Print() does when PrintTo() is not specialized
380 // UniversalPrinter<T>::Print() how to print standard types (built-in
414 // we print pointers to it as void* to be safe.
570 UniversalPrinter<T1>::Print(value.first, os);
572 UniversalPrinter<T2>::Print(value.second, os);
591 static void Print(const T& value, ::std::ostream* os) {
646 static void Print(const T (&a)[N], ::std::ostream* os) {
662 static void Print(const T& value, ::std::ostream* os) {
683 static void Print(const T& value, ::std::ostream* os) {
690 static void Print(const T& value, ::std::ostream* os) {
697 static void Print(const T (&value)[N], ::std::ostream* os) {
698 UniversalPrinter<T[N]>::Print(value, os);
704 static void Print(const char* str, ::std::ostream* os) {
715 static void Print(char* str, ::std::ostream* os) {
716 UniversalTersePrinter<const char*>::Print(str, os);
724 static void Print(const wchar_t* str, ::std::ostream* os) {
737 static void Print(wchar_t* str, ::std::ostream* os) {
738 UniversalTersePrinter<const wchar_t*>::Print(str, os);
744 UniversalTersePrinter<T>::Print(value, os);
756 UniversalPrinter<T1>::Print(value, os);
778 ::Print(::std::tr1::get<N - 1>(t), os);
811 Print(::std::tr1::get<0>(t), os);
849 internal::UniversalTersePrinter<T>::Print(value, &ss);