Lines Matching defs:byte
39 * Translate process code to byte-equivalent
40 * Return the length of the byte-equivalent string
49 * Translate a set of byte to a single process code
58 * Translate a string of wchar_t to a byte string.
60 * byte: if not NULL, space to store the output string
64 *_strcode2byte(wchar_t *code, char *byte, int n)
77 if (!byte && (n*CSMAX+1) > bufsize) {
86 if (!byte && !buf)
90 bufp = byte ? byte : buf;
98 return (byte ? byte : buf);
104 * Translate a byte-string to a wchar_t string.
107 *_strbyte2code(char *byte, wchar_t *code, int n)
115 for (n = 0; byte[n] != '\0'; ++n)
131 endbyte = byte + n;
133 while (byte < endbyte && *byte) {
137 type = TYPE(*byte & 0377);
142 if (byte + width <= endbyte) {
143 (void) _curs_mbtowc(&wchar, byte, width);
147 byte += width;