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()
680 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 …]
455 zend_long n, toread = 1024; in PHP_FUNCTION() local457 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