Home
last modified time | relevance | path

Searched refs:CodePointToUtf8 (Results 1 – 3 of 3) sorted by relevance

/external/gtest/test/
Dgtest_unittest.cc134 using testing::internal::CodePointToUtf8;
237 EXPECT_STREQ("", CodePointToUtf8(L'\0', buffer)); in TEST()
243 EXPECT_STREQ("a", CodePointToUtf8(L'a', buffer)); in TEST()
244 EXPECT_STREQ("Z", CodePointToUtf8(L'Z', buffer)); in TEST()
245 EXPECT_STREQ("&", CodePointToUtf8(L'&', buffer)); in TEST()
246 EXPECT_STREQ("\x7F", CodePointToUtf8(L'\x7F', buffer)); in TEST()
254 EXPECT_STREQ("\xC3\x93", CodePointToUtf8(L'\xD3', buffer)); in TEST()
257 EXPECT_STREQ("\xD5\xB6", CodePointToUtf8(L'\x576', buffer)); in TEST()
265 EXPECT_STREQ("\xE0\xA3\x93", CodePointToUtf8(L'\x8D3', buffer)); in TEST()
268 EXPECT_STREQ("\xEC\x9D\x8D", CodePointToUtf8(L'\xC74D', buffer)); in TEST()
[all …]
/external/gtest/src/
Dgtest-internal-inl.h153 char* CodePointToUtf8(UInt32 code_point, char* str);
Dgtest.cc960 << (wchar ? CodePointToUtf8(static_cast<UInt32>(wchar), buffer) : "\\0") in FormatForFailureMessage()
1433 char* CodePointToUtf8(UInt32 code_point, char* str) { in CodePointToUtf8() function
1530 stream << CodePointToUtf8(unicode_code_point, buffer); in WideStringToUtf8()