Lines Matching refs:wc
92 int (*escout)(FILE *out, int cols, int wc))
96 unsigned wc;
99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) {
100 if (!escmore || wc>255 || !strchr(escmore, wc)) {
110 wc = *end;
115 if ((col = escout(out, col, wc))<0) break;
125 int crunch_escape(FILE *out, int cols, int wc)
130 if (wc<' ') rc = sprintf(buf, "^%c", '@'+wc);
131 else if (wc<256) rc = sprintf(buf, "<%02X>", wc);
132 else rc = sprintf(buf, "U+%04X", wc);
141 int crunch_rev_escape(FILE *out, int cols, int wc)
146 rc = crunch_escape(out, cols, wc);
178 int (*escout)(FILE *out, int cols, int wc))