Searched refs:write_end (Results 1 – 3 of 3) sorted by relevance
/third_party/libsoup/examples/ |
D | simple-proxy.c | 74 TunnelEnd *write_end, *read_end; in tunnel_wrote_cb() local 92 write_end = &tunnel->client; in tunnel_wrote_cb() 95 write_end = &tunnel->server; in tunnel_wrote_cb() 99 write_end->nwrote += nwrote; in tunnel_wrote_cb() 100 if (write_end->nwrote < read_end->nread) { in tunnel_wrote_cb() 101 g_output_stream_write_async (write_end->ostream, in tunnel_wrote_cb() 102 read_end->buffer + write_end->nwrote, in tunnel_wrote_cb() 103 read_end->nread - write_end->nwrote, in tunnel_wrote_cb() 120 TunnelEnd *read_end, *write_end; in tunnel_read_cb() local 139 write_end = &tunnel->server; in tunnel_read_cb() [all …]
|
/third_party/python/Modules/_io/ |
D | bufferedio.c | 231 Py_off_t write_end; member 353 (self->writable && self->write_end != -1) 1769 self->write_end = -1; in _bufferedwriter_reset_buf() 1866 if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end) in _bufferedwriter_flush_unlocked() 1877 while (self->write_pos < self->write_end) { in _bufferedwriter_flush_unlocked() 1880 Py_SAFE_DOWNCAST(self->write_end - self->write_pos, in _bufferedwriter_flush_unlocked() 1956 if (self->pos > self->write_end) in _io_BufferedWriter_write_impl() 1957 self->write_end = self->pos; in _io_BufferedWriter_write_impl() 1973 Py_SAFE_DOWNCAST(self->write_end - self->write_pos, in _io_BufferedWriter_write_impl() 1975 self->write_end -= self->write_pos; in _io_BufferedWriter_write_impl() [all …]
|
/third_party/libsoup/tests/ |
D | server-test.c | 1180 TunnelEnd *write_end, *read_end; in tunnel_wrote_cb() local 1198 write_end = &tunnel->client; in tunnel_wrote_cb() 1201 write_end = &tunnel->server; in tunnel_wrote_cb() 1205 write_end->nwrote += nwrote; in tunnel_wrote_cb() 1206 if (write_end->nwrote < read_end->nread) { in tunnel_wrote_cb() 1207 g_output_stream_write_async (write_end->ostream, in tunnel_wrote_cb() 1208 read_end->buffer + write_end->nwrote, in tunnel_wrote_cb() 1209 read_end->nread - write_end->nwrote, in tunnel_wrote_cb() 1226 TunnelEnd *read_end, *write_end; in tunnel_read_cb() local 1245 write_end = &tunnel->server; in tunnel_read_cb() [all …]
|