Lines Matching refs:wchar_t
880 static void StreamWideCharsToMessage(const wchar_t* wstr, size_t length,
936 // For a wchar_t value, we print it as a C++ wchar_t literal and as an
938 String FormatForFailureMessage(wchar_t wchar) {
939 // The C++ standard doesn't specify the exact size of the wchar_t
943 // Therefore, in order to print a wchar_t value in the numeric form,
1260 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) {
1276 // StringType here can be const char*, const wchar_t*, ::std::string,
1311 const wchar_t* needle, const wchar_t* haystack) {
1323 const wchar_t* needle, const wchar_t* haystack) {
1449 // code_point parameter is of type UInt32 because wchar_t may not be
1491 // with 16 bit wchar_t (Windows, Cygwin, Symbian OS) do use UTF-16.
1496 inline bool IsUtf16SurrogatePair(wchar_t first, wchar_t second) {
1497 return sizeof(wchar_t) == 2 &&
1502 inline UInt32 CreateCodePointFromUtf16SurrogatePair(wchar_t first,
1503 wchar_t second) {
1505 return (sizeof(wchar_t) == 2) ?
1514 // UTF-16 if sizeof(wchar_t) == 2 (on Windows, Cygwin, Symbian OS)
1515 // UTF-32 if sizeof(wchar_t) == 4 (on Linux)
1518 // of wchar_t characters processed. -1 is used when the entire string
1525 String WideStringToUtf8(const wchar_t* str, int num_chars) {
1551 String String::ShowWideCString(const wchar_t * wide_c_str) {
1559 String String::ShowWideCStringQuoted(const wchar_t* wide_c_str) {
1572 bool String::WideCStringEquals(const wchar_t * lhs, const wchar_t * rhs) {
1583 const wchar_t* expected,
1584 const wchar_t* actual) {
1599 const wchar_t* s1,
1600 const wchar_t* s2) {
1639 bool String::CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
1640 const wchar_t* rhs) {
4552 // instantiated to either char or wchar_t.
4624 void ParseGoogleTestFlagsOnly(int* argc, wchar_t** argv) {
4631 // wchar_t.
4671 void InitGoogleTest(int* argc, wchar_t** argv) {