41 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_ 42 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_ 52 #include "gtest/internal/gtest-port.h" 72 static const char * CloneCString(
const char * c_str);
74 #if GTEST_OS_WINDOWS_MOBILE 87 static LPCWSTR AnsiToUtf16(
const char * c_str);
97 static const char * Utf16ToAnsi(LPCWSTR utf16_str);
105 static bool CStringEquals(
const char * lhs,
const char * rhs);
111 static std::string ShowWideCString(
const wchar_t * wide_c_str);
119 static bool WideCStringEquals(
const wchar_t * lhs,
const wchar_t * rhs);
142 static bool CaseInsensitiveWideCStringEquals(
const wchar_t * lhs,
143 const wchar_t * rhs);
147 static bool EndsWithCaseInsensitive(
157 static std::string FormatByte(
unsigned char value);
170 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
std::string StringStreamToString(::std::stringstream *ss)
bool CaseInsensitiveCStringEquals(const char *lhs, const char *rhs)