Home
last modified time | relevance | path

Searched refs:utf16Len (Results 1 – 2 of 2) sorted by relevance

/hardware/google/aemu/base/
DWin32UnicodeString.cpp96 const int utf16Len = calcUtf16BufferLength(str, len); in reset() local
97 mStr = new wchar_t[utf16Len + 1]; in reset()
98 mSize = static_cast<size_t>(utf16Len); in reset()
99 convertFromUtf8(mStr, utf16Len, str, len); in reset()
201 const int utf16Len = MultiByteToWideChar(CP_UTF8, // CodePage in calcUtf16BufferLength() local
208 return convertRetVal(utf16Len); in calcUtf16BufferLength()
242 const int utf16Len = MultiByteToWideChar(CP_UTF8, // CodePage in convertFromUtf8() local
248 return convertRetVal(utf16Len); in convertFromUtf8()
DWin32UnicodeString_unittest.cpp57 size_t utf16Len = wcslen(kData[n].utf16); in TEST() local
59 EXPECT_EQ(utf16Len, str4.size()); in TEST()
63 EXPECT_EQ(utf16Len, str5.size()); in TEST()
68 EXPECT_EQ(utf16Len, str6.size()); in TEST()