/dovecot/src/lib/ |
H A D | ostream-null.c | 9 const struct const_iovec *iov, unsigned int iov_count) 14 for (i = 0; i < iov_count; i++) 8 o_stream_null_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-unix.c | 24 unsigned int iov_count) 32 return o_stream_file_writev(fstream, iov, iov_count); 36 if (iov_count == 0) 50 if (sent < iov[0].iov_len || iov_count == 1) { 56 ret = o_stream_file_writev(fstream, &iov[1], iov_count-1); 22 o_stream_unix_writev(struct file_ostream *fstream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-file-private.h | 11 unsigned int iov_count); 39 unsigned int iov_count);
|
H A D | ostream-hash.c | 16 const struct const_iovec *iov, unsigned int iov_count) 23 if ((ret = o_stream_sendv(stream->parent, iov, iov_count)) < 0) { 29 for (i = 0; i < iov_count && bytes_left > 0; i++) { 15 o_stream_hash_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-failure-at.c | 26 const struct const_iovec *iov, unsigned int iov_count) 40 for (i = 0; i < iov_count; i++) 58 iov_dup = i_new(struct const_iovec, iov_count); 59 iov_dup_count = iov_count; 60 for (i = 0; i < iov_count; i++) { 25 o_stream_failure_at_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-rawlog.c | 25 const struct const_iovec *iov, unsigned int iov_count) 31 if ((ret = o_stream_sendv(stream->parent, iov, iov_count)) < 0) { 36 for (i = 0; i < iov_count && bytes > 0; i++) { 24 o_stream_rawlog_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-file.c | 151 unsigned int iov_count) 157 if (iov_count == 1) { 174 while (iov_count > IOV_MAX) { 189 iov_count -= IOV_MAX; 192 if (iov_count <= IOV_MAX) { 194 for (i = 0; i < iov_count; i++) 198 iov_count); 214 unsigned int iov_count) 221 for (i = 0, total_size = 0; i < iov_count; i++) 225 ret = fstream->writev(fstream, iov, iov_count); 149 o_stream_file_writev(struct file_ostream *fstream, const struct const_iovec *iov, unsigned int iov_count) argument 212 o_stream_file_writev_full(struct file_ostream *fstream, const struct const_iovec *iov, unsigned int iov_count) argument 548 o_stream_file_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument [all...] |
H A D | ostream-buffer.c | 34 const struct const_iovec *iov, unsigned int iov_count) 43 for (i = 0; i < iov_count; i++) { 33 o_stream_buffer_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-escaped.c | 72 const struct const_iovec *iov, unsigned int iov_count) 78 for (iov_cur = 0; iov_cur < iov_count; iov_cur++) { 71 o_stream_escaped_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-private.h | 22 unsigned int iov_count);
|
H A D | iostream-temp.c | 112 const struct const_iovec *iov, unsigned int iov_count) 117 for (i = 0; i < iov_count; i++) { 124 for (; i < iov_count; i++) { 141 const struct const_iovec *iov, unsigned int iov_count) 156 return o_stream_temp_fd_sendv(tstream, iov, iov_count); 158 for (i = 0; i < iov_count; i++) { 163 iov_count-i); 111 o_stream_temp_fd_sendv(struct temp_ostream *tstream, const struct const_iovec *iov, unsigned int iov_count) argument 140 o_stream_temp_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream.h | 160 unsigned int iov_count); 169 unsigned int iov_count);
|
H A D | ostream.c | 262 unsigned int iov_count, bool *overflow_r) 271 for (i = 0, total_size = 0; i < iov_count; i++) 277 ret = _stream->sendv(_stream, iov, iov_count); 294 unsigned int iov_count) 302 return o_stream_sendv_int(stream, iov, iov_count, &overflow); 322 unsigned int iov_count) 329 (void)o_stream_sendv_int(stream, iov, iov_count, &overflow); 649 const struct const_iovec *iov, unsigned int iov_count) 653 if ((ret = o_stream_sendv(stream->parent, iov, iov_count)) < 0) { 261 o_stream_sendv_int(struct ostream *stream, const struct const_iovec *iov, unsigned int iov_count, bool *overflow_r) argument 293 o_stream_sendv(struct ostream *stream, const struct const_iovec *iov, unsigned int iov_count) argument 321 o_stream_nsendv(struct ostream *stream, const struct const_iovec *iov, unsigned int iov_count) argument 648 o_stream_default_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-multiplex.c | 103 const struct const_iovec *iov, unsigned int iov_count) 111 for(unsigned int i=0; i < iov_count; i++) { 102 o_stream_multiplex_ochannel_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
/dovecot/src/lib-fs/ |
H A D | ostream-cmp.c | 48 const struct const_iovec *iov, unsigned int iov_count) 55 for (i = 0; i < iov_count; i++) { 64 if ((ret = o_stream_sendv(stream->parent, iov, iov_count)) < 0) { 47 o_stream_cmp_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-metawrap.c | 28 const struct const_iovec *iov, unsigned int iov_count) 34 if ((ret = o_stream_sendv(stream->parent, iov, iov_count)) < 0) 27 o_stream_metawrap_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
/dovecot/src/lib-ssl-iostream/ |
H A D | ostream-openssl.c | 34 unsigned int iov_count, size_t bytes_sent) 43 for (i = 0; i < iov_count; i++) { 57 if (i < iov_count && skip_left > 0) { 65 i = iov_count; 70 for (; i < iov_count; i++) { 152 const struct const_iovec *iov, unsigned int iov_count) 157 bytes_sent = o_stream_ssl_buffer(sstream, iov, iov_count, bytes_sent); 33 o_stream_ssl_buffer(struct ssl_ostream *sstream, const struct const_iovec *iov, unsigned int iov_count, size_t bytes_sent) argument 151 o_stream_ssl_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
/dovecot/src/lib-test/ |
H A D | test-ostream.c | 43 const struct const_iovec *iov, unsigned int iov_count) 57 for (i = 0; i < iov_count; i++) { 72 if (i == iov_count || tstream->internal_buf == NULL) 83 if (++i < iov_count) 85 } while (i < iov_count); 42 o_stream_test_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
/dovecot/src/lib-mail/ |
H A D | ostream-dot.c | 76 const struct const_iovec *iov, unsigned int iov_count) 95 t_array_init(&iov_arr, iov_count + 32); 100 for (i = 0; i < iov_count && max_bytes > 0; i++) { 75 o_stream_dot_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
/dovecot/src/lib-http/ |
H A D | http-server-response.c | 15 unsigned int iov_count, iov_idx; member in struct:http_server_response_payload 277 unsigned int iov_count, i; local 285 iov_count = rpay->iov_count - rpay->iov_idx; 287 if ((ret=o_stream_sendv(output, iov, iov_count)) < 0) { 293 for (i = 0; i < iov_count && bytes_left > 0; i++) { 299 if (i < iov_count) { 305 i_assert(rpay->iov_idx == rpay->iov_count); 316 const struct const_iovec *iov, unsigned int iov_count) 348 rpay.iov = i_new(struct const_iovec, iov_count); 314 http_server_response_output_payload( struct http_server_response **_resp, const struct const_iovec *iov, unsigned int iov_count) argument 717 http_server_ostream_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument [all...] |
H A D | http-transfer-chunked.c | 576 const struct const_iovec *iov, unsigned int iov_count) 597 for (i = 0; i < iov_count; i++) { 612 for (i = 0; i < iov_count && bytes > 0; i++) { 621 iov_count = iov_count_new + 2; 622 iov_new = t_new(struct const_iovec, iov_count); 626 iov_new[iov_count-2].iov_len = bytes; 627 iov_new[iov_count-1].iov_base = "\r\n"; 628 iov_new[iov_count-1].iov_len = 2; 631 if ((ret=o_stream_sendv(stream->parent, iov_new, iov_count)) <= 0) { 639 iov_new[0].iov_len + iov_new[iov_count 575 http_transfer_chunked_ostream_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument [all...] |
/dovecot/src/plugins/mail-filter/ |
H A D | ostream-ext-filter.c | 39 unsigned int iov_count) 52 ret = o_stream_sendv(mstream->ext_out, iov, iov_count); 37 o_stream_mail_filter_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
/dovecot/src/lib-compression/ |
H A D | ostream-bzlib.c | 157 const struct const_iovec *iov, unsigned int iov_count) 169 for (i = 0; i < iov_count; i++) { 156 o_stream_bzlib_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-zlib.c | 242 const struct const_iovec *iov, unsigned int iov_count) 254 for (i = 0; i < iov_count; i++) { 265 if (!zstream->ostream.corked && i == iov_count) { 241 o_stream_zlib_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|
H A D | ostream-lz4.c | 151 const struct const_iovec *iov, unsigned int iov_count) 163 for (i = 0; i < iov_count; i++) { 150 o_stream_lz4_sendv(struct ostream_private *stream, const struct const_iovec *iov, unsigned int iov_count) argument
|