Searched refs:utf16Length (Results 1 – 1 of 1) sorted by relevance
/arkcompiler/ets_frontend/es2panda/util/ |
D | helpers.cpp | 754 … const int utf16Length = MultiByteToWideChar(CP_UTF8, kFlags, utf8.data(), utf8Length, nullptr, 0); in Utf8ToUtf16() local 755 if (utf16Length == 0) { in Utf8ToUtf16() 760 utf16.resize(utf16Length); in Utf8ToUtf16() 761 MultiByteToWideChar(CP_UTF8, kFlags, utf8.data(), utf8Length, &utf16[0], utf16Length); in Utf8ToUtf16()
|