/PHP-8.3/ext/fileinfo/libmagic/ |
H A D | compress.c | 545 size_t bytes_max, size_t *n) in uncompressgzipped() argument 573 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped() 580 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument 591 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 624 size_t bytes_max, size_t *n) in uncompressbzlib() argument 640 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib() 667 size_t bytes_max, size_t *n) in uncompressxzlib() argument 683 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib() 894 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf() 900 return uncompressbzlib(old, newch, bytes_max, n); in uncompressbuf() [all …]
|
H A D | magic.c | 212 if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) in file_or_stream() 251 if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) { in file_or_stream() 358 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 394 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
H A D | ascmagic.c | 212 if (seen_cr && nbytes < ms->bytes_max) in file_ascmagic_with_encoding()
|
H A D | file.h | 473 size_t bytes_max; /* number of bytes to read from file */ member
|
H A D | apprentice.c | 584 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|
/PHP-8.3/pear/ |
H A D | fetch.php | 9 …_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) { argument 30 $filesize = $bytes_max;
|
/PHP-8.3/ext/standard/tests/http/ |
H A D | gh8641.phpt | 11 …on_callback($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) 14 echo $notification_code, ' ', $bytes_transferred, ' ', $bytes_max, PHP_EOL;
|
H A D | gh15034.phpt | 29 int $bytes_max 32 $max = $bytes_max;
|
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-8.3/ext/standard/tests/streams/ |
H A D | gh10031.phpt | 36 …t_params($context, ['notification' => function ($code, $s, $m, $mc, $bytes_transferred, $bytes_max) 38 if ($code === STREAM_NOTIFY_FILE_SIZE_IS) echo "expected filesize=$bytes_max".PHP_EOL;
|
/PHP-8.3/main/streams/ |
H A D | php_stream_context.h | 23 size_t bytes_sofar, size_t bytes_max, 85 char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr);
|
H A D | streams.c | 2360 char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr) argument 2363 context->notifier->func(context, notifycode, severity, xmsg, xcode, bytes_sofar, bytes_max, ptr);
|
/PHP-8.3/ext/fileinfo/ |
H A D | libmagic.patch | 1312 - if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) 1313 + if ((*newch = CAST(unsigned char *, emalloc(bytes_max + 1))) == NULL) 2516 - if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) 2517 + if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) 2583 * try looking at the first ms->bytes_max bytes 2590 - CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { 2610 - ms->bytes_max; 2619 + if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) {
|
/PHP-8.3/ext/standard/ |
H A D | streamsfuncs.c | 880 char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr) in user_space_stream_notifier() argument 896 ZVAL_LONG(&zvs[5], bytes_max); in user_space_stream_notifier()
|