Lines Matching refs:c

67 #define	ELRE_ASSERT(a, b, c)	do				\  argument
70 c; \
88 #define ELRE_ASSERT(a, b, c) argument
128 re_addc(EditLine *el, wint_t c) in re_addc() argument
130 switch (ct_chr_class(c)) { in re_addc()
146 re_putc(el, c, 1); in re_addc()
151 ct_visual_char(visbuf, VISUAL_WIDTH_MAX, c); in re_addc()
166 wint_t c; in re_putliteral() local
170 c = literal_add(el, begin, end, &w); in re_putliteral()
171 if (c == 0 || w < 0) in re_putliteral()
173 el->el_vdisplay[cur->v][cur->h] = c; in re_putliteral()
193 re_putc(EditLine *el, wint_t c, int shift) in re_putc() argument
196 int i, w = wcwidth(c); in re_putc()
199 ELRE_DEBUG(1, (__F, "printing %5x '%lc'\r\n", c, c)); in re_putc()
206 el->el_vdisplay[cur->v][cur->h] = c; in re_putc()
543 wchar_t *o, *n, *p, c; in re_update_line() local
613 for (c = *ofd, n = nfd; n < nls; n++) { in re_update_line()
614 if (c == *n) { in re_update_line()
637 for (c = *nfd, o = ofd; o < ols; o++) { in re_update_line()
638 if (c == *o) { in re_update_line()
1095 re_fastputc(EditLine *el, wint_t c) in re_fastputc() argument
1100 w = wcwidth(c); in re_fastputc()
1104 terminal__putc(el, c); in re_fastputc()
1105 el->el_display[el->el_cursor.v][el->el_cursor.h++] = c; in re_fastputc()
1155 wchar_t c; in re_fastaddc() local
1162 c = el->el_line.cursor[-1]; in re_fastaddc()
1164 if (c == '\t' || el->el_line.cursor != el->el_line.lastchar) { in re_fastaddc()
1174 switch (ct_chr_class(c)) { in re_fastaddc()
1179 re_fastputc(el, c); in re_fastaddc()
1185 ct_visual_char(visbuf, VISUAL_WIDTH_MAX, c); in re_fastaddc()