Home
last modified time | relevance | path

Searched refs:cswidth (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbgetwidth.c39 short cswidth[4] = {-1, 1, 1, 1}; /* character length */ variable
52 cswidth[0] = cp[0]; in mbgetwidth()
53 cswidth[1] = cp[1]; in mbgetwidth()
54 cswidth[2] = cp[2]; in mbgetwidth()
68 return (cswidth[1]); in mbeucw()
70 return (cswidth[2]); in mbeucw()
72 return (cswidth[0]); in mbeucw()
H A Dnewscreen.c109 _csmax = (cswidth[0] > cswidth[1]+1 ? in newscreen()
110 (cswidth[0] > cswidth[2]+1 ? cswidth[0] : cswidth[2]+1) : in newscreen()
111 (cswidth[1] > cswidth[2] ? cswidth[1]+1 : cswidth[2]+1)); in newscreen()
H A Dmbcharlen.c51 m = cswidth[ty] - (ty == 0 ? 1 : 0); in mbcharlen()
H A Dmbdisplen.c53 m = cswidth[ty] - (ty == 0 ? 1 : 0); in mbdisplen()
H A Dtgetwch.c56 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in tgetwch()
H A Dwgetwch.c55 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in wgetwch()
H A Dmbtranslate.c136 width = cswidth[type]; in _strbyte2code()
H A Dwaddnstr.c93 m = cswidth[ty] - (ty == 0 ? 1 : 0); in waddnstr()
H A Dwinsnstr.c84 m = x + cswidth[ty] - (ty == 0 ? 1 : 0); in winsnstr()
H A Dmbaddch.c174 win->_nbyte = cswidth[ty] + (ty == 0 ? 0 : 1); in _mbaddch()
H A Dcurshdr.h166 extern short cswidth[], /* byte size of multi-byte chars */
H A Dmapfile-vers456 cswidth {