Searched refs:didwrite (Results 1 – 4 of 4) sorted by relevance
/PHP-5.3/ext/openssl/ |
H A D | xp_ssl.c | 178 int didwrite; in php_openssl_sockop_write() local 184 didwrite = SSL_write(sslsock->ssl_handle, buf, count); in php_openssl_sockop_write() 186 if (didwrite <= 0) { in php_openssl_sockop_write() 187 retry = handle_ssl_error(stream, didwrite, 0 TSRMLS_CC); in php_openssl_sockop_write() 193 if (didwrite > 0) { in php_openssl_sockop_write() 194 php_stream_notify_progress_increment(stream->context, didwrite, 0); in php_openssl_sockop_write() 197 didwrite = php_stream_socket_ops.write(stream, buf, count TSRMLS_CC); in php_openssl_sockop_write() 200 if (didwrite < 0) { in php_openssl_sockop_write() 201 didwrite = 0; in php_openssl_sockop_write() 204 return didwrite; in php_openssl_sockop_write()
|
/PHP-5.3/main/streams/ |
H A D | xp_socket.c | 57 int didwrite; in php_sockop_write() local 70 didwrite = send(sock->socket, buf, count, (sock->is_blocked && ptimeout) ? MSG_DONTWAIT : 0); in php_sockop_write() 72 if (didwrite <= 0) { in php_sockop_write() 103 if (didwrite > 0) { in php_sockop_write() 104 php_stream_notify_progress_increment(stream->context, didwrite, 0); in php_sockop_write() 107 if (didwrite < 0) { in php_sockop_write() 108 didwrite = 0; in php_sockop_write() 111 return didwrite; in php_sockop_write()
|
H A D | userspace.c | 602 size_t didwrite = 0; in php_userstreamop_write() local 620 didwrite = 0; in php_userstreamop_write() 623 didwrite = Z_LVAL_P(retval); in php_userstreamop_write() 630 if (didwrite > count) { in php_userstreamop_write() 633 (long)(didwrite - count), (long)didwrite, (long)count); in php_userstreamop_write() 634 didwrite = count; in php_userstreamop_write() 640 return didwrite; in php_userstreamop_write()
|
H A D | streams.c | 1046 size_t didwrite = 0, towrite, justwrote; in _php_stream_write_buffer() local 1069 didwrite += justwrote; in _php_stream_write_buffer() 1080 return didwrite; in _php_stream_write_buffer() 1488 size_t didwrite, towrite; in _php_stream_copy_to_stream_ex() local 1496 didwrite = php_stream_write(dest, writeptr, towrite); in _php_stream_copy_to_stream_ex() 1497 if (didwrite == 0) { in _php_stream_copy_to_stream_ex() 1502 towrite -= didwrite; in _php_stream_copy_to_stream_ex() 1503 writeptr += didwrite; in _php_stream_copy_to_stream_ex()
|
Completed in 19 milliseconds