Home
last modified time | relevance | path

Searched refs:didread (Results 1 – 3 of 3) sorted by relevance

/php-src/main/streams/
H A Duserspace.c618 size_t didread = 0; in php_userstreamop_read() local
651 didread = Z_STRLEN(retval); in php_userstreamop_read()
652 if (didread > 0) { in php_userstreamop_read()
653 if (didread > count) { in php_userstreamop_read()
655 …ZSTR_VAL(us->wrapper->ce->name), (zend_long)(didread - count), (zend_long)didread, (zend_long)coun… in php_userstreamop_read()
656 didread = count; in php_userstreamop_read()
658 memcpy(buf, Z_STRVAL(retval), didread); in php_userstreamop_read()
687 return didread; in php_userstreamop_read()
1315 size_t didread = 0; in php_userstreamop_readdir() local
1332 didread = sizeof(php_stream_dirent); in php_userstreamop_readdir()
[all …]
H A Dstreams.c727 didread += toread; in _php_stream_read()
741 if (didread == 0) { in _php_stream_read()
765 didread += toread; in _php_stream_read()
782 if (didread > 0) { in _php_stream_read()
787 return didread; in _php_stream_read()
1413 ssize_t didread; in _php_stream_seek() local
1418 offset -= didread; in _php_stream_seek()
1767 ssize_t didread; in _php_stream_copy_to_stream_ex() local
1775 if (didread <= 0) { in _php_stream_copy_to_stream_ex()
1780 towrite = didread; in _php_stream_copy_to_stream_ex()
[all …]
/php-src/ext/hash/
H A Dhash.c713 zend_long length = -1, didread = 0; in PHP_FUNCTION() local
733 RETURN_LONG(didread); in PHP_FUNCTION()
737 didread += n; in PHP_FUNCTION()
740 RETURN_LONG(didread); in PHP_FUNCTION()

Completed in 21 milliseconds