Lines Matching refs:didread
705 size_t toread = 0, didread = 0; in _php_stream_read() local
724 didread += toread; in _php_stream_read()
752 didread += toread; in _php_stream_read()
766 if (didread > 0) { in _php_stream_read()
767 stream->position += didread; in _php_stream_read()
770 return didread; in _php_stream_read()
1336 size_t didread; in _php_stream_seek() local
1338 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek()
1341 offset -= didread; in _php_stream_seek()
1501 size_t didread, didwrite, towrite; in _php_stream_copy_to_stream_ex() local
1559 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
1561 if (didread) { in _php_stream_copy_to_stream_ex()
1565 towrite = didread; in _php_stream_copy_to_stream_ex()
1567 haveread += didread; in _php_stream_copy_to_stream_ex()
1572 *len = haveread - (didread - towrite); in _php_stream_copy_to_stream_ex()