Home
last modified time | relevance | path

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

/xnu-8792.81.2/bsd/sys/
H A Dutfconv.h129 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags);
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);
/xnu-8792.81.2/bsd/vfs/
H A Dvfs_utfconv.c271 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags) in utf8_encodestr() argument
383 *utf8len = utf8p - bufstart; in utf8_encodestr()
439 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp, in utf8_decodestr() argument
460 while (utf8len-- > 0 && (byte = *utf8p++) != '\0') { in utf8_decodestr()
467 ucs_ch = sfmconv ? ucs_to_sfm((u_int16_t)byte, utf8len == 0) : byte; in utf8_decodestr()
472 if ((extrabytes < 0) || ((int)utf8len < extrabytes)) { in utf8_decodestr()
475 utf8len -= extrabytes; in utf8_decodestr()
611 utf8len += extrabytes; in utf8_decodestr()
662 utf8_validatestr(const u_int8_t* utf8p, size_t utf8len) in utf8_validatestr() argument
669 while (utf8len-- > 0 && (byte = *utf8p++) != '\0') { in utf8_validatestr()
[all …]