proxygen
gtest-printers.cc File Reference
#include "gtest/gtest-printers.h"
#include <ctype.h>
#include <stdio.h>
#include <cwchar>
#include <ostream>
#include <string>
#include "gtest/internal/gtest-port.h"

Go to the source code of this file.

Namespaces

 testing
 
 testing::internal2
 
 testing::internal
 

Enumerations

enum  testing::internal::CharFormat {
  testing::internal::kAsIs, testing::internal::kHexEscape, testing::internal::kSpecialEscape, testing::internal::kAsIs,
  testing::internal::kHexEscape, testing::internal::kSpecialEscape, testing::internal::kAsIs, testing::internal::kHexEscape,
  testing::internal::kSpecialEscape
}
 

Functions

void testing::internal2::PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count, ostream *os)
 
bool testing::internal::IsPrintableAscii (wchar_t c)
 
template<typename UnsignedChar , typename Char >
static CharFormat testing::internal::PrintAsCharLiteralTo (Char c, ostream *os)
 
static CharFormat testing::internal::PrintAsStringLiteralTo (wchar_t c, ostream *os)
 
static CharFormat testing::internal::PrintAsStringLiteralTo (char c, ostream *os)
 
template<typename UnsignedChar , typename Char >
void testing::internal::PrintCharAndCodeTo (Char c, ostream *os)
 
GTEST_API_ void testing::internal::PrintTo (unsigned char c,::std::ostream *os)
 
GTEST_API_ void testing::internal::PrintTo (signed char c,::std::ostream *os)
 
void testing::internal::PrintTo (wchar_t wc, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void testing::internal::PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void testing::internal::UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os)
 
void testing::internal::UniversalPrintArray (const char *begin, size_t len, ostream *os)
 
void testing::internal::UniversalPrintArray (const wchar_t *begin, size_t len, ostream *os)
 
void testing::internal::PrintTo (const char *s, ostream *os)
 
void testing::internal::PrintTo (const wchar_t *s, ostream *os)
 
void testing::internal::PrintStringTo (const ::std::string &s, ostream *os)