Home
last modified time | relevance | path

Searched refs:utf8p (Results 1 – 2 of 2) sorted by relevance

/xnu-8020.140.41/bsd/vfs/
H A Dvfs_utfconv.c270 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p, in utf8_encodestr() argument
286 bufstart = utf8p; in utf8_encodestr()
321 if (utf8p >= bufend) { in utf8_encodestr()
325 *utf8p++ = (u_int8_t)ucs_ch; in utf8_encodestr()
327 if ((utf8p + 1) >= bufend) { in utf8_encodestr()
331 *utf8p++ = 0xc0 | (u_int8_t)(ucs_ch >> 6); in utf8_encodestr()
332 *utf8p++ = 0x80 | (0x3f & ucs_ch); in utf8_encodestr()
350 if ((utf8p + 3) >= bufend) { in utf8_encodestr()
356 *utf8p++ = 0xf0 | (u_int8_t)(pair >> 18); in utf8_encodestr()
357 *utf8p++ = 0x80 | (0x3f & (pair >> 12)); in utf8_encodestr()
[all …]
/xnu-8020.140.41/bsd/sys/
H A Dutfconv.h128 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
163 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp,
207 utf8_validatestr(const u_int8_t* utf8p, size_t utf8len);