Lines Matching refs:didread
688 size_t toread = 0, didread = 0; in _php_stream_read() local
707 didread += toread; in _php_stream_read()
735 didread += toread; in _php_stream_read()
749 if (didread > 0) { in _php_stream_read()
750 stream->position += didread; in _php_stream_read()
753 return didread; in _php_stream_read()
1329 size_t didread; in _php_stream_seek() local
1331 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek()
1334 offset -= didread; in _php_stream_seek()
1500 size_t didread, didwrite, towrite; in _php_stream_copy_to_stream_ex() local
1558 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
1560 if (didread) { in _php_stream_copy_to_stream_ex()
1564 towrite = didread; in _php_stream_copy_to_stream_ex()
1566 haveread += didread; in _php_stream_copy_to_stream_ex()
1571 *len = haveread - (didread - towrite); in _php_stream_copy_to_stream_ex()