/freebsd-10-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_erasewchar.c | 45 erasewchar(wchar_t * wch) argument 52 *wch = value; 66 killwchar(wchar_t * wch) argument 73 *wch = value;
|
H A D | lib_hline_set.c | 55 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 D | lib_vline_set.c | 54 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 D | lib_pecho_wchar.c | 38 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 D | lib_cchar.c | 41 * 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 D | lib_add_wch.c | 41 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 D | lib_get_wch.c | 48 #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 D | lib_unget_wch.c | 68 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 D | lib_ins_wch.c | 49 _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 D | lib_inwstr.c | 51 wchar_t wch; local 62 && ((wch = text[col].chars[inx]) != 0); 70 wstr[count++] = wch;
|
H A D | lib_get_wstr.c | 49 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-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_hline.c | 56 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 D | lib_vline.c | 55 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 D | lib_bkgd.c | 85 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 D | lib_instr.c | 65 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 D | lib_insch.c | 56 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 D | lib_box.c | 51 NCURSES_CH_T wch; local 52 SetChar2(wch, ch); 53 wch = _nc_render(win, wch); 54 return CharOf(wch) | AttrOf(wch);
|
H A D | lib_addch.c | 514 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-stable/lib/libc/locale/ |
H A D | gb18030.c | 84 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 D | utf8.c | 97 wchar_t lbound, wch; local 165 wch = (unsigned char)*s++ & mask; 167 wch = us->ch; 177 wch <<= 6; 178 wch |= *s++ & 0x3f; 184 us->ch = wch; 187 if (wch < lbound) { 194 if ((wch >= 0xd800 && wch <= 0xdfff) || wch > [all...] |
/freebsd-10-stable/bin/cat/ |
H A D | cat.c | 210 wint_t wch; local 248 if ((wch = getwc(fp)) == WEOF) { 255 wch = ch; 260 if (!iswascii(wch) && !iswprint(wch)) { 264 wch = toascii(wch); 266 if (iswcntrl(wch)) { 267 ch = toascii(wch); 273 if (putwchar(wch) [all...] |
/freebsd-10-stable/usr.bin/wc/ |
H A D | wc.c | 179 wchar_t wch; local 267 wch = (unsigned char)*p; 268 } else if ((clen = mbrtowc(&wch, p, len, &mbs)) == 278 wch = (unsigned char)*p; 284 if (wch != L'\n') 288 if (wch == L'\n') { 294 if (iswspace(wch))
|
/freebsd-10-stable/sys/dev/sbni/ |
H A D | if_sbnivar.h | 115 struct callout wch; member in struct:sbni_softc
|
/freebsd-10-stable/usr.bin/tr/ |
H A D | str.c | 64 wchar_t wch; local 85 clen = mbrtowc(&wch, s->str, MB_LEN_MAX, NULL); 90 s->lastch = wch;
|
/freebsd-10-stable/contrib/ncurses/include/ |
H A D | curses.wide | 185 #define getbkgrnd(wch) wgetbkgrnd(stdscr,wch) 204 #define wgetbkgrnd(win,wch) (*wch = win->_bkgrnd, OK)
|