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

/PHP_TRUNK/main/streams/
H A Dstreams.c1098 size_t didwrite = 0, towrite, justwrote; local
1121 didwrite += justwrote;
1132 return didwrite;
1499 size_t didread, didwrite, towrite; local
1534 didwrite = php_stream_write(dest, p, mapped);
1538 *len = didwrite;
1543 if (mapped > 0 && mapped == didwrite) {
1568 didwrite = php_stream_write(dest, writeptr, towrite);
1569 if (didwrite == 0) {
1574 towrite -= didwrite;
[all...]
H A Duserspace.c592 size_t didwrite = 0; local
609 didwrite = 0;
617 didwrite = Z_LVAL(retval);
624 if (didwrite > count) {
627 (zend_long)(didwrite - count), (zend_long)didwrite, (zend_long)count);
628 didwrite = count;
633 return didwrite;
H A Dxp_socket.c64 int didwrite; local
77 didwrite = send(sock->socket, buf, XP_SOCK_BUF_SIZE(count), (sock->is_blocked && ptimeout) ? MSG_DONTWAIT : 0);
79 if (didwrite <= 0) {
110 if (didwrite > 0) {
111 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), didwrite, 0); local
114 if (didwrite < 0) {
115 didwrite = 0;
118 return didwrite;

Completed in 9 milliseconds