Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dwcstombs.c42 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 Dmbstowcs.c42 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 Deuc.multibyte.c106 _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 Diso.multibyte.c370 _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 Dwcswidth.c46 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 Dmbstowcs.c39 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 Dwcstombs.c38 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 Dm_wchar.h330 #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 Dwcstombs.c41 _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 Dmbstowcs.c38 _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 Dllib-lcurses779 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 Dmisc.cc849 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 Ddefs.h170 extern void mbstowcs_with_check(wchar_t *pwcs, const char *s, size_t n);
/titanic_41/usr/src/lib/libc/port/
H A Dllib-lc669 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);