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

/macosx-10.9.5/xnu-2422.115.4/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);
/macosx-10.9.5/xnu-2422.115.4/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...]
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/lib/
H A Ducs4.c199 const unsigned char *utf8p = (const unsigned char *)utf8; local
210 while(*utf8p != '\0') {
211 c = *utf8p++;
247 c = *utf8p++;
296 unsigned char *utf8p = (unsigned char *)utf8; local
343 *utf8p++ = (v >> offset) | mask;
347 *utf8p++ = ((v >> offset) & 0x3f) | mask;
356 *utf8p = '\0';
/macosx-10.9.5/hfs-226.1.1/fsck_hfs/dfalib/
H A DSUtils.c52 int utf_encodestr(ucsp, ucslen, utf8p, utf8len, utf8plen)
55 unsigned char * utf8p;
63 bufstart = utf8p;
73 *utf8p++ = ucs_ch;
79 *utf8p++ = (ucs_ch >> 6) | 0xc0;
80 *utf8p++ = (ucs_ch & 0x3f) | 0x80;
85 *utf8p++ = (ucs_ch >> 12) | 0xe0;
86 *utf8p++ = ((ucs_ch >> 6) & 0x3f) | 0x80;
87 *utf8p++ = ((ucs_ch) & 0x3f) | 0x80;
91 *utf8len = utf8p
[all...]
/macosx-10.9.5/libiconv-41/libiconv/lib/
H A Dutf8mac.h1124 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p, argument
1139 bufstart = utf8p;
1161 if (utf8p >= bufend) {
1165 *utf8p++ = ucs_ch;
1168 if ((utf8p + 1) >= bufend) {
1172 *utf8p++ = 0xc0 | (ucs_ch >> 6);
1173 *utf8p++ = 0x80 | (0x3f & ucs_ch);
1186 if ((utf8p + 3) >= bufend) {
1192 *utf8p++ = 0xf0 | (pair >> 18);
1193 *utf8p
1236 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, size_t *consumed) argument
[all...]

Completed in 223 milliseconds