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

/macosx-10.10/file-46/file/src/
H A Dascmagic.c111 unsigned char *utf8_buf = NULL, *utf8_end; local
147 if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
151 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) == NULL)
153 if ((rv = file_softmagic(ms, utf8_buf, (size_t)(utf8_end - utf8_buf),
312 if (utf8_buf)
313 free(utf8_buf);

Completed in 109 milliseconds