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

/PHP_5_3/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...]
/PHP_5_3/main/streams/
H A Dstreams.c1046 size_t didwrite = 0, towrite, justwrote; local
1069 didwrite += justwrote;
1080 return didwrite;
1488 size_t didwrite, towrite; local
1496 didwrite = php_stream_write(dest, writeptr, towrite);
1497 if (didwrite == 0) {
1502 towrite -= didwrite;
1503 writeptr += didwrite;
H A Duserspace.c602 size_t didwrite = 0; local
620 didwrite = 0;
623 didwrite = Z_LVAL_P(retval);
630 if (didwrite > count) {
633 (long)(didwrite - count), (long)didwrite, (long)count);
634 didwrite = count;
640 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;

Completed in 11 milliseconds