Home
last modified time | relevance | path

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

/PHP-5.4/main/streams/
H A Duserspace.c676 size_t didread = 0; in php_userstreamop_read() local
697 didread = Z_STRLEN_P(retval); in php_userstreamop_read()
698 if (didread > count) { in php_userstreamop_read()
700 us->wrapper->classname, (long)(didread - count), (long)didread, (long)count); in php_userstreamop_read()
701 didread = count; in php_userstreamop_read()
703 if (didread > 0) in php_userstreamop_read()
704 memcpy(buf, Z_STRVAL_P(retval), didread); in php_userstreamop_read()
741 return didread; in php_userstreamop_read()
1510 size_t didread = 0; in php_userstreamop_readdir() local
1531 didread = sizeof(php_stream_dirent); in php_userstreamop_readdir()
[all …]
H A Dstreams.c710 size_t toread = 0, didread = 0; in _php_stream_read() local
729 didread += toread; in _php_stream_read()
757 didread += toread; in _php_stream_read()
771 if (didread > 0) { in _php_stream_read()
772 stream->position += didread; in _php_stream_read()
775 return didread; in _php_stream_read()
1341 size_t didread; in _php_stream_seek() local
1346 offset -= didread; in _php_stream_seek()
1566 if (didread) { in _php_stream_copy_to_stream_ex()
1570 towrite = didread; in _php_stream_copy_to_stream_ex()
[all …]
/PHP-5.4/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.4/ext/hash/
H A Dhash.c416 long length = -1, didread = 0; in PHP_FUNCTION() local
435 RETURN_LONG(didread); in PHP_FUNCTION()
439 didread += n; in PHP_FUNCTION()
442 RETURN_LONG(didread); in PHP_FUNCTION()

Completed in 39 milliseconds