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

/xnu-2782.1.97/bsd/sys/
H A Dutfconv.h105 * termination byte) is returned in utf8len. The UTF-8 string output
123 * ENAMETOOLONG: output did not fit; only utf8len bytes were encoded
129 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags);
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);
/xnu-2782.1.97/bsd/hfs/hfscommon/Unicode/
H A DUnicodeWrappers.c491 size_t utf8len; local
502 (void) utf8_encodestr(srcStr, srcLen, dstStr, &utf8len, subMaxLen, ':', 0);
506 *actualDstLen = utf8len + (strlen(extStr) + strlen(fileIDStr));
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_utfconv.c261 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags)
374 *utf8len = utf8p - bufstart;
387 * if utf8len is set.
411 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp, argument
433 while (utf8len-- > 0 && (byte = *utf8p++) != '\0') {
439 ucs_ch = sfmconv ? ucs_to_sfm(byte, utf8len == 0) : byte;
444 if ((extrabytes < 0) || ((int)utf8len < extrabytes)) {
447 utf8len -= extrabytes;
588 utf8len += extrabytes;
628 utf8_validatestr(const u_int8_t* utf8p, size_t utf8len) argument
260 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p, size_t * utf8len, size_t buflen, u_int16_t altslash, int flags) argument
[all...]
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_encodings.c292 size_t utf8len; local
313 error = utf8_encodestr(uniStr, uniCount * sizeof(UniChar), dstStr, &utf8len, maxDstLen , ':', 0);
317 *actualDstLen = utf8len;
333 size_t utf8len; local
353 error = utf8_encodestr(uniStr, uniCount * sizeof(UniChar), dstStr, &utf8len, maxDstLen , ':', 0);
357 *actualDstLen = utf8len;
H A Dhfs_catalog.c811 u_int32_t utf8len; local
850 sizeof(utf8), &utf8len, utf8, fileID);
852 ((u_int16_t)descp->cd_namelen != utf8len) ||
853 (bcmp(descp->cd_nameptr, utf8, utf8len) != 0)) {
4277 size_t utf8len; local
4290 nameptr, (size_t *)&utf8len,
4302 nameptr, (size_t *)&utf8len,
4306 descp->cd_nameptr = (const u_int8_t *)vfs_addname((char *)nameptr, utf8len, 0, 0);
4307 descp->cd_namelen = utf8len;

Completed in 100 milliseconds