Lines Matching refs:byte
64 *_strcode2byte(wchar_t *code, char *byte, int n) in _strcode2byte() argument
77 if (!byte && (n*CSMAX+1) > bufsize) { in _strcode2byte()
86 if (!byte && !buf) in _strcode2byte()
90 bufp = byte ? byte : buf; in _strcode2byte()
98 return (byte ? byte : buf); in _strcode2byte()
107 *_strbyte2code(char *byte, wchar_t *code, int n) in _strbyte2code() argument
115 for (n = 0; byte[n] != '\0'; ++n) in _strbyte2code()
131 endbyte = byte + n; in _strbyte2code()
133 while (byte < endbyte && *byte) { in _strbyte2code()
137 type = TYPE(*byte & 0377); in _strbyte2code()
142 if (byte + width <= endbyte) { in _strbyte2code()
143 (void) _curs_mbtowc(&wchar, byte, width); in _strbyte2code()
147 byte += width; in _strbyte2code()