Home
last modified time | relevance | path

Searched refs:wcharlen (Results 1 – 5 of 5) sorted by relevance

/dports/databases/postgresql-odbc/psqlodbc-13.02.0000/test/src/
H A Dlfconversion-test.c15 SQLLEN wcharlen; in main() local
58 rc = SQLGetData(hstmt, 3, SQL_C_WCHAR, wbuf, sizeof(wbuf), &wcharlen); in main()
63 printf("len %d chars, SQLGetData claims %d bytes\n\n", i, (int) wcharlen); in main()
66 rc = SQLGetData(hstmt, 4, SQL_C_WCHAR, wbuf, 10, &wcharlen); in main()
70 printf("len %d chars, SQLGetData claims %d bytes\n\n", i, (int) wcharlen); in main()
77 rc = SQLGetData(hstmt, 5, SQL_C_WCHAR, wbuf, 42, &wcharlen); in main()
81 printf("len %d chars, SQLGetData claims %d bytes\n\n", i, (int) wcharlen); in main()
92 size_t inbytes = wcharlen; in main()
/dports/audio/mpg123/mpg123-1.29.3/src/
H A Dlocal.c381 size_t wcharlen = mbstowcs(NULL, source, 0); in utf8outstr() local
382 if(wcharlen == (size_t)-1) in utf8outstr()
384 if(wcharlen+1 > SIZE_MAX/sizeof(wchar_t)) in utf8outstr()
386 wchar_t *pre = malloc(sizeof(wchar_t)*(wcharlen+1)); in utf8outstr()
387 wchar_t *flt = malloc(sizeof(wchar_t)*(wcharlen+1)); in utf8outstr()
394 if(mbstowcs(pre, source, wcharlen+1) == wcharlen) in utf8outstr()
398 for(size_t i=0; i<wcharlen; ++i) in utf8outstr()
/dports/games/jfsw/jfsw-c434002/jfbuild/kenbuild/
H A Dstartwin_game.c201 int joinhostlen, wcharlen; in startbutton_clicked() local
207 wcharlen = GetWindowTextLengthW(hwnd) + 1; in startbutton_clicked()
208 wcharstr = (WCHAR *)malloc(wcharlen * sizeof(WCHAR)); in startbutton_clicked()
209 GetWindowTextW(hwnd, wcharstr, wcharlen); in startbutton_clicked()
/dports/graphics/libfpx/libfpx-1.3.1-10/ole/
H A Dolecore.cpp1706 DWORD wcharlen = wcslen(pwchar); in WideCharToMultiByte() local
1709 char *pchar = new char[wcharlen + 1]; in WideCharToMultiByte()
1714 for (DWORD i = 0; i < wcharlen; i++ ) in WideCharToMultiByte()
1721 pchar[wcharlen] = '\0'; in WideCharToMultiByte()
/dports/games/jfsw/jfsw-c434002/src/
H A Dstartwin_game.c349 int joinhostlen, wcharlen; in startbutton_clicked() local
355 wcharlen = GetWindowTextLengthW(hwnd) + 1; in startbutton_clicked()
356 wcharstr = (WCHAR *)malloc(wcharlen * sizeof(WCHAR)); in startbutton_clicked()
357 GetWindowTextW(hwnd, wcharstr, wcharlen); in startbutton_clicked()