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

/darwin-on-arm/xnu/bsd/sys/
H A Dutfconv.h104 * to by utf8p. The size of the output in bytes (not including a NULL
128 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
135 * This function takes an UTF-8 input string, utf8p, of utf8len bytes
163 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp,
199 * This function takes an UTF-8 input string, utf8p, of utf8len bytes
207 utf8_validatestr(const u_int8_t* utf8p, size_t utf8len);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_utfconv.c260 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p, argument
276 bufstart = utf8p;
310 if (utf8p >= bufend) {
314 *utf8p++ = ucs_ch;
317 if ((utf8p + 1) >= bufend) {
321 *utf8p++ = 0xc0 | (ucs_ch >> 6);
322 *utf8p++ = 0x80 | (0x3f & ucs_ch);
341 if ((utf8p + 3) >= bufend) {
347 *utf8p++ = 0xf0 | (pair >> 18);
348 *utf8p
411 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp, size_t *ucslen, size_t buflen, u_int16_t altslash, int flags) argument
628 utf8_validatestr(const u_int8_t* utf8p, size_t utf8len) argument
[all...]

Completed in 17 milliseconds