Searched refs:wch (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.0-release/contrib/ncurses/ncurses/widechar/
H A Dlib_erasewchar.c45 erasewchar(wchar_t * wch) argument
52 *wch = value;
66 killwchar(wchar_t * wch) argument
73 *wch = value;
H A Dlib_hline_set.c55 NCURSES_CH_T wch; local
65 wch = *WACS_HLINE;
67 wch = *ch;
68 wch = _nc_render(win, wch);
71 line->text[end] = wch;
H A Dlib_vline_set.c54 NCURSES_CH_T wch; local
62 wch = *WACS_VLINE;
64 wch = *ch;
65 wch = _nc_render(win, wch);
69 line->text[col] = wch;
H A Dlib_pecho_wchar.c38 pecho_wchar(WINDOW *pad, const cchar_t * wch) argument
40 T((T_CALLED("pecho_wchar(%p, %s)"), pad, _tracech_t(wch)));
46 returnCode(wecho_wchar(pad, wch));
48 wadd_wch(pad, wch);
H A Dlib_cchar.c41 * The SuSv2 description leaves some room for interpretation. We'll assume wch
48 const wchar_t *wch,
58 wcval, _nc_viswbuf(wch),
61 len = wcslen(wch);
63 || (len > 1 && wcwidth(wch[0]) < 0)) {
74 if (wcwidth(wch[i]) != 0) {
85 memcpy(&wcval->chars, wch, len * sizeof(wchar_t));
97 wchar_t *wch,
107 wcval, wch, attrs, color_pair, opts));
114 if (wch
47 setcchar(cchar_t *wcval, const wchar_t *wch, const attr_t attrs, short color_pair, const void *opts) argument
96 getcchar(const cchar_t *wcval, wchar_t *wch, attr_t *attrs, short *color_pair, void *opts) argument
[all...]
H A Dlib_add_wch.c41 wadd_wch(WINDOW *win, const cchar_t *wch) argument
48 _tracech_t(wch)));
53 attr_t attrs = (wch->attr & A_ATTRIBUTES);
55 if ((PUTC_ch = wch->chars[PUTC_i]) == L'\0')
78 wecho_wchar(WINDOW *win, const cchar_t *wch) argument
85 _tracech_t(wch)));
90 attr_t attrs = (wch->attr & A_ATTRIBUTES);
92 if ((PUTC_ch = wch->chars[PUTC_i]) == L'\0')
H A Dlib_get_wch.c48 #define check_mbytes(wch,buffer,length,state) \
49 (int) mbtowc(&wch, buffer, length)
54 #define check_mbytes(wch,buffer,length,state) \
55 (int) mbrtowc(&wch, buffer, length, &state)
69 wchar_t wch; local
112 if (check_mbytes(wch, buffer, count, state) != status) {
116 value = wch;
H A Dlib_unget_wch.c68 unget_wch(const wchar_t wch) argument
75 T((T_CALLED("unget_wch(%#lx)"), (unsigned long) wch));
78 length = _nc_wcrtomb(0, wch, &state);
86 wcrtomb(string, wch, &state);
H A Dlib_ins_wch.c49 _nc_insert_wch(WINDOW *win, const cchar_t *wch) argument
51 int cells = wcwidth(CharOf(CHDEREF(wch)));
67 *temp1 = _nc_render(win, *wch);
78 wins_wch(WINDOW *win, const cchar_t *wch) argument
84 T((T_CALLED("wins_wch(%p, %s)"), win, _tracecchar_t(wch)));
90 code = _nc_insert_wch(win, wch);
H A Dlib_inwstr.c51 wchar_t wch; local
62 && ((wch = text[col].chars[inx]) != 0);
70 wstr[count++] = wch;
H A Dlib_get_wstr.c49 wchar_t wch[2]; local
51 wch[0] = (wchar_t) (*src);
52 wch[1] = 0;
53 setcchar(&tmp, wch, A_NORMAL, 0, NULL);
/freebsd-10.0-release/contrib/ncurses/ncurses/base/
H A Dlib_hline.c56 NCURSES_CH_T wch; local
66 SetChar2(wch, ACS_HLINE);
68 SetChar2(wch, ch);
69 wch = _nc_render(win, wch);
72 line->text[end] = wch;
H A Dlib_vline.c55 NCURSES_CH_T wch; local
63 SetChar2(wch, ACS_VLINE);
65 SetChar2(wch, ch);
66 wch = _nc_render(win, wch);
70 line->text[col] = wch;
H A Dlib_bkgd.c85 cchar_t wch; local
88 wgetbkgrnd(win, &wch);
89 tmp = _nc_to_char((wint_t) CharOf(wch));
92 | (AttrOf(wch) & ALL_BUT_COLOR)
103 NCURSES_CH_T wch; local
104 SetChar2(wch, ch);
105 wbkgrndset(win, CHREF(wch));
137 NCURSES_CH_T wch = win->_line[y].text[x]; local
138 RemAttr(wch, (~(A_ALTCHARSET | A_CHARTEXT)));
139 win->_line[y].text[x] = _nc_render(win, wch);
153 NCURSES_CH_T wch; local
[all...]
H A Dlib_instr.c65 wchar_t *wch; local
77 && (wch = typeCalloc(wchar_t, (unsigned) n2 + 1)) != 0) {
78 if (getcchar(cell, wch, &attrs, &pair, 0) == OK) {
81 n3 = wcstombs(0, wch, 0);
90 wcstombs(tmp, wch, n3);
96 free(wch);
H A Dlib_insch.c56 NCURSES_CH_T wch; local
70 SetChar2(wch, ch);
71 _nc_waddch_nosync(win, wch);
86 SetChar2(wch, ch);
92 *temp1 = _nc_render(win, wch);
109 SetChar2(wch, ch);
110 wch = _nc_render(win, wch);
111 count = _nc_build_wch(win, &wch);
113 code = wins_wch(win, &wch);
[all...]
H A Dlib_box.c51 NCURSES_CH_T wch; local
52 SetChar2(wch, ch);
53 wch = _nc_render(win, wch);
54 return CharOf(wch) | AttrOf(wch);
H A Dlib_addch.c514 NCURSES_CH_T wch; local
515 SetChar2(wch, ch);
520 if (win && (waddch_nosync(win, wch) != ERR)) {
533 NCURSES_CH_T wch; local
534 SetChar2(wch, ch);
539 if (win && (waddch_nosync(win, wch) != ERR)) {
/freebsd-10.0-release/lib/libc/locale/
H A Dgb18030.c84 wchar_t wch; local
120 wch = ch;
122 wch = ch;
127 wch = (wch << 8) | ch;
135 wch = ((wch & 0x7f) << 8) | ch;
141 wch = (wch << 8) | ch;
147 wch
[all...]
H A Dutf8.c96 wchar_t lbound, wch; local
177 wch = (unsigned char)*s++ & mask;
179 wch = us->ch;
189 wch <<= 6;
190 wch |= *s++ & 0x3f;
196 us->ch = wch;
199 if (wch < lbound) {
207 *pwc = wch;
209 return (wch == L'\0' ? 0 : want);
/freebsd-10.0-release/usr.bin/wc/
H A Dwc.c171 wchar_t wch; local
257 wch = (unsigned char)*p;
258 } else if ((clen = mbrtowc(&wch, p, len, &mbs)) ==
268 wch = (unsigned char)*p;
274 if (wch != L'\n')
278 if (wch == L'\n') {
284 if (iswspace(wch))
/freebsd-10.0-release/sys/dev/sbni/
H A Dif_sbnivar.h115 struct callout wch; member in struct:sbni_softc
/freebsd-10.0-release/usr.bin/tr/
H A Dstr.c64 wchar_t wch; local
85 clen = mbrtowc(&wch, s->str, MB_LEN_MAX, NULL);
90 s->lastch = wch;
/freebsd-10.0-release/contrib/ncurses/include/
H A Dcurses.wide185 #define getbkgrnd(wch) wgetbkgrnd(stdscr,wch)
204 #define wgetbkgrnd(win,wch) (*wch = win->_bkgrnd, OK)
/freebsd-10.0-release/contrib/ncurses/ncurses/
H A Dllib-lncursesw2580 const cchar_t *wch)
2586 const cchar_t *wch)
2609 const wchar_t *wch,
2618 wchar_t *wch,
2628 wchar_t *wch)
2633 wchar_t *wch)
2684 const cchar_t *wch)
2721 const cchar_t *wch)
2744 const wchar_t wch)

Completed in 118 milliseconds

12