Searched refs:toread (Results 1 – 3 of 3) sorted by relevance
39 zip_fread(zip_file_t *zf, void *outbuf, zip_uint64_t toread) in zip_fread() argument49 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()
700 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 …]
436 zend_long n, toread = 1024; in PHP_FUNCTION() local438 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