/PHP-7.4/pear/ |
H A D | fetch.php | 9 …_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) { argument 30 $filesize = $bytes_max;
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | compress.c | 259 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic() 496 size_t bytes_max, size_t *n) in uncompressgzipped() argument 524 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped() 531 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument 536 if ((*newch = CAST(unsigned char *, emalloc(bytes_max + 1))) == NULL) in uncompresszlib() 542 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 700 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf() 702 return uncompresszlib(old, newch, bytes_max, n, 1); in uncompressbuf() 770 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf() 777 r = sread(fdp[STDOUT_FILENO][0], *newch, bytes_max, 0); in uncompressbuf() [all …]
|
H A D | magic.c | 240 if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) in file_or_stream() 279 if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) { in file_or_stream() 385 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 418 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
H A D | ascmagic.c | 205 if (seen_cr && nbytes < ms->bytes_max) in file_ascmagic_with_encoding()
|
H A D | file.h | 440 size_t bytes_max; /* number of bytes to read from file */ member
|
H A D | apprentice.c | 520 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|
/PHP-7.4/ext/standard/tests/http/ |
H A D | bug47021.phpt | 11 …_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) { 18 echo "Size=$bytes_max\n";
|
H A D | bug69337.phpt | 11 …on_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max)
|
/PHP-7.4/main/streams/ |
H A D | php_stream_context.h | 25 size_t bytes_sofar, size_t bytes_max, 87 char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr);
|
H A D | streams.c | 2244 char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr) argument 2247 context->notifier->func(context, notifycode, severity, xmsg, xcode, bytes_sofar, bytes_max, ptr);
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 205 ms->bytes_max = FILE_BYTES_MAX; 1536 - if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) 1537 + if ((*newch = CAST(unsigned char *, emalloc(bytes_max + 1))) == NULL) 2914 - if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) 2915 + if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) 2981 * try looking at the first ms->bytes_max bytes 2988 - CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { 3008 - ms->bytes_max; 3017 + if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) {
|
/PHP-7.4/ext/standard/ |
H A D | streamsfuncs.c | 851 char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr) in user_space_stream_notifier() argument 867 ZVAL_LONG(&zvs[5], bytes_max); in user_space_stream_notifier()
|