Searched refs:cswidth (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbgetwidth.c41 short cswidth[4] = {-1, 1, 1, 1}; /* character length */ variable
54 cswidth[0] = cp[0];
55 cswidth[1] = cp[1];
56 cswidth[2] = cp[2];
70 return (cswidth[1]);
72 return (cswidth[2]);
74 return (cswidth[0]);
H A Dnewscreen.c107 _csmax = (cswidth[0] > cswidth[1]+1 ?
108 (cswidth[0] > cswidth[2]+1 ? cswidth[0] : cswidth[2]+1) :
109 (cswidth[1] > cswidth[2] ? cswidth[1]+1 : cswidth[
[all...]
H A Dmbcharlen.c53 m = cswidth[ty] - (ty == 0 ? 1 : 0);
H A Dmbdisplen.c55 m = cswidth[ty] - (ty == 0 ? 1 : 0);
H A Dtgetwch.c58 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1);
H A Dwgetwch.c57 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1);
H A Dmbtranslate.c138 width = cswidth[type];
H A Dwaddnstr.c95 m = cswidth[ty] - (ty == 0 ? 1 : 0);
H A Dwinsnstr.c86 m = x + cswidth[ty] - (ty == 0 ? 1 : 0);
H A Dcurshdr.h168 extern short cswidth[], /* byte size of multi-byte chars */
H A Dmbaddch.c176 win->_nbyte = cswidth[ty] + (ty == 0 ? 0 : 1);

Completed in 76 milliseconds