Home
last modified time | relevance | path

Searched refs:nLen (Results 1 - 1 of 1) sorted by relevance

/ide/tools/previewer/util/windows/
H A DStringHelper.cpp36 int nLen = ::WideCharToMultiByte(CP_UTF8, 0, pwBuf, -1, NULL, NULL, NULL, NULL); in StringToUtf8() local
37 if (nLen < 1) { in StringToUtf8()
42 char* pBuf = new(std::nothrow) char[nLen + 1]; in StringToUtf8()
47 ZeroMemory(pBuf, nLen + 1); in StringToUtf8()
48 ::WideCharToMultiByte(CP_UTF8, 0, pwBuf, nwLen, pBuf, nLen, NULL, NULL); in StringToUtf8()
77 int nLen = WideCharToMultiByte(CP_ACP, 0, pwBuf, -1, NULL, NULL, NULL, NULL); in Utf8ToString() local
78 int lenAdd = nLen + 1; in Utf8ToString()
93 WideCharToMultiByte(CP_ACP, 0, pwBuf, nwLen, pBuf, nLen, NULL, NULL); in Utf8ToString()

Completed in 1 milliseconds