Searched refs:HOWMANY (Results 1 – 6 of 6) sorted by relevance
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | compress.c | 358 if ((*newch = CAST(unsigned char *, emalloc(HOWMANY + 1))) == NULL) { in uncompressgzipped() 367 z.avail_out = HOWMANY; in uncompressgzipped() 485 *newch = (unsigned char *) emalloc(HOWMANY + 1); in uncompressbuf() 487 if ((r = sread(fdout[0], *newch, HOWMANY, 0)) <= 0) { in uncompressbuf()
|
H A D | magic.c | 368 buf = emalloc(HOWMANY + SLOP); in file_or_stream() 404 if ((nbytes = php_stream_read(stream, (char *)buf, HOWMANY)) < 0) { in file_or_stream()
|
H A D | file.h | 128 #ifndef HOWMANY 129 # define HOWMANY (1024 * 1024) /* how much of the file to look at */ macro
|
H A D | ascmagic.c | 189 if (seen_cr && nbytes < HOWMANY) in file_ascmagic_with_encoding()
|
/PHP-7.1/ext/fileinfo/ |
H A D | fileinfo.c | 31 #ifndef HOWMANY 32 #define HOWMANY 65536 macro
|
H A D | libmagic.patch | 1289 - if ((*newch = CAST(unsigned char *, malloc(HOWMANY + 1))) == NULL) { 1339 - if ((*newch = (unsigned char *) malloc(HOWMANY + 1)) == NULL) { 1347 + *newch = (unsigned char *) emalloc(HOWMANY + 1); 1349 if ((r = sread(fdout[0], *newch, HOWMANY, 0)) <= 0) { 2619 - if ((buf = CAST(unsigned char *, malloc(HOWMANY + SLOP))) == NULL) 2621 + buf = emalloc(HOWMANY + SLOP); 2698 * try looking at the first HOWMANY bytes 2704 - (size_t)(HOWMANY - nbytes), 1)) > 0) { 2720 -#if defined(WIN32) && HOWMANY > 8 * 1024 2723 - HOWMANY; [all …]
|
Completed in 27 milliseconds