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

12

/macosx-10.10.1/ncurses-44/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);
/macosx-10.10.1/ncurses-44/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)) {
/macosx-10.10.1/apr-32/apr/apr/misc/win32/
H A Dstart.c44 const apr_wchar_t *wch; local
54 for (args = 1, wch = arrsz; wch[0] || wch[1]; ++wch)
55 if (!*wch)
58 wsize = 1 + wch - arrsz;
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/
H A Dgb18030.c82 wchar_t wch; local
118 wch = ch;
120 wch = ch;
125 wch = (wch << 8) | ch;
133 wch = ((wch & 0x7f) << 8) | ch;
139 wch = (wch << 8) | ch;
145 wch
[all...]
H A Dutf2.c94 wchar_t lbound, wch; local
163 wch = (unsigned char)*s++ & mask;
165 wch = us->ch;
175 wch <<= 6;
176 wch |= *s++ & 0x3f;
182 us->ch = wch;
185 if (wch < lbound) {
193 *pwc = wch;
195 return (wch == L'\0' ? 0 : want);
H A Dutf8.c129 wchar_t wch; local
223 wch = (unsigned char)*s++ & mask;
225 wch = us->ch;
232 wch <<= 6;
233 wch |= *s++ & 0x3f;
239 us->ch = wch;
243 *pwc = wch;
245 return (wch == L'\0' ? 0 : want);
/macosx-10.10.1/libdispatch-442.1.4/src/
H A Dtransform.c234 uint32_t wch = 0; local
239 wch |= (*bytes & 0x7);
240 wch <<= 6;
243 wch |= (*bytes & 0xf);
244 wch <<= 6;
247 wch |= (*bytes & 0x1f);
248 wch <<= 6;
251 wch = (*bytes & 0x7f);
262 wch |= (*bytes & 0x3f);
267 wch <<
[all...]
/macosx-10.10.1/ncurses-44/ncurses/test/
H A Dview.c86 #define check_mbytes(wch,buffer,length,state) \
87 (int) mbtowc(&wch, buffer, length)
92 #define check_mbytes(wch,buffer,length,state) \
93 (int) mbrtowc(&wch, buffer, length, &state)
176 wchar_t wch; local
190 rc = check_mbytes(wch, src + j, len - j, state);
194 if ((width = wcwidth(wch)) < 0)
205 wstr[l++] = wch;
/macosx-10.10.1/text_cmds-88/wc/
H A Dwc.c153 wchar_t wch; local
242 wch = (unsigned char)*p;
243 } else if ((clen = mbrtowc(&wch, p, len, &mbs)) ==
252 wch = (unsigned char)*p;
260 if (wch == L'\n')
262 if (iswspace(wch))

Completed in 331 milliseconds

12