Searched defs:wc (Results 1 - 25 of 151) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libxcurses/src/libc/narrow/
H A Dwctomb.c47 m_sb_wctomb(char *s, wchar_t wc) argument
52 *(char *)s = (wchar_t) wc;
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwmemchr.c35 wmemchr(const wchar_t *ws, wchar_t wc, size_t n) argument
39 if (*ws++ == wc)
H A Dwmemset.c35 wmemset(wchar_t *ws, wchar_t wc, size_t n) argument
41 *ws++ = wc;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/wide/
H A Dwio_get.c68 wchar_t wc; local
89 wio->_size = mbtowc(&wc, (char *)wio->_mb, wio->_next + 1);
97 return ((wint_t) wc);
H A Dwio_put.c59 m_wio_put(wint_t wc, t_wide_io *wio) argument
70 if (wc == WEOF)
71 wc = L'\0';
73 if ((mb_len = wctomb((char *) wio->_mb, wc)) < 0)
83 if (wc == '\0')
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkey_name.c51 key_name(wchar_t wc) argument
59 __m_trace("key_name(%ld)", wc);
62 (void) __m_wc_cc(wc, &cc);
H A Dwunctrl.c88 wint_t wc; local
98 wc = cc->_wc[0];
99 if (iswcntrl(wc)) {
100 if (wc == 127)
102 if (0 <= wc && wc <= 32)
103 return __m_return_pointer("wunctrl", carat[wc+1]);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwunctrl.c89 wint_t wc; local
96 wc = cc->_wc[0];
97 if (iswcntrl(wc)) {
98 if (wc == 127)
100 if (0 <= wc && wc <= 32)
101 return ((wchar_t *)carat[wc+1]);
H A Dkey_name.c52 key_name(wchar_t wc) argument
60 (void) __m_wc_cc(wc, &cc);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcrtomb.c38 wcrtomb_l(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps, argument
45 return (loc->ctype->lc_wcrtomb(s, wc, ps));
49 wcrtomb(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps) argument
51 return (wcrtomb_l(s, wc, ps, uselocale(NULL)));
H A Dbtowc.c42 wchar_t wc; local
52 if (mbrtowc_l(&wc, &cc, 1, &mbs, loc) > 1)
54 return (wc);
H A Dmbftowc.c31 * wc will receive the interpreted character, the peek function
38 _mbftowc(char *s, wchar_t *wc, int (*peek)(void), int *errorc) argument
56 cons = mbrtowc(wc, start, s - start, &mbs);
H A Dungetwc.c55 __ungetwc_impl(wint_t wc, FILE *iop, int orient) argument
67 if ((wc == WEOF) || ((iop->_flag & _IOREAD) == 0)) {
72 n = wctomb(mbs, (wchar_t)wc);
98 return (wc);
103 __ungetwc_xpg5(wint_t wc, FILE *iop) argument
105 return (__ungetwc_impl(wc, iop, 1));
109 ungetwc(wint_t wc, FILE *iop) argument
111 return (__ungetwc_impl(wc, iop, 0));
H A Dwcswidth.c48 wchar_t wc; local
52 while (n-- > 0 && (wc = *pwcs++) != L'\0') {
53 if ((l = wcwidth_l(wc, loc)) < 0)
H A Dwcwidth.c53 wcwidth_l(wchar_t wc, locale_t loc) argument
58 if (wc == 0)
61 x = ((wc < 0 || wc >= _CACHED_RUNES) ? __runetype(rl, wc) :
62 rl->__runetype[wc]) & (_CTYPE_SWM|_CTYPE_R);
70 wcwidth(wchar_t wc) argument
72 return (wcwidth_l(wc, uselocale(NULL)));
83 scrwidth(wchar_t wc) argument
85 int v = wcwidth(wc);
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwclrtoeol.c57 chtype wc; local
72 wc = RBYTE(win->_y[y][cx]);
73 if (cx + _curs_scrwidth[TYPE(wc)] > maxx)
H A Ddupwin.c108 chtype *ws, *we, *ns, *ne, wc; local
121 wc = *we;
122 n = _curs_scrwidth[TYPE(wc)];
132 wc = win->_bkgd;
134 *ws = wc;
136 *ws = wc;
H A Dmbgetwidth.c96 wcscrw(wchar_t wc) argument
100 switch (wc & EUCMASK) {
H A Dmbinch.c47 chtype *wp, *ep, wc; local
57 wc = RBYTE(*wp);
58 ep = wp + _curs_scrwidth[TYPE(wc & 0377)];
61 if ((wc = RBYTE(*wp)) == MBIT)
64 rs[k++] = (char)wc;
65 if ((wc = LBYTE(*wp)|MBIT) == MBIT)
68 rs[k++] = (char)wc;
H A Dmvderwin.c60 chtype obkgd, **wc, **pc; local
82 wc = win->_y;
86 for (y = 0; y <= maxy; ++y, ++wc, ++pc, ++begch, ++endch) {
87 *wc = *pc + parx;
H A Dwinchnstr.c60 chtype rawc, attr, wc; local
79 if ((wc = RBYTE(rawc)) == MBIT)
81 *string++ = wc | attr;
83 if ((wc = LBYTE(rawc) | MBIT) == MBIT)
85 *string++ = wc | attr;
/illumos-gate/usr/src/lib/libxcurses/src/libc/mse/
H A Drestart.c47 mbrtowc(wchar_t *wc, const char *mb, size_t n, mbstate_t *ps) argument
49 return mbtowc(wc, mb, n);
53 wcrtomb(char *s, wchar_t wc, mbstate_t *ps) argument
55 return wctomb(s, wc);
/illumos-gate/usr/src/lib/libxcurses/src/libc/wide/
H A Dwio_get.c111 wchar_t wc; local
135 &wc, (char *) (wio->_mb + wio->_next), 1, &wio->_state
158 return (wint_t) wc;
/illumos-gate/usr/src/cmd/echo/
H A Decho.c42 wchar_t wc; local
58 if ((b_len = mbtowc(&wc, cp, MB_CUR_MAX)) <= 0) {
64 if (wc != '\\') {
65 (void) putwchar(wc);
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributePattern.java72 PatternPart(boolean wc, String str) { argument
73 wildcard = wc;
98 boolean wc = false;
105 wc = true;
122 parts.addElement(new PatternPart(wc, middle));

Completed in 68 milliseconds

1234567