Lines Matching defs:code
39 * Translate process code to byte-equivalent
44 * use _curs_wctomb() instead of _code2byte(code, bytes)
49 * Translate a set of byte to a single process code
59 * code: the input code string
64 *_strcode2byte(wchar_t *code, char *byte, int n)
71 /* compute the length of the code string */
73 for (n = 0; code[n] != 0; ++n)
91 endcode = code+n;
92 while (code < endcode && *code) {
93 bufp += _curs_wctomb(bufp, *code & TRIM);
94 ++code;
107 *_strbyte2code(char *byte, wchar_t *code, int n)
118 if (!code && (n + 1) > bufsize) {
127 if (!code && !buf)
130 bufp = code ? code : buf;
151 return (code ? code : buf);