Lines Matching defs:wc
87 int (*escout)(FILE *out, int cols, int wc))
93 wchar_t wc;
95 if ((bytes = mbrtowc(&wc, end, MB_CUR_MAX, 0))>0 && (col = wcwidth(wc))>=0)
97 if (!escmore || wc>255 || !strchr(escmore, wc)) {
107 wc = *end;
111 if (escout) col = escout(out, col, wc);
121 int crunch_escape(FILE *out, int cols, int wc)
126 if (wc<' ') rc = sprintf(buf, "^%c", '@'+wc);
127 else if (wc<256) rc = sprintf(buf, "<%02X>", wc);
128 else rc = sprintf(buf, "U+%04X", wc);
137 int crunch_rev_escape(FILE *out, int cols, int wc)
142 rc = crunch_escape(out, cols, wc);
174 int (*escout)(FILE *out, int cols, int wc))