Searched refs:nwLen (Results 1 - 1 of 1) sorted by relevance
| /ide/tools/previewer/util/windows/ |
| H A D | StringHelper.cpp | 24 int nwLen = ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), -1, NULL, 0); in StringToUtf8() local 25 if (nwLen < 1) { in StringToUtf8() 29 wchar_t* pwBuf = new(std::nothrow) wchar_t[nwLen + 1]; in StringToUtf8() 34 ZeroMemory(pwBuf, (nwLen + 1) * doubles); in StringToUtf8() 35 ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), str.length(), pwBuf, nwLen); in StringToUtf8() 48 ::WideCharToMultiByte(CP_UTF8, 0, pwBuf, nwLen, pBuf, nLen, NULL, NULL); in StringToUtf8() 60 int nwLen = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, NULL, 0); in Utf8ToString() local 61 int wLenAdd = nwLen + 1; in Utf8ToString() 76 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), pwBuf, nwLen); in Utf8ToString() 93 WideCharToMultiByte(CP_ACP, 0, pwBuf, nwLen, pBu in Utf8ToString() [all...] |
Completed in 1 milliseconds