Home
last modified time | relevance | path

Searched refs:nwc (Results 1 – 14 of 14) sorted by relevance

/freebsd/lib/libc/locale/
H A Dwcsnrtombs.c43 wcsnrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, in wcsnrtombs_l() argument
49 return (XLOCALE_CTYPE(locale)->__wcsnrtombs(dst, src, nwc, len, ps)); in wcsnrtombs_l()
52 wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, in wcsnrtombs() argument
55 return wcsnrtombs_l(dst, src, nwc, len, ps, __get_locale()); in wcsnrtombs()
61 size_t nwc, size_t len, mbstate_t * __restrict ps, in __wcsnrtombs_std() argument
74 while (nwc-- > 0) { in __wcsnrtombs_std()
86 while (len > 0 && nwc-- > 0) { in __wcsnrtombs_std()
H A Dascii.c161 size_t nwc, size_t len, mbstate_t * __restrict ps __unused) in _ascii_wcsnrtombs() argument
167 for (s = *src; nwc > 0 && *s != L'\0'; s++, nwc--) { in _ascii_wcsnrtombs()
178 while (len-- > 0 && nwc-- > 0) { in _ascii_wcsnrtombs()
H A Dnone.c154 size_t nwc, size_t len, mbstate_t * __restrict ps __unused) in _none_wcsnrtombs() argument
160 for (s = *src; nwc > 0 && *s != L'\0'; s++, nwc--) { in _none_wcsnrtombs()
171 while (len-- > 0 && nwc-- > 0) { in _none_wcsnrtombs()
H A Deuc.c160 size_t nwc, size_t len, mbstate_t * __restrict ps) in _EUC_CN_wcsnrtombs() argument
162 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _EUC_CN_wcrtomb)); in _EUC_CN_wcsnrtombs()
207 size_t nwc, size_t len, mbstate_t * __restrict ps) in _EUC_KR_wcsnrtombs() argument
209 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _EUC_KR_wcrtomb)); in _EUC_KR_wcsnrtombs()
254 size_t nwc, size_t len, mbstate_t * __restrict ps) in _EUC_JP_wcsnrtombs() argument
256 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _EUC_JP_wcrtomb)); in _EUC_JP_wcsnrtombs()
301 size_t nwc, size_t len, mbstate_t * __restrict ps) in _EUC_TW_wcsnrtombs() argument
303 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _EUC_TW_wcrtomb)); in _EUC_TW_wcsnrtombs()
H A Dutf8.c354 size_t nwc, size_t len, mbstate_t * __restrict ps) in _UTF8_wcsnrtombs() argument
373 while (nwc-- > 0) { in _UTF8_wcsnrtombs()
389 while (len > 0 && nwc-- > 0) { in _UTF8_wcsnrtombs()
H A Dmskanji.c183 const wchar_t ** __restrict src, size_t nwc, in _MSKanji_wcsnrtombs() argument
186 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _MSKanji_wcrtomb)); in _MSKanji_wcsnrtombs()
H A Dbig5.c191 size_t nwc, size_t len, mbstate_t * __restrict ps) in _BIG5_wcsnrtombs() argument
193 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _BIG5_wcrtomb)); in _BIG5_wcsnrtombs()
H A Dgbk.c193 size_t nwc, size_t len, mbstate_t * __restrict ps) in _GBK_wcsnrtombs() argument
195 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _GBK_wcrtomb)); in _GBK_wcsnrtombs()
H A Dgb2312.c183 const wchar_t ** __restrict src, size_t nwc, size_t len, in _GB2312_wcsnrtombs() argument
186 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _GB2312_wcrtomb)); in _GB2312_wcsnrtombs()
H A Dgb18030.c248 const wchar_t ** __restrict src, size_t nwc, size_t len, in _GB18030_wcsnrtombs() argument
251 return (__wcsnrtombs_std(dst, src, nwc, len, ps, _GB18030_wcrtomb)); in _GB18030_wcsnrtombs()
/freebsd/lib/libc/stdio/
H A Dvswprintf.c54 size_t nwc; in vswprintf_l() local
90 nwc = mbsrtowcs_l(s, (const char **)&mbp, n, &mbs, locale); in vswprintf_l()
92 if (nwc == (size_t)-1) { in vswprintf_l()
97 if (nwc == n) { in vswprintf_l()
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/
H A Dbsd_locale_defaults.h24 #define __libcpp_wcsnrtombs_l(dst, src, nwc, len, ps, loc) wcsnrtombs_l(dst, src, nwc, len, ps, loc) argument
/freebsd/share/misc/
H A Diso639360 nwc nwc Classical Newari; Old Newari; Classical Nepal Bhasa
/freebsd/contrib/sqlite3/
H A Dshell.c857 int nwc = MultiByteToWideChar(CP_UTF8,0, z,ncTake, 0,0); in conZstrEmit() local
858 if( nwc > 0 ){ in conZstrEmit()
859 WCHAR *zw = sqlite3_malloc64(nwc*sizeof(WCHAR)); in conZstrEmit()
861 nwc = MultiByteToWideChar(CP_UTF8,0, z,ncTake, zw,nwc); in conZstrEmit()
862 if( nwc > 0 ){ in conZstrEmit()
864 if( WriteConsoleW(ppst->hx, zw,nwc, 0, NULL) ){ in conZstrEmit()