Searched refs:ucslen (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dutfconv.h78 * This function takes an Unicode input string, ucsp, of ucslen bytes
95 utf8_encodelen(const u_int16_t * ucsp, size_t ucslen, u_int16_t altslash,
102 * This function takes an Unicode input string, ucsp, of ucslen bytes
128 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
138 * termination byte) is returned in ucslen. Both buffers must reside
158 * ENAMETOOLONG: output did not fit; only ucslen bytes were decoded.
164 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags);
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_encodings.c344 size_t ucslen; local
346 error = utf8_decodestr(srcStr, srcLen, uniStr, &ucslen, sizeof(uniStr), ':', 0);
348 error = unicode_to_hfs(vcb, ucslen, uniStr, dstStr, 1);
358 size_t ucslen; local
360 error = utf8_decodestr(srcStr, srcLen, uniStr, &ucslen, sizeof(uniStr), ':', 0);
362 error = unicode_to_mac_roman(uniStr, ucslen/sizeof(UniChar), dstStr);
H A Dhfs_search.c1138 size_t ucslen; local
1142 if (utf8_decodestr((u_int8_t *)s, len-1, (UniChar*)searchInfo->name, &ucslen,
1146 searchInfo->nameLength = ucslen / sizeof(UniChar);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_utfconv.c171 * This function takes a Unicode input string, ucsp, of ucslen bytes
193 utf8_encodelen(const u_int16_t * ucsp, size_t ucslen, u_int16_t altslash, int flags) argument
204 charcnt = ucslen / 2;
260 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p, argument
280 charcnt = ucslen / 2;
406 * ENAMETOOLONG: Name didn't fit; only ucslen chars were decoded.
412 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags)
614 *ucslen = (u_int8_t*)ucsp - (u_int8_t*)bufstart;
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

Completed in 39 milliseconds