Searched refs:input (Results 1 - 25 of 536) sorted by relevance

1234567891011>>

/dovecot/src/lib/
H A Distream-crlf.h5 struct istream *i_stream_create_crlf(struct istream *input);
7 struct istream *i_stream_create_lf(struct istream *input);
H A Dtest-istream-failure-at.c12 struct istream *input, *data_input; local
23 input = i_stream_create_failure_at(data_input, i, EIO, TEST_ERRMSG);
24 while ((ret = i_stream_read(input)) > 0)
25 i_stream_skip(input, ret);
26 test_assert_idx(ret == -1 && input->v_offset == i &&
27 input->stream_errno == EIO &&
28 strcmp(i_stream_get_error(input), TEST_ERRMSG) == 0, i);
29 i_stream_destroy(&input);
33 input = i_stream_create_failure_at(data_input, TEST_DATA_LENGTH, EIO, TEST_ERRMSG);
34 while ((ret = i_stream_read(input)) >
[all...]
H A Distream-unix.h6 void i_stream_unix_set_read_fd(struct istream *input);
8 void i_stream_unix_unset_read_fd(struct istream *input);
13 int i_stream_unix_get_read_fd(struct istream *input);
H A Distream-base64.h5 i_stream_create_base64_encoder(struct istream *input,
8 i_stream_create_base64_decoder(struct istream *input);
H A Distream-tee.h4 /* Tee can be used to create multiple child input streams which can access
5 a single non-blocking input stream in a way that data isn't removed from
6 memory until all child streams have consumed the input.
10 struct tee_istream *tee_i_stream_create(struct istream *input);
13 bool tee_i_stream_child_is_waiting(struct istream *input);
H A Dtest-istream-chain.c9 struct istream *input, *test_input, *test_input2; local
19 input = i_stream_create_chain(&chain);
20 /* no input */
21 test_assert(i_stream_read(input) == 0);
22 /* stream1 input */
24 test_assert(i_stream_read(input) == 7);
25 data = i_stream_get_data(input, &size);
27 test_assert(i_stream_read(input) == 0);
28 data = i_stream_get_data(input, &size);
30 /* STREAM2 input */
57 struct istream *input, *test_input; local
85 struct istream *input; local
[all...]
H A Diostream.h5 const char *io_stream_get_disconnect_reason(struct istream *input,
H A Distream-concat.h4 /* Concatenate input streams into a single stream. */
5 struct istream *i_stream_create_concat(struct istream *input[]);
H A Distream-jsonstr.h4 /* Parse input until '"' is reached. Unescape JSON \x codes. */
5 struct istream *i_stream_create_jsonstr(struct istream *input);
H A Distream-timeout.h7 i_stream_create_timeout(struct istream *input, unsigned int timeout_msecs);
H A Distream-try.h4 /* Read from the first input stream that doesn't fail with EINVAL. If any of
12 struct istream *istream_try_create(struct istream *const input[]);
/dovecot/src/lib-compression/
H A Distream-zlib.h4 struct istream *i_stream_create_gz(struct istream *input, bool log_errors);
5 struct istream *i_stream_create_deflate(struct istream *input, bool log_errors);
6 struct istream *i_stream_create_bz2(struct istream *input, bool log_errors);
7 struct istream *i_stream_create_lzma(struct istream *input, bool log_errors);
8 struct istream *i_stream_create_lz4(struct istream *input, bool log_errors);
/dovecot/src/lib-mail/
H A Distream-qp.h8 struct istream *i_stream_create_qp_decoder(struct istream *input);
9 struct istream *i_stream_create_qp_encoder(struct istream *input,
H A Distream-binary-converter.h4 struct istream *i_stream_create_binary_converter(struct istream *input);
H A Distream-dot.h4 /* Create input stream for reading SMTP DATA style message: Drop initial "."
7 struct istream *i_stream_create_dot(struct istream *input, bool send_last_lf);
H A Distream-nonuls.h5 struct istream *i_stream_create_nonuls(struct istream *input, char replace_chr);
H A Dmessage-header-encode.h4 /* Encode UTF-8 input into output wherever necessary using either Q or B
8 void message_header_encode(const char *input, string_t *output);
9 void message_header_encode_data(const unsigned char *input, unsigned int len,
12 /* Encode the whole UTF-8 input using "Q" or "B" encoding into output.
16 void message_header_encode_q(const unsigned char *input, unsigned int len,
18 void message_header_encode_b(const unsigned char *input, unsigned int len,
H A Dmessage-snippet.h4 /* Generate UTF-8 text snippet from the beginning of the given mail input
10 int message_snippet_generate(struct istream *input,
H A Dtest-message-snippet.c10 const char *input; member in struct:__anon117
73 struct istream *input; local
79 input = i_stream_create_from_data(tests[i].input, strlen(tests[i].input));
80 test_assert_idx(message_snippet_generate(input, tests[i].max_snippet_chars, str) == 0, i);
82 i_stream_destroy(&input);
/dovecot/src/lib-smtp/
H A Dtest-smtp-address.c13 const char *input, *output; member in struct:valid_mailbox_parse_test
22 .input = "",
26 .input = "user",
30 .input = "user@domain.tld",
33 .input = "1234567890@domain.tld",
38 .input = "_______@domain.tld",
43 .input = "firstname.lastname@domain.tld",
48 .input = "firstname+lastname@domain.tld",
53 .input = "firstname-lastname@domain.tld",
58 .input
158 const char *input, *output; member in struct:valid_path_parse_test
244 const char *input, *output; member in struct:valid_username_parse_test
378 const char *input; member in struct:invalid_mailbox_parse_test
490 const char *input; member in struct:invalid_path_parse_test
700 const char *input; member in struct:invalid_username_parse_test
[all...]
/dovecot/src/plugins/mail-filter/
H A Distream-ext-filter.h5 i_stream_create_ext_filter(struct istream *input, const char *socket_path,
/dovecot/src/lib-dcrypt/
H A Distream-decrypt.h20 i_stream_create_decrypt(struct istream *input, struct dcrypt_private_key *priv_key);
26 i_stream_create_sym_decrypt(struct istream *input, struct dcrypt_context_symmetric *ctx);
32 i_stream_create_decrypt_callback(struct istream *input,
36 enum decrypt_istream_format i_stream_encrypt_get_format(const struct istream *input);
37 enum io_stream_encrypt_flags i_stream_encrypt_get_flags(const struct istream *input);
/dovecot/src/lib-imap/
H A Dtest-imap-parser.c11 struct istream *input; local
18 input = test_istream_create(test_input);
19 parser = imap_parser_create(input, NULL, 1024);
23 test_istream_set_size(input, i+1);
24 (void)i_stream_read(input);
27 test_istream_set_size(input, i+1);
28 (void)i_stream_read(input);
35 i_stream_seek(input, ++i);
36 test_istream_set_size(input, ++i);
37 (void)i_stream_read(input);
[all...]
/dovecot/src/lib-dict/
H A Dtest-dict.c15 static const char *input[] = { local
30 for (i = 0; i < N_ELEMENTS(input); i += 2) {
31 test_assert(strcmp(dict_escape_string(input[i]), input[i+1]) == 0);
32 test_assert(strcmp(dict_unescape_string(input[i+1]), input[i]) == 0);
/dovecot/src/doveadm/
H A Ddoveadm-dump-dbox.c14 dump_timestamp(struct istream *input, const char *name, const char *value) argument
24 name, input->v_offset, value);
31 dump_size(struct istream *input, const char *name, const char *value) argument
41 name, input->v_offset, value);
48 static unsigned int dump_file_hdr(struct istream *input) argument
53 if ((line = i_stream_read_next_line(input)) == NULL)
60 i_fatal("%s is not a dbox file", i_stream_get_name(input));
77 dump_timestamp(input, "file.create_stamp", *arg + 1);
90 dump_msg_hdr(struct istream *input, unsigned int hdr_size, uoff_t *msg_size_r) argument
97 if (i_stream_read_bytes(input,
120 dump_msg_metadata(struct istream *input) argument
181 dump_msg(struct istream *input, unsigned int hdr_size) argument
194 struct istream *input; local
[all...]

Completed in 14 milliseconds

1234567891011>>