Home
last modified time | relevance | path

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

/PHP-8.0/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()
1561 ssize_t didwrite; in _php_stream_copy_to_stream_ex() local
1569 if (didwrite < 0) { in _php_stream_copy_to_stream_ex()
1576 *len = haveread += didwrite; in _php_stream_copy_to_stream_ex()
1618 if (didwrite <= 0) { in _php_stream_copy_to_stream_ex()
1623 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()
115 if (didwrite > 0) { in php_sockop_write()
116 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), didwrite, 0); in php_sockop_write()
119 return didwrite; in php_sockop_write()

Completed in 21 milliseconds