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

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dutfconv.h59 * This function takes an Unicode input string, ucsp, of ucslen bytes
76 utf8_encodelen(const u_int16_t * ucsp, size_t ucslen, u_int16_t altslash,
83 * This function takes an Unicode input string, ucsp, of ucslen bytes
109 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
119 * termination byte) is returned in ucslen. Both buffers must reside
139 * ENAMETOOLONG: output did not fit; only ucslen bytes were decoded.
145 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags);
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_util.c173 ucsfncmp(u_int16_t *fn, int fnlen, u_int16_t *ucsfn, int ucslen) argument
179 ucslen /= 2;
183 if (--ucslen < 0)
199 for (j = 0; --ucslen >= 0; j = j * 10 + OSSwapBigToHostInt16(*ucsfn++) - '0');
206 if (ucslen > 0) {
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_encodings.c319 size_t ucslen; local
321 error = utf8_decodestr(srcStr, srcLen, uniStr, &ucslen, sizeof(uniStr), ':', 0);
323 error = unicode_to_hfs(vcb, ucslen, uniStr, dstStr, 1);
333 size_t ucslen; local
335 error = utf8_decodestr(srcStr, srcLen, uniStr, &ucslen, sizeof(uniStr), ':', 0);
337 error = unicode_to_mac_roman(uniStr, ucslen/sizeof(UniChar), dstStr);
H A Dhfs_search.c1122 size_t ucslen; local
1126 if (utf8_decodestr((u_int8_t *)s, len-1, (UniChar*)searchInfo->name, &ucslen,
1130 searchInfo->nameLength = ucslen / sizeof(UniChar);
/macosx-10.5.8/xnu-1228.15.4/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)
608 *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 69 milliseconds