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

/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_utfconv.c737 size_t unicode_bytes; local
802 unicode_bytes = precompose ? (inbuflen * 2) : (inbuflen * 3);
804 if (unicode_bytes <= sizeof(unicodebuf))
807 MALLOC(unistr, u_int16_t *, unicode_bytes, M_TEMP, M_WAITOK);
810 result = utf8_decodestr(inbufstart, inbuflen, unistr, &unicode_bytes,
811 unicode_bytes, 0, flags & ~UTF_NO_NULL_TERM);
814 result = utf8_encodestr(unistr, unicode_bytes, outbufstart,

Completed in 18 milliseconds