Searched refs:cswidth (Results 1 – 12 of 12) sorted by relevance
39 short cswidth[4] = {-1, 1, 1, 1}; /* character length */ variable52 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()
109 _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()
51 m = cswidth[ty] - (ty == 0 ? 1 : 0); in mbcharlen()
53 m = cswidth[ty] - (ty == 0 ? 1 : 0); in mbdisplen()
56 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in tgetwch()
55 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in wgetwch()
136 width = cswidth[type]; in _strbyte2code()
93 m = cswidth[ty] - (ty == 0 ? 1 : 0); in waddnstr()
84 m = x + cswidth[ty] - (ty == 0 ? 1 : 0); in winsnstr()
174 win->_nbyte = cswidth[ty] + (ty == 0 ? 0 : 1); in _mbaddch()
166 extern short cswidth[], /* byte size of multi-byte chars */
456 cswidth {