Searched refs:nbuf (Results 1 – 1 of 1) sorted by relevance
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | encoding.c | 72 unsigned char *nbuf = NULL; in file_encoding() local 84 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 85 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 120 from_ebcdic(buf, nbytes, nbuf); in file_encoding() 122 if (looks_ascii(nbuf, nbytes, *ubuf, ulen)) { in file_encoding() 126 } else if (looks_latin1(nbuf, nbytes, *ubuf, ulen)) { in file_encoding() 139 free(nbuf); in file_encoding()
|
Completed in 5 milliseconds