Searched defs:wide (Results 1 - 1 of 1) sorted by path

/system/core/base/
H A Dutf8_test.cpp32 std::wstring wide; local
40 EXPECT_FALSE(android::base::UTF8ToWide("before\xa2" "after", &wide));
52 EXPECT_EQ(0U, wide.find(L"before"));
54 EXPECT_EQ(wide.length() - (arraysize(after_wide) - 1), wide.find(after_wide));
119 // we round-trip all the wide strings through UTF-8 to make sure everything
125 std::wostringstream wide; local
126 wide << UTF8ToWide(utf8.str());
128 EXPECT_EQ(kConvertRoundtripCases[i], wide.str());
144 const wchar_t* wide; member in struct:android::base::UTF8ToWideCase
419 std::wstring wide; local
431 std::wstring wide; local
444 std::wstring wide; local
[all...]

Completed in 51 milliseconds