Home
last modified time | relevance | path

Searched refs:toread (Results 1 – 3 of 3) sorted by relevance

/PHP-7.3/ext/zip/lib/
H A Dzip_fread.c39 zip_fread(zip_file_t *zf, void *outbuf, zip_uint64_t toread) in zip_fread() argument
49 if (toread > ZIP_INT64_MAX) { in zip_fread()
54 if ((zf->eof) || (toread == 0)) in zip_fread()
57 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) { in zip_fread()
/PHP-7.3/main/streams/
H A Dstreams.c680 toread = size; in _php_stream_read()
685 size -= toread; in _php_stream_read()
686 buf += toread; in _php_stream_read()
687 didread += toread; in _php_stream_read()
706 toread = size; in _php_stream_read()
709 if (toread > 0) { in _php_stream_read()
714 if (toread > 0) { in _php_stream_read()
715 didread += toread; in _php_stream_read()
716 buf += toread; in _php_stream_read()
717 size -= toread; in _php_stream_read()
[all …]
/PHP-7.3/ext/hash/
H A Dhash.c455 zend_long n, toread = 1024; in PHP_FUNCTION() local
457 if (length > 0 && toread > length) { in PHP_FUNCTION()
458 toread = length; in PHP_FUNCTION()
461 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()

Completed in 18 milliseconds