Home
last modified time | relevance | path

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

/PHP-8.1/main/streams/
H A Duserspace.c566 ssize_t didwrite; in php_userstreamop_write() local
588 didwrite = -1; in php_userstreamop_write()
591 didwrite = Z_LVAL(retval); in php_userstreamop_write()
596 didwrite = -1; in php_userstreamop_write()
600 if (didwrite > 0 && didwrite > count) { in php_userstreamop_write()
603 (zend_long)(didwrite - count), (zend_long)didwrite, (zend_long)count); in php_userstreamop_write()
604 didwrite = count; in php_userstreamop_write()
609 return didwrite; in php_userstreamop_write()
H A Dstreams.c1122 ssize_t didwrite = 0; in _php_stream_write_buffer() local
1138 if (didwrite == 0) { in _php_stream_write_buffer()
1141 return didwrite; in _php_stream_write_buffer()
1146 didwrite += justwrote; in _php_stream_write_buffer()
1150 return didwrite; in _php_stream_write_buffer()
1575 ssize_t didwrite; in _php_stream_copy_to_stream_ex() local
1583 if (didwrite < 0) { in _php_stream_copy_to_stream_ex()
1590 *len = haveread += didwrite; in _php_stream_copy_to_stream_ex()
1632 if (didwrite <= 0) { in _php_stream_copy_to_stream_ex()
1637 towrite -= didwrite; in _php_stream_copy_to_stream_ex()
[all …]
H A Dxp_socket.c60 ssize_t didwrite; in php_sockop_write() local
73didwrite = send(sock->socket, buf, XP_SOCK_BUF_SIZE(count), (sock->is_blocked && ptimeout) ? MSG_D… in php_sockop_write()
75 if (didwrite <= 0) { in php_sockop_write()
116 if (didwrite > 0) { in php_sockop_write()
117 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), didwrite, 0); in php_sockop_write()
120 return didwrite; in php_sockop_write()

Completed in 27 milliseconds