Searched refs:pwc (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dwctomb.c42 wctomb(s, pwc)
44 wchar_t pwc;
58 *s = (char) (pwc & 0x00ff);
67 return(_wctomb_euc(s, pwc));
76 return(_wctomb_xccs(s, pwc));
85 return(_wctomb_iso(s, pwc));
98 ret = (*p)(s, pwc);
H A Dxccs.multibyte.c46 _mbtowc_xccs(pwc, s, n)
47 wchar_t *pwc;
111 if (pwc)
112 *pwc = twchar & MASK;
117 if (pwc)
118 *pwc |= TOP1;
126 _wctomb_xccs(s, pwc)
128 wchar_t pwc;
142 lower = pwc & 0x00ff;
143 upper = (pwc >>
[all...]
H A Dmbtowc.c44 mbtowc(pwc, s, n)
45 wchar_t * pwc;
64 if (pwc != NULL)
65 *pwc = (unsigned char)*s;
76 return(_mbtowc_euc(pwc, s, n));
86 return(_mbtowc_xccs(pwc, s, n));
96 return(_mbtowc_iso(pwc, s, n));
109 ret = (*p)(pwc, s, n);
H A Diso.multibyte.c87 _mbtowc_iso(wchar_t *pwc, char *s, size_t n) argument
275 * Use this ch to generate pwc.
287 * Generate pwc here.
359 if (pwc != NULL)
360 *pwc = wide;
374 wchar_t pwc; local
386 ret1 = _mbtowc_iso (&pwc, (char *)s, MAXMBSIZE);
389 if (ret1 == 0 || pwc == 0) {
399 *pwcs++ = pwc;
413 _wctomb_iso(unsigned char *s, wchar_t pwc) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dmbrtowc.c36 mbrtowc_l(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
43 return (loc->ctype->lc_mbrtowc(pwc, s, n, ps));
47 mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
50 return (mbrtowc_l(pwc, s, n, ps, uselocale(NULL)));
H A Dmbtowc.c37 mbtowc_l(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, argument
47 rval = mbrtowc_l(pwc, s, n, &mbs, loc);
54 mbtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n) argument
56 return (mbtowc_l(pwc, s, n, uselocale(NULL)));
H A Dbig5.c90 _BIG5_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
108 pwc = NULL;
121 if (pwc != NULL)
122 *pwc = wc;
140 if (pwc != NULL)
141 *pwc = wc;
144 if (pwc != NULL)
145 *pwc = wc;
H A Dgbk.c90 _GBK_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
108 pwc = NULL;
121 if (pwc != NULL)
122 *pwc = wc;
140 if (pwc != NULL)
141 *pwc = wc;
144 if (pwc != NULL)
145 *pwc = wc;
H A Dmskanji.c85 _MSKanji_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
102 pwc = NULL;
115 if (pwc != NULL)
116 *pwc = wc;
132 if (pwc != NULL)
133 *pwc = wc;
136 if (pwc != NULL)
137 *pwc = wc;
H A Deuc.c133 _EUC_CN_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
136 return (_EUC_mbrtowc_impl(pwc, s, n, ps, SS2, 4, 0, 0));
178 _EUC_KR_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
181 return (_EUC_mbrtowc_impl(pwc, s, n, ps, 0, 0, 0, 0));
223 _EUC_JP_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
226 return (_EUC_mbrtowc_impl(pwc, s, n, ps, SS2, 2, SS3, 3));
268 _EUC_TW_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
271 return (_EUC_mbrtowc_impl(pwc, s, n, ps, SS2, 4, 0, 0));
301 _EUC_mbrtowc_impl(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
320 pwc
[all...]
H A Dnone.c75 __mbrtowc_ascii(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
86 if (pwc != NULL)
87 *pwc = (unsigned char)*s;
H A Dgb2312.c103 _GB2312_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
121 pwc = NULL;
137 if (pwc != NULL)
138 *pwc = wc;
H A Dutf8.c77 _UTF8_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
94 pwc = NULL;
117 if (pwc != NULL)
118 *pwc = ch;
192 if (pwc != NULL)
193 *pwc = wch;
H A Dgb18030.c85 _GB18030_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, argument
103 pwc = NULL;
159 if (pwc != NULL)
160 *pwc = wch;
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dm_wchar.h326 #define mbtowc(pwc, s, n) m_sb_mbtowc(pwc, s, n)
327 #define mbrtowc(pwc, s, n, ps) m_sb_mbtowc(pwc, s, n)
336 extern int m_sb_mbtowc(wchar_t *pwc, const char *s, size_t n);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.h53 #define mbtowc(pwc, pmb, n_is_ignored) ((*(pwc) = *(pmb)), 1)

Completed in 56 milliseconds