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

/freebsd-11-stable/contrib/ncurses/ncurses/win32con/
H A Dwcwidth.c34 #define mk_wcswidth(pwcs, n) _nc_wcswidth(pwcs, n)
36 #define mk_wcswidth_cjk(pwcs, n) _nc_wcswidth_cjk(pwcs, n)
/freebsd-11-stable/lib/libc/string/
H A Dwcswidth.c50 wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale) argument
57 while (n-- > 0 && (wc = *pwcs++) != L'\0') {
66 wcswidth(const wchar_t *pwcs, size_t n) argument
68 return wcswidth_l(pwcs, n, __get_locale());
/freebsd-11-stable/lib/libc/locale/
H A Dmbstowcs.c41 mbstowcs_l(wchar_t * __restrict pwcs, const char * __restrict s, size_t n, locale_t locale) argument
50 return (XLOCALE_CTYPE(locale)->__mbsnrtowcs(pwcs, &sp, SIZE_T_MAX, n, &mbs));
53 mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n) argument
55 return mbstowcs_l(pwcs, s, n, __get_locale());
H A Dwcstombs.c41 wcstombs_l(char * __restrict s, const wchar_t * __restrict pwcs, size_t n, argument
50 pwcsp = pwcs;
54 wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n) argument
56 return wcstombs_l(s, pwcs, n, __get_locale());
/freebsd-11-stable/contrib/ncurses/ncurses/
H A Dwcwidth.h210 int mk_wcswidth(const wchar_t *pwcs, size_t n) argument
214 for (;*pwcs && n-- > 0; pwcs++)
215 if ((w = mk_wcwidth(*pwcs)) < 0)
301 int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n) argument
305 for (;*pwcs && n-- > 0; pwcs++)
306 if ((w = mk_wcwidth_cjk(*pwcs)) < 0)
/freebsd-11-stable/contrib/libxo/libxo/
H A Dxo_wcwidth.h210 static int xo_wcswidth(const wchar_t *pwcs, size_t n) argument
214 for (;*pwcs && n-- > 0; pwcs++)
215 if ((w = mk_wcwidth(*pwcs)) < 0)
301 int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n) argument
305 for (;*pwcs && n-- > 0; pwcs++)
306 if ((w = mk_wcwidth_cjk(*pwcs)) < 0)

Completed in 97 milliseconds