Home
last modified time | relevance | path

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

/php-src/main/streams/
H A Dstreams.c709 toread = size; in _php_stream_read()
714 size -= toread; in _php_stream_read()
715 buf += toread; in _php_stream_read()
727 if (toread < 0) { in _php_stream_read()
731 return toread; in _php_stream_read()
745 toread = size; in _php_stream_read()
748 if (toread > 0) { in _php_stream_read()
753 if (toread > 0) { in _php_stream_read()
755 buf += toread; in _php_stream_read()
756 size -= toread; in _php_stream_read()
[all …]
/php-src/ext/hash/
H A Dhash.c726 zend_long toread = 1024; in PHP_FUNCTION() local
729 if (length > 0 && toread > length) { in PHP_FUNCTION()
730 toread = length; in PHP_FUNCTION()
733 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()

Completed in 14 milliseconds