/dovecot/src/lib-program-client/ |
H A D | test-program-client-local.c | 49 struct ostream *os = test_ostream_create(output); local 50 program_client_set_output(pc, os); 57 o_stream_unref(&os); 78 struct ostream *os = test_ostream_create(output); local 79 program_client_set_output(pc, os); 87 o_stream_unref(&os); 121 struct ostream *os = test_ostream_create(output); local 122 program_client_set_output(pc, os); 134 o_stream_unref(&os); 155 struct ostream *os local 208 struct ostream *os = test_ostream_create(output); local [all...] |
H A D | test-program-client-net.c | 165 struct ostream *os; local 180 os = o_stream_create_dot(client->out, FALSE); 181 o_stream_send_istream(os, client->body); 182 test_assert(o_stream_finish(os) > 0); 183 o_stream_unref(&os); 307 struct ostream *os = test_ostream_create(output); local 308 program_client_set_output(pc, os); 320 o_stream_unref(&os); 346 struct ostream *os = test_ostream_create(output); local 347 program_client_set_output(pc, os); 383 struct ostream *os = test_ostream_create(output); local [all...] |
H A D | test-program-client-unix.c | 263 struct ostream *os = test_ostream_create(output); local 264 program_client_set_output(pc, os); 275 o_stream_unref(&os); 298 struct ostream *os = test_ostream_create(output); local 299 program_client_set_output(pc, os); 311 o_stream_unref(&os); 331 struct ostream *os = test_ostream_create(output); local 332 program_client_set_output(pc, os); 342 o_stream_unref(&os);
|
/dovecot/src/lib/ |
H A D | test-ostream-multiplex.c | 25 struct ostream *os = test_ostream_create(result); local 26 struct ostream *os2 = o_stream_create_multiplex(os, (size_t)-1); 34 o_stream_unref(&os); 112 struct ostream *os = o_stream_create_fd(fds[1], (size_t)-1); local 115 chan0 = o_stream_create_multiplex(os, (size_t)-1); 121 io_add(fds[1], IO_WRITE, test_ostream_multiplex_stream_write, os); 134 o_stream_unref(&os);
|
H A D | test-multiplex.c | 78 struct istream *is, struct ostream *os) 82 channel->out = os; 128 struct ostream *os = o_stream_create_fd(fds[1], (size_t)-1); local 135 struct ostream *ochan0 = o_stream_create_multiplex(os, 1024); 137 o_stream_unref(&os); 139 struct io *io = io_add(fds[1], IO_WRITE, test_multiplex_stream_write, os); 77 setup_channel(struct test_channel *channel, struct istream *is, struct ostream *os) argument
|
H A D | test-istream-multiplex.c | 258 static void test_send_msg(struct ostream *os, uint8_t cid, const char *msg) argument 267 o_stream_nsendv(os, iov, N_ELEMENTS(iov)); 289 struct ostream *os = o_stream_create_fd(fds[1], (size_t)-1); local 300 io_add(fds[1], IO_WRITE, test_istream_multiplex_stream_write, os); 312 test_assert(o_stream_finish(os) > 0); 313 o_stream_unref(&os);
|
/dovecot/src/lib-dcrypt/ |
H A D | test-stream.c | 160 struct ostream *os = o_stream_create_fd_file(fd, 0, TRUE); 161 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v2_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD); 190 struct ostream *os = o_stream_create_buffer(buf); local 191 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v2_kp.pub, IO_STREAM_ENC_VERSION_1); 201 o_stream_unref(&os); 241 struct ostream *os = o_stream_create_buffer(buf); local 242 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v2_kp.pub, IO_STREAM_ENC_VERSION_1); 252 o_stream_unref(&os); 289 struct ostream *os = o_stream_create_buffer(buf); local 290 struct ostream *os_2 = o_stream_create_encrypt(os, "<unuse 334 struct ostream *os = o_stream_create_buffer(buf); local 387 struct ostream *os = o_stream_create_buffer(buf); local 432 struct ostream *os = o_stream_create_buffer(buf); local [all...] |
H A D | ostream-encrypt.c | 667 struct ostream *os = o_stream_create(&estream->ostream, output, local 671 os->stream_errno = EINVAL; 674 return os; 691 struct ostream *os = o_stream_create(&estream->ostream, output, local 695 os->stream_errno = EINVAL; 698 return os;
|
/dovecot/src/doveadm/ |
H A D | client-connection-tcp.c | 538 struct ostream *os = conn->output; local 539 conn->output = o_stream_create_multiplex(os, (size_t)-1); 540 o_stream_set_name(conn->output, o_stream_get_name(os)); 542 o_stream_unref(&os);
|