Searched refs:pwcs (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/libxo/libxo/ |
H A D | xo_wcwidth.h | 210 static int xo_wcswidth(const wchar_t *pwcs, size_t n) in xo_wcswidth() argument 214 for (;*pwcs && n-- > 0; pwcs++) in xo_wcswidth() 215 if ((w = mk_wcwidth(*pwcs)) < 0) in xo_wcswidth() 301 int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n) in mk_wcswidth_cjk() argument 305 for (;*pwcs && n-- > 0; pwcs++) in mk_wcswidth_cjk() 306 if ((w = mk_wcwidth_cjk(*pwcs)) < 0) in mk_wcswidth_cjk()
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | wcwidth.h | 220 NCURSES_EXPORT(int) mk_wcswidth(const wchar_t *pwcs, size_t n) in mk_wcswidth() argument 224 for (;*pwcs && n-- > 0; pwcs++) in mk_wcswidth() 225 if ((w = mk_wcwidth(*pwcs)) < 0) in mk_wcswidth() 311 NCURSES_EXPORT(int) mk_wcswidth_cjk(const wchar_t *pwcs, size_t n) in mk_wcswidth_cjk() argument 315 for (;*pwcs && n-- > 0; pwcs++) in mk_wcswidth_cjk() 316 if ((w = mk_wcwidth_cjk(*pwcs)) < 0) in mk_wcswidth_cjk()
|
/freebsd/lib/libc/string/ |
H A D | wcswidth.c | 49 wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale) in wcswidth_l() argument 56 while (n-- > 0 && (wc = *pwcs++) != L'\0') { in wcswidth_l() 65 wcswidth(const wchar_t *pwcs, size_t n) in wcswidth() argument 67 return wcswidth_l(pwcs, n, __get_locale()); in wcswidth()
|
/freebsd/contrib/ncurses/ncurses/win32con/ |
H A D | wcwidth.c | 35 #define mk_wcswidth(pwcs, n) _nc_wcswidth(pwcs, n) argument 37 #define mk_wcswidth_cjk(pwcs, n) _nc_wcswidth_cjk(pwcs, n) argument
|
/freebsd/lib/libc/locale/ |
H A D | mbstowcs.c | 40 mbstowcs_l(wchar_t * __restrict pwcs, const char * __restrict s, size_t n, locale_t locale) in mbstowcs_l() argument 49 return (XLOCALE_CTYPE(locale)->__mbsnrtowcs(pwcs, &sp, SIZE_T_MAX, n, &mbs)); in mbstowcs_l() 52 mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n) in mbstowcs() argument 54 return mbstowcs_l(pwcs, s, n, __get_locale()); in mbstowcs()
|
H A D | wcstombs.c | 40 wcstombs_l(char * __restrict s, const wchar_t * __restrict pwcs, size_t n, in wcstombs_l() argument 49 pwcsp = pwcs; in wcstombs_l() 53 wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n) in wcstombs() argument 55 return wcstombs_l(s, pwcs, n, __get_locale()); in wcstombs()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | cstdlib | 74 size_t mbstowcs(wchar_t* restrict pwcs, const char* restrict s, size_t n); 75 size_t wcstombs(char* restrict s, const wchar_t* restrict pwcs, size_t n);
|