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

/freebsd-10.0-release/contrib/file/
H A Dascmagic.c105 unsigned char *utf8_buf = NULL, *utf8_end; local
142 if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
146 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
149 if ((rv = file_softmagic(ms, utf8_buf,
150 (size_t)(utf8_end - utf8_buf), 0, TEXTTEST, text)) == 0)
299 free(utf8_buf);

Completed in 59 milliseconds