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

/PHP_5_6/main/streams/
H A Duserspace.c630 size_t didwrite = 0; local
648 didwrite = 0;
651 didwrite = Z_LVAL_P(retval);
658 if (didwrite > count) {
661 (long)(didwrite - count), (long)didwrite, (long)count);
662 didwrite = count;
668 return didwrite;
H A Dxp_socket.c57 int didwrite; local
70 didwrite = send(sock->socket, buf, count, (sock->is_blocked && ptimeout) ? MSG_DONTWAIT : 0);
72 if (didwrite <= 0) {
103 if (didwrite > 0) {
104 php_stream_notify_progress_increment(stream->context, didwrite, 0);
107 if (didwrite < 0) {
108 didwrite = 0;
111 return didwrite;
H A Dstreams.c1116 size_t didwrite = 0, towrite, justwrote; local
1139 didwrite += justwrote;
1150 return didwrite;
1501 size_t didread, didwrite, towrite; local
1536 didwrite = php_stream_write(dest, p, mapped);
1540 *len = didwrite;
1545 if (mapped > 0 && mapped == didwrite) {
1570 didwrite = php_stream_write(dest, writeptr, towrite);
1571 if (didwrite == 0) {
1576 towrite -= didwrite;
[all...]
/PHP_5_6/ext/openssl/
H A Dxp_ssl.c1777 int didwrite; local
1783 didwrite = SSL_write(sslsock->ssl_handle, buf, count);
1785 if (didwrite <= 0) {
1786 retry = handle_ssl_error(stream, didwrite, 0 TSRMLS_CC);
1792 if (didwrite > 0) {
1793 php_stream_notify_progress_increment(stream->context, didwrite, 0);
1796 didwrite = php_stream_socket_ops.write(stream, buf, count TSRMLS_CC);
1799 if (didwrite < 0) {
1800 didwrite = 0;
1803 return didwrite;
[all...]

Completed in 42 milliseconds