/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | wcstombs.c | 42 wcstombs(s, pwcs, n) in wcstombs() argument 44 wchar_t * pwcs; 57 while (*pwcs && (num < n)) { 58 *s++ = *pwcs++ & 0x00ff; 69 return(_wcstombs_euc(s, pwcs, n)); 76 return(_wcstombs_xccs(s, pwcs, n)); 83 return(_wcstombs_iso(s, pwcs, n)); 96 ret = (*p)(s, pwcs, n);
|
H A D | mbstowcs.c | 42 mbstowcs(pwcs, s, n) in mbstowcs() argument 43 wchar_t * pwcs; in mbstowcs() 58 *pwcs++ = (wchar_t)*s++; 62 *pwcs = 0; 69 return(_mbstowcs_euc(pwcs, s, n)); 76 return(_mbstowcs_xccs(pwcs, s, n)); 83 return(_mbstowcs_iso(pwcs, s, n)); 96 ret = (*p)(pwcs, s, n);
|
H A D | euc.multibyte.c | 106 _mbstowcs_euc(wchar_t *pwcs, char *s, size_t n) in _mbstowcs_euc() argument 114 i=_mbtowc_euc(pwcs+j, s, MB_LEN_MAX); in _mbstowcs_euc() 121 pwcs[j]=0; in _mbstowcs_euc() 127 _wcstombs_euc(char *s, wchar_t *pwcs, size_t n) in _wcstombs_euc() argument 135 while(wc=(*pwcs++)) { in _wcstombs_euc()
|
H A D | iso.multibyte.c | 370 _mbstowcs_iso(wchar_t *pwcs, unsigned char *s, size_t n) in _mbstowcs_iso() argument 379 if (pwcs == 0) in _mbstowcs_iso() 390 if (pwcs == 0) in _mbstowcs_iso() 391 *pwcs = 0; in _mbstowcs_iso() 399 *pwcs++ = pwc; in _mbstowcs_iso() 816 _wcstombs_iso(char *s, wchar_t *pwcs, int n) in _wcstombs_iso() argument 830 ret1 = _wctomb_iso ((unsigned char *)buf, *pwcs); in _wcstombs_iso() 850 ++pwcs; in _wcstombs_iso()
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | wcswidth.c | 46 wcswidth_l(const wchar_t *pwcs, size_t n, locale_t loc) in wcswidth_l() argument 52 while (n-- > 0 && (wc = *pwcs++) != L'\0') { in wcswidth_l() 61 wcswidth(const wchar_t *pwcs, size_t n) in wcswidth() argument 63 return (wcswidth_l(pwcs, n, uselocale(NULL))); in wcswidth()
|
H A D | mbstowcs.c | 39 mbstowcs_l(wchar_t *_RESTRICT_KYWD pwcs, const char *_RESTRICT_KYWD s, in mbstowcs_l() argument 46 return (loc->ctype->lc_mbsnrtowcs(pwcs, &sp, ULONG_MAX, n, &mbs)); in mbstowcs_l() 50 mbstowcs(wchar_t *_RESTRICT_KYWD pwcs, const char *_RESTRICT_KYWD s, size_t n) in mbstowcs() argument 52 return (mbstowcs_l(pwcs, s, n, uselocale(NULL))); in mbstowcs()
|
H A D | wcstombs.c | 38 wcstombs_l(char *_RESTRICT_KYWD s, const wchar_t *_RESTRICT_KYWD pwcs, in wcstombs_l() argument 46 pwcsp = pwcs; in wcstombs_l() 51 wcstombs(char *_RESTRICT_KYWD s, const wchar_t *_RESTRICT_KYWD pwcs, size_t n) in wcstombs() argument 53 return (wcstombs_l(s, pwcs, n, uselocale(NULL))); in wcstombs()
|
/titanic_41/usr/src/lib/libxcurses/h/ |
H A D | m_wchar.h | 330 #define mbstowcs(pwcs, s, n) m_sb_mbstowcs(pwcs, s, n) argument 331 #define mbsrtowcs(pwcs, s, n, ps) m_sb_mbstowcs(pwcs, s, n) argument 332 #define wcstombs(s, pwcs, n) m_sb_wcstombs(s, pwcs, n) argument 333 #define wcsrtombs(s, pwcs, n, ps) m_sb_wcstombs(s, pwcs, n) argument 338 extern size_t m_sb_mbstowcs(wchar_t *pwcs, const char *s, size_t n); 339 extern size_t m_sb_wcstombs(char *s, const wchar_t *pwcs, size_t n);
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | wcstombs.c | 41 _curs_wcstombs(char *s, const wchar_t *pwcs, size_t n) in _curs_wcstombs() argument 49 if (*pwcs == 0) { in _curs_wcstombs() 53 if ((val = _curs_wctomb(temp, *pwcs++)) == -1) in _curs_wcstombs()
|
H A D | mbstowcs.c | 38 _curs_mbstowcs(wchar_t *pwcs, const char *s, size_t n) in _curs_mbstowcs() argument 43 if ((val = _curs_mbtowc(pwcs++, s, MB_CUR_MAX)) == -1) in _curs_mbstowcs()
|
H A D | llib-lcurses | 779 size_t _curs_mbstowcs(wchar_t *pwcs, const char *s, size_t n); 1136 size_t _curs_wcstombs(char *s, const wchar_t *pwcs, size_t n);
|
/titanic_41/usr/src/cmd/make/lib/mksh/ |
H A D | misc.cc | 849 mbstowcs_with_check(wchar_t *pwcs, const char *s, size_t n) in mbstowcs_with_check() argument 851 if(mbstowcs(pwcs, s, n) == -1) { in mbstowcs_with_check()
|
/titanic_41/usr/src/cmd/make/include/mksh/ |
H A D | defs.h | 170 extern void mbstowcs_with_check(wchar_t *pwcs, const char *s, size_t n);
|
/titanic_41/usr/src/lib/libc/port/ |
H A D | llib-lc | 669 size_t mbstowcs(wchar_t *_RESTRICT_KYWD pwcs, const char *_RESTRICT_KYWD s, 1095 size_t wcstombs(char *_RESTRICT_KYWD s, const wchar_t *_RESTRICT_KYWD pwcs, 1499 int wcswidth(const wchar_t *pwcs, size_t n);
|