Searched defs:input (Results 1 - 25 of 402) sorted by relevance

1234567891011>>

/dovecot/src/lib-mail/
H A Dtest-rfc2231-parser.c10 const char *input = local
35 rfc822_parser_init(&parser, (const void *)input, strlen(input), NULL);
H A Dtest-message-id.c9 const char *input[] = { local
25 for (i = 0, j = 0; i < N_ELEMENTS(input); i++) {
26 msgid = input[i];
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);
H A Distream-nonuls.c63 struct istream *i_stream_create_nonuls(struct istream *input, char replace_chr) argument
68 nstream->istream.max_buffer_size = input->real_stream->max_buffer_size;
74 nstream->istream.istream.blocking = input->blocking;
77 return i_stream_create(&nstream->istream, input,
78 i_stream_get_fd(input), 0);
H A Dtest-mail-html2text.c10 const char *input; member in struct:__anon115
60 for (j = 0; tests[i].input[j] != '\0'; j++) {
61 unsigned char c = tests[i].input[j];
H A Dtest-message-date.c8 const char *input; member in struct:test_message_date
48 ret = message_date_parse((const unsigned char *)test->input,
49 strlen(test->input), &t, &tz);
H A Dtest-message-decoder.c23 struct message_block input, output; local
28 i_zero(&input);
30 input.part = &part;
39 input.hdr = &hdr;
40 test_assert(message_decoder_decode_next_block(ctx, &input, &output));
43 input.hdr = NULL;
44 test_assert(message_decoder_decode_next_block(ctx, &input, &output));
46 input.hdr = NULL;
47 test_assert(message_decoder_decode_next_block(ctx, &input, &output));
49 input
90 struct message_block input, output; local
[all...]
H A Dtest-message-header-hash.c15 const char *input; member in struct:__anon116
58 size_t input_len = tests[i].input == test_input_with_nuls ?
59 sizeof(test_input_with_nuls)-1 : strlen(tests[i].input);
64 (const unsigned char *)tests[i].input,
78 unsigned char chr = tests[i].input[j];
91 (const unsigned char *)tests[i].input + j;
H A Dtest-message-part.c69 struct istream *input; local
78 input = i_stream_create_from_data(test_msg, TEST_MSG_LEN);
80 parser = message_parser_init(pool, input, 0, 0);
103 i_stream_unref(&input);
H A Dtest-message-search.c12 const char input[] = "p\xC3\xB6\xC3\xB6"; local
44 for (i = 0; input[i] != '\0'; i++) {
45 raw_block.data = (const void *)&input[i];
47 test_assert(message_search_more_decoded(ctx2, &decoded_block) == (input[i+1] == '\0'));
H A Dtest-ostream-dot.c12 const char *input; member in struct:dot_test
25 test_input = test_istream_create(test->input);
43 test_assert(output->offset == strlen(test->input));
H A Dtest-qp-decoder.c9 const char *input; member in struct:test_quoted_printable_decode_data
52 const char *input = tests[i].input; local
59 ret = qp_decoder_more(qp, (const void *)input, strlen(input),
62 error_pos = strlen(input);
72 for (j = 0; input[j] != '\0'; j++) {
73 unsigned char c = input[j];
H A Dtest-qp-encoder.c9 const void *input; member in struct:test_quoted_printable_encode_data
34 const unsigned char *input = tests[i].input; local
38 qp_encoder_more(qp, input, tests[i].input_len);
46 unsigned char c = input[j];
75 const unsigned char *input = tests[i].input; local
79 qp_encoder_more(qp, input, tests[i].input_len);
87 unsigned char c = input[j];
119 const unsigned char *input local
[all...]
H A Dtest-rfc822-parser.c11 const char *input, *output; member in struct:__anon118
29 rfc822_parser_init(&parser, (const void *)tests[i].input,
30 strlen(tests[i].input), NULL);
41 const char *input = local
56 rfc822_parser_init(&parser, (const void *)input, strlen(input), NULL);
/dovecot/src/auth/
H A Dtest-username-filter.c10 const char *input; member in struct:__anon18
44 test_assert_idx(auth_request_username_accepted(filter, cases[i].input) == cases[i].accepted, i);
/dovecot/src/lib-imap-storage/
H A Dimap-msgpart.h8 struct istream *input; member in struct:imap_msgpart_open_result
9 /* size of input */
/dovecot/src/plugins/pop3-migration/
H A Dtest-pop3-migration-plugin.c13 const char *input; member in struct:__anon157
37 struct istream *input; local
45 input = i_stream_create_from_data(tests[i].input,
46 strlen(tests[i].input));
47 test_assert_idx(pop3_migration_get_hdr_sha1(1, input, digest, &have_eoh) == 0, i);
50 i_stream_unref(&input);
/dovecot/src/lib/
H A Diostream-rawlog-private.h15 bool input; member in struct:rawlog_iostream
20 enum iostream_rawlog_flags flags, bool input);
H A Dtest-hash-format.c8 const char *input; member in struct:hash_format_test
46 test_assert(hash_format_init(tests[i].input, &format, &error) == 0);
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...]
/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/lib-fs/
H A Distream-fs-stats.c34 i_stream_create_fs_stats(struct istream *input, struct fs_file *file) argument
40 sstream->istream.max_buffer_size = input->real_stream->max_buffer_size;
43 sstream->istream.istream.blocking = input->blocking;
44 sstream->istream.istream.seekable = input->seekable;
45 return i_stream_create(&sstream->istream, input,
46 i_stream_get_fd(input), 0);
/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-master/
H A Dmaster-service-ssl.c15 struct istream **input, struct ostream **output,
35 input, output, ssl_iostream_r, error_r);
14 master_service_ssl_init(struct master_service *service, struct istream **input, struct ostream **output, struct ssl_iostream **ssl_iostream_r, const char **error_r) argument
/dovecot/src/lib-oauth2/
H A Doauth2.c94 const struct oauth2_request_input *input)
98 if (input->service != NULL) {
100 input->service);
102 if (input->local_ip.family != 0) {
104 if (net_ipport2str(&input->local_ip, input->local_port, &addr) == 0)
107 if (input->remote_ip.family != 0) {
109 if (net_ipport2str(&input->remote_ip, input->remote_port, &addr) == 0)
93 oauth2_request_set_headers(struct oauth2_request *req, const struct oauth2_request_input *input) argument

Completed in 15 milliseconds

1234567891011>>