Lines Matching defs:width
249 int width;
281 width = 0;
293 width = is_wide_char(ch) ? 2 : 1;
300 width = (utf_mode && is_wide_char(prev_ch)) ? -2 : -1;
302 width = 1;
306 if (width == 2 && shift - shifted == 1) {
320 /* Adjust width for magic cookies. */
326 width += attr_swidth(attr[from]);
328 width += attr_ewidth(attr[from]);
331 width += attr_ewidth(prev_attr);
333 width += attr_swidth(next_attr);
337 if (shift - shifted < width)
340 shifted += width;
364 * Return the printing width of the start (enter) sequence
388 * Return the printing width of the end (exit) sequence
412 * Return the printing width of a given character and attribute,
464 * plus the width of any attribute enter/exit sequence.
487 int width;
496 width = pwidth(ch, attr[curr], prev_ch);
497 column -= width;
498 if (width > 0)
1053 * get in the state where a full screen width of characters
1129 * lines which are not split for screen width.