Searched refs:didwrite (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c1748 int didwrite; local
1754 didwrite = SSL_write(sslsock->ssl_handle, buf, count);
1756 if (didwrite <= 0) {
1757 retry = handle_ssl_error(stream, didwrite, 0);
1763 if (didwrite > 0) {
1764 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), didwrite, 0); local
1767 didwrite = php_stream_socket_ops.write(stream, buf, count);
1770 if (didwrite < 0) {
1771 didwrite = 0;
1774 return didwrite;
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c1120 size_t didwrite = 0, towrite, justwrote; local
1143 didwrite += justwrote;
1154 return didwrite;
1511 size_t didread, didwrite, towrite; local
1546 didwrite = php_stream_write(dest, p, mapped);
1550 *len = didwrite;
1555 if (mapped > 0 && mapped == didwrite) {
1580 didwrite = php_stream_write(dest, writeptr, towrite);
1581 if (didwrite == 0) {
1586 towrite -= didwrite;
[all...]
H A Duserspace.c592 size_t didwrite = 0; local
609 didwrite = 0;
612 didwrite = Z_LVAL(retval);
619 if (didwrite > count) {
622 (zend_long)(didwrite - count), (zend_long)didwrite, (zend_long)count);
623 didwrite = count;
628 return didwrite;
H A Dxp_socket.c64 int didwrite; local
77 didwrite = send(sock->socket, buf, XP_SOCK_BUF_SIZE(count), (sock->is_blocked && ptimeout) ? MSG_DONTWAIT : 0);
79 if (didwrite <= 0) {
110 if (didwrite > 0) {
111 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), didwrite, 0); local
114 if (didwrite < 0) {
115 didwrite = 0;
118 return didwrite;

Completed in 12 milliseconds