Lines Matching refs:didread
680 ssize_t toread = 0, didread = 0; in _php_stream_read() local
699 didread += toread; in _php_stream_read()
712 if (didread == 0) { in _php_stream_read()
719 if (didread == 0) { in _php_stream_read()
736 didread += toread; in _php_stream_read()
752 if (didread > 0) { in _php_stream_read()
753 stream->position += didread; in _php_stream_read()
756 return didread; in _php_stream_read()
1359 ssize_t didread; in _php_stream_seek() local
1361 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) <= 0) { in _php_stream_seek()
1364 offset -= didread; in _php_stream_seek()
1613 ssize_t didread; in _php_stream_copy_to_stream_ex() local
1620 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
1621 if (didread <= 0) { in _php_stream_copy_to_stream_ex()
1623 return didread < 0 ? FAILURE : SUCCESS; in _php_stream_copy_to_stream_ex()
1626 towrite = didread; in _php_stream_copy_to_stream_ex()
1628 haveread += didread; in _php_stream_copy_to_stream_ex()
1633 *len = haveread - (didread - towrite); in _php_stream_copy_to_stream_ex()