Home
last modified time | relevance | path

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

/PHP-5.3/main/streams/
H A Duserspace.c649 size_t didread = 0; in php_userstreamop_read() local
670 didread = Z_STRLEN_P(retval); in php_userstreamop_read()
671 if (didread > count) { in php_userstreamop_read()
673 us->wrapper->classname, (long)(didread - count), (long)didread, (long)count); in php_userstreamop_read()
674 didread = count; in php_userstreamop_read()
676 if (didread > 0) in php_userstreamop_read()
677 memcpy(buf, Z_STRVAL_P(retval), didread); in php_userstreamop_read()
714 return didread; in php_userstreamop_read()
1390 size_t didread = 0; in php_userstreamop_readdir() local
1411 didread = sizeof(php_stream_dirent); in php_userstreamop_readdir()
[all …]
H A Dstreams.c658 didread += toread; in _php_stream_read()
682 didread += toread; in _php_stream_read()
696 if (didread > 0) { in _php_stream_read()
697 stream->position += didread; in _php_stream_read()
700 return didread; in _php_stream_read()
1266 size_t didread; in _php_stream_seek() local
1271 offset -= didread; in _php_stream_seek()
1426 size_t didread; in _php_stream_copy_to_stream_ex() local
1486 if (didread) { in _php_stream_copy_to_stream_ex()
1491 towrite = didread; in _php_stream_copy_to_stream_ex()
[all …]
/PHP-5.3/ext/curl/
H A Dstreams.c153 size_t didread = 0; in php_curl_stream_read() local
199 didread = php_stream_read(curlstream->readbuffer.buf, buf, count); in php_curl_stream_read()
203 if (didread == 0) { in php_curl_stream_read()
207 return didread; in php_curl_stream_read()
/PHP-5.3/ext/hash/
H A Dhash.c403 long length = -1, didread = 0; in PHP_FUNCTION() local
422 RETURN_LONG(didread); in PHP_FUNCTION()
426 didread += n; in PHP_FUNCTION()
429 RETURN_LONG(didread); in PHP_FUNCTION()

Completed in 18 milliseconds