Searched refs:nbuf (Results 1 – 1 of 1) sorted by relevance
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | encoding.c | 73 unsigned char *nbuf = NULL; in file_encoding() local 85 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 86 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 127 from_ebcdic(buf, nbytes, nbuf); in file_encoding() 129 if (looks_ascii(nbuf, nbytes, *ubuf, ulen)) { in file_encoding() 133 } else if (looks_latin1(nbuf, nbytes, *ubuf, ulen)) { in file_encoding() 146 free(nbuf); in file_encoding()
|
Completed in 9 milliseconds