Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/vfs/
H A Dvfs_utfconv.c783 size_t unicode_bytes; in utf8_normalizestr() local
849 unicode_bytes = precompose ? (inbuflen * 2) : (inbuflen * 3); in utf8_normalizestr()
851 if (unicode_bytes <= sizeof(unicodebuf)) { in utf8_normalizestr()
854 unistr = kalloc_data(unicode_bytes, Z_WAITOK); in utf8_normalizestr()
858 result = utf8_decodestr(inbufstart, inbuflen, unistr, &unicode_bytes, in utf8_normalizestr()
859 unicode_bytes, 0, flags & ~UTF_NO_NULL_TERM); in utf8_normalizestr()
862 result = utf8_encodestr(unistr, unicode_bytes, outbufstart, in utf8_normalizestr()
867 kfree_data(unistr, unicode_bytes); in utf8_normalizestr()