Home
last modified time | relevance | path

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

/PHP-7.1/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.1/main/streams/
H A Dstreams.c700 toread = size; in _php_stream_read()
705 size -= toread; in _php_stream_read()
706 buf += toread; in _php_stream_read()
707 didread += toread; in _php_stream_read()
726 toread = size; in _php_stream_read()
729 if (toread > 0) { in _php_stream_read()
734 if (toread > 0) { in _php_stream_read()
735 didread += toread; in _php_stream_read()
736 buf += toread; in _php_stream_read()
737 size -= toread; in _php_stream_read()
[all …]
/PHP-7.1/ext/hash/
H A Dhash.c436 zend_long n, toread = 1024; in PHP_FUNCTION() local
438 if (length > 0 && toread > length) { in PHP_FUNCTION()
439 toread = length; in PHP_FUNCTION()
442 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()

Completed in 21 milliseconds