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

/PHP_TRUNK/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_TRUNK/ext/openssl/
H A Dxp_ssl.c1717 int didwrite; local
1723 didwrite = SSL_write(sslsock->ssl_handle, buf, count);
1725 if (didwrite <= 0) {
1726 retry = handle_ssl_error(stream, didwrite, 0 TSRMLS_CC);
1732 if (didwrite > 0) {
1733 php_stream_notify_progress_increment(stream->context, didwrite, 0);
1736 didwrite = php_stream_socket_ops.write(stream, buf, count TSRMLS_CC);
1739 if (didwrite < 0) {
1740 didwrite = 0;
1743 return didwrite;
[all...]

Completed in 13 milliseconds