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

/PHP_5_4/main/streams/
H A Duserspace.c629 size_t didwrite = 0; local
647 didwrite = 0;
650 didwrite = Z_LVAL_P(retval);
657 if (didwrite > count) {
660 (long)(didwrite - count), (long)didwrite, (long)count);
661 didwrite = count;
667 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.c1121 size_t didwrite = 0, towrite, justwrote; local
1144 didwrite += justwrote;
1155 return didwrite;
1506 size_t didread, didwrite, towrite; local
1541 didwrite = php_stream_write(dest, p, mapped);
1545 *len = didwrite;
1550 if (mapped > 0 && mapped == didwrite) {
1575 didwrite = php_stream_write(dest, writeptr, towrite);
1576 if (didwrite == 0) {
1581 towrite -= didwrite;
[all...]
/PHP_5_4/ext/openssl/
H A Dxp_ssl.c178 int didwrite; local
184 didwrite = SSL_write(sslsock->ssl_handle, buf, count);
186 if (didwrite <= 0) {
187 retry = handle_ssl_error(stream, didwrite, 0 TSRMLS_CC);
193 if (didwrite > 0) {
194 php_stream_notify_progress_increment(stream->context, didwrite, 0);
197 didwrite = php_stream_socket_ops.write(stream, buf, count TSRMLS_CC);
200 if (didwrite < 0) {
201 didwrite = 0;
204 return didwrite;
[all...]

Completed in 10 milliseconds