Home
last modified time | relevance | path

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

/PHP-8.3/main/streams/
H A Duserspace.c570 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 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()
H A Dstreams.c1153 ssize_t didwrite = 0; in _php_stream_write_buffer() local
1179 if (didwrite == 0) { in _php_stream_write_buffer()
1183 retval = didwrite; in _php_stream_write_buffer()
1189 didwrite += justwrote; in _php_stream_write_buffer()
1193 retval = didwrite; in _php_stream_write_buffer()
1727 ssize_t didwrite; in _php_stream_copy_to_stream_ex() local
1735 if (didwrite < 0) { in _php_stream_copy_to_stream_ex()
1743 *len = haveread += didwrite; in _php_stream_copy_to_stream_ex()
1786 if (didwrite <= 0) { in _php_stream_copy_to_stream_ex()
1791 towrite -= didwrite; in _php_stream_copy_to_stream_ex()
[all …]

Completed in 18 milliseconds