Searched refs:cswidth (Results 1 – 12 of 12) sorted by relevance
41 short cswidth[4] = {-1, 1, 1, 1}; /* character length */ variable54 cswidth[0] = cp[0]; in mbgetwidth()55 cswidth[1] = cp[1]; in mbgetwidth()56 cswidth[2] = cp[2]; in mbgetwidth()70 return (cswidth[1]); in mbeucw()72 return (cswidth[2]); in mbeucw()74 return (cswidth[0]); in mbeucw()
107 _csmax = (cswidth[0] > cswidth[1]+1 ? in newscreen()108 (cswidth[0] > cswidth[2]+1 ? cswidth[0] : cswidth[2]+1) : in newscreen()109 (cswidth[1] > cswidth[2] ? cswidth[1]+1 : cswidth[2]+1)); in newscreen()
53 m = cswidth[ty] - (ty == 0 ? 1 : 0); in mbcharlen()
55 m = cswidth[ty] - (ty == 0 ? 1 : 0); in mbdisplen()
58 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in tgetwch()
57 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1); in wgetwch()
138 width = cswidth[type]; in _strbyte2code()
95 m = cswidth[ty] - (ty == 0 ? 1 : 0); in waddnstr()
86 m = x + cswidth[ty] - (ty == 0 ? 1 : 0); in winsnstr()
176 win->_nbyte = cswidth[ty] + (ty == 0 ? 0 : 1); in _mbaddch()
168 extern short cswidth[], /* byte size of multi-byte chars */
396 cswidth;