Home
last modified time | relevance | path

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

/sqlite-3.40.0/ext/lsm1/
H A Dlsm_win32.c144 LPWSTR zWideText; in win32Utf8ToUnicode() local
150 zWideText = lsmMallocZero(pEnv, nChar * sizeof(WCHAR)); in win32Utf8ToUnicode()
151 if( zWideText==0 ){ in win32Utf8ToUnicode()
154 nChar = MultiByteToWideChar(CP_UTF8, 0, zText, -1, zWideText, nChar); in win32Utf8ToUnicode()
156 lsmFree(pEnv, zWideText); in win32Utf8ToUnicode()
157 zWideText = 0; in win32Utf8ToUnicode()
159 return zWideText; in win32Utf8ToUnicode()
167 static char *win32UnicodeToUtf8(lsm_env *pEnv, LPCWSTR zWideText){ in win32UnicodeToUtf8() argument
171 nByte = WideCharToMultiByte(CP_UTF8, 0, zWideText, -1, 0, 0, 0, 0); in win32UnicodeToUtf8()
179 nByte = WideCharToMultiByte(CP_UTF8, 0, zWideText, -1, zText, nByte, 0, 0); in win32UnicodeToUtf8()
/sqlite-3.40.0/src/
H A Dos_win.c1678 LPWSTR zWideText; in winUtf8ToUnicode() local
1684 zWideText = sqlite3MallocZero( nChar*sizeof(WCHAR) ); in winUtf8ToUnicode()
1685 if( zWideText==0 ){ in winUtf8ToUnicode()
1691 sqlite3_free(zWideText); in winUtf8ToUnicode()
1692 zWideText = 0; in winUtf8ToUnicode()
1694 return zWideText; in winUtf8ToUnicode()
1702 static char *winUnicodeToUtf8(LPCWSTR zWideText){ in winUnicodeToUtf8() argument
1758 static char *winUnicodeToMbcs(LPCWSTR zWideText, int useAnsi){ in winUnicodeToMbcs() argument
1835 char *sqlite3_win32_unicode_to_utf8(LPCWSTR zWideText){ in sqlite3_win32_unicode_to_utf8() argument
1837 if( !zWideText ){ in sqlite3_win32_unicode_to_utf8()
[all …]