Lines Matching defs:width
84 //get utf8 length and width at same time
85 static int utf8_lnw(int *width, char *s, int bytes)
90 if (*s == '\t') *width = TT.tabstop;
93 if (length < 1) length = 0, *width = 0;
94 else *width = wcwidth(wc);
124 int pos = size, len, width = 0;
126 len = utf8_lnw(&width, end, size-pos);
127 if (len && width) return end;
569 int len, width = 0;
584 if (utf8_lnw(&width, buf, len) && width) break;
716 int count = count0*count1, len, width = 0;
732 if (utf8_lnw(&width, buf, len) && width) break;
1312 static int crunch_nstr(char **str, int width, int n, FILE *out, char *escmore,
1322 if (width-columns<col) break;
1333 col = width-columns;