F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gtest-printers.cc File Reference
#include "gtest/gtest-printers.h"
#include <stdio.h>
#include <cctype>
#include <cstdint>
#include <cwchar>
#include <ostream>
#include <string>
#include <type_traits>
#include "gtest/internal/gtest-port.h"
#include "src/gtest-internal-inl.h"

Go to the source code of this file.

Namespaces

namespace  testing
 
namespace  testing::internal
 

Enumerations

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

Functions

void testing::internal::PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count, ostream *os)
 
bool testing::internal::IsPrintableAscii (char32_t c)
 
template<typename Char >
static CharFormat testing::internal::PrintAsCharLiteralTo (Char c, ostream *os)
 
static CharFormat testing::internal::PrintAsStringLiteralTo (char32_t c, ostream *os)
 
static const char * testing::internal::GetCharWidthPrefix (char)
 
static const char * testing::internal::GetCharWidthPrefix (signed char)
 
static const char * testing::internal::GetCharWidthPrefix (unsigned char)
 
static const char * testing::internal::GetCharWidthPrefix (char16_t)
 
static const char * testing::internal::GetCharWidthPrefix (char32_t)
 
static const char * testing::internal::GetCharWidthPrefix (wchar_t)
 
static CharFormat testing::internal::PrintAsStringLiteralTo (char c, ostream *os)
 
static CharFormat testing::internal::PrintAsStringLiteralTo (char16_t c, ostream *os)
 
static CharFormat testing::internal::PrintAsStringLiteralTo (wchar_t c, ostream *os)
 
template<typename Char >
void testing::internal::PrintCharAndCodeTo (Char c, ostream *os)
 
void testing::internal::PrintTo (unsigned char c, ::std::ostream *os)
 
void testing::internal::PrintTo (signed char c, ::std::ostream *os)
 
void testing::internal::PrintTo (wchar_t wc, ostream *os)
 
void testing::internal::PrintTo (char32_t c, ::std::ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ CharFormat testing::internal::PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os)
 
template<typename CharType >
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_ 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 char16_t *begin, size_t len, ostream *os)
 
void testing::internal::UniversalPrintArray (const char32_t *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 char16_t *s, ostream *os)
 
void testing::internal::PrintTo (const char32_t *s, ostream *os)
 
void testing::internal::PrintTo (const wchar_t *s, ostream *os)
 
void testing::internal::PrintStringTo (const ::std::string &s, ostream *os)
 
void testing::internal::PrintU16StringTo (const ::std::u16string &s, ostream *os)
 
void testing::internal::PrintU32StringTo (const ::std::u32string &s, ostream *os)