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

/PHP_TRUNK/main/streams/
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;
H A Duserspace.c592 size_t didwrite = 0; local
609 didwrite = 0;
612 didwrite = Z_LVAL(retval);
619 if (didwrite > count) {
622 (zend_long)(didwrite - count), (zend_long)didwrite, (zend_long)count);
623 didwrite = count;
628 return didwrite;
H A Dstreams.c1113 size_t didwrite = 0, towrite, justwrote; local
1136 didwrite += justwrote;
1147 return didwrite;
1504 size_t didread, didwrite, towrite; local
1539 didwrite = php_stream_write(dest, p, mapped);
1543 *len = didwrite;
1548 if (mapped > 0 && mapped == didwrite) {
1573 didwrite = php_stream_write(dest, writeptr, towrite);
1574 if (didwrite == 0) {
1579 towrite -= didwrite;
[all...]

Completed in 8 milliseconds