Searched defs:out (Results 1 - 25 of 28) sorted by relevance

12

/dovecot/src/lib-smtp/
H A Dsmtp-syntax.h12 void smtp_string_write(string_t *out, const char *value);
21 void smtp_xtext_encode(string_t *out,
24 smtp_xtext_encode_cstr(string_t *out, const char *data) argument
26 smtp_xtext_encode(out,
H A Dsmtp-reply.c45 smtp_reply_write(string_t *out, const struct smtp_reply *reply) argument
57 str_append(out, prefix);
59 str_append_c(out, ' ');
60 str_append(out, enh_code);
62 str_append(out, " \r\n");
68 str_append(out, prefix);
70 str_append_c(out, ' ');
72 str_append_c(out, '-');
74 str_append(out, enh_code);
75 str_append_c(out, ' ');
83 smtp_reply_write_one_line(string_t *out, const struct smtp_reply *reply) argument
[all...]
H A Dsmtp-syntax.c41 void smtp_string_write(string_t *out, const char *value) argument
45 size_t begin = str_len(out);
58 str_insert(out, begin, "\"");
61 str_append_n(out, pblock, p-pblock);
69 str_append_c(out, '\\');
70 str_append_c(out, *p);
76 str_append_c(out, '\"');
120 void smtp_xtext_encode(string_t *out, const unsigned char *data, argument
132 str_append_n(out, pbegin, p-pbegin);
136 str_printfa(out, "
[all...]
H A Dsmtp-parser.c135 string_t *out)
158 if (out != NULL)
159 str_append_n(out, pbegin, parser->cur - pbegin);
544 string_t *out)
565 if (out != NULL)
566 str_append_n(out, pbegin, parser->cur - pbegin);
577 if (out != NULL)
578 str_append_c(out, hexchar);
134 smtp_parser_parse_ldh_str(struct smtp_parser *parser, string_t *out) argument
543 smtp_parser_parse_xtext(struct smtp_parser *parser, string_t *out) argument
H A Dsmtp-address.c500 void smtp_address_write(string_t *out,
509 begin = str_len(out);
523 str_insert(out, begin, "\"");
526 str_append_n(out, pblock, p - pblock);
531 str_append_c(out, '.');
535 str_append_c(out, '\\');
536 str_append_c(out, *p);
545 str_insert(out, begin, "\"");
549 str_append_c(out, '\"');
554 str_append_c(out, '
558 smtp_address_write_path(string_t *out, const struct smtp_address *address) argument
[all...]
H A Dsmtp-params.c101 void smtp_param_write(string_t *out, const struct smtp_param *param) argument
104 str_append(out, t_str_ucase(param->keyword));
105 str_append_c(out, '=');
106 str_append(out, param->value);
/dovecot/src/auth/
H A Dtest-auth-cache.c35 const char *in, *out; member in struct:__anon15
62 test_assert(strcmp(cache_key, tests[i].out) == 0);
H A Dmech-oauth2.c19 string_t *out; local
20 out = t_str_new(64);
26 str_append_c(out, ',');
28 str_append_c(out, '=');
33 str_append_c(out, *in);
36 *username_r = str_c(out);
H A Dmech-scram-sha1.c97 string_t *out; local
99 out = t_str_new(64);
105 str_append_c(out, ',');
107 str_append_c(out, '=');
112 str_append_c(out, *in);
115 return str_c(out);
/dovecot/src/lib/
H A Dtest-utc-mktime.c8 time_t out; member in struct:test_utc_mktime
56 success = t == test->out;
59 (long)t, (long)test->out));
H A Dbyteorder.h54 static inline void cpu64_to_be_unaligned(uint64_t in, void *out);
55 static inline void cpu32_to_be_unaligned(uint32_t in, void *out);
56 static inline void cpu16_to_be_unaligned(uint16_t in, void *out);
57 static inline void cpu8_to_be_unaligned(uint8_t in, void *out);
60 static inline void cpu64_to_le_unaligned(uint64_t in, void *out);
61 static inline void cpu32_to_le_unaligned(uint32_t in, void *out);
62 static inline void cpu16_to_le_unaligned(uint16_t in, void *out);
63 static inline void cpu8_to_le_unaligned(uint8_t in, void *out);
140 static inline void cpu64_to_be_unaligned(uint64_t in, void *out) argument
142 uint8_t *p = (uint8_t *) out;
164 cpu32_to_be_unaligned(uint32_t in, void *out) argument
182 cpu16_to_be_unaligned(uint16_t in, void *out) argument
195 cpu8_to_be_unaligned(uint8_t in, void *out) argument
[all...]
H A Dtest-iostream-pump.c37 struct ostream *out; member in struct:nonblock_ctx
61 test_ostream_set_max_output_size(ctx->out, size-1);
69 const char *run_pump(struct istream *in, struct ostream *out, int *counter, buffer_t *out_buffer) argument
74 struct nonblock_ctx ctx = { in, out, 0, 0 };
81 test_ostream_set_max_output_size(out, 0);
85 pump = iostream_pump_create(in, out);
87 o_stream_unref(&out);
104 ctx.out->stream_errno == 0) {
106 test_ostream_set_max_output_size(ctx.out, (size_t)-1);
107 test_assert(o_stream_flush(ctx.out) >
142 struct ostream *out; local
160 struct ostream *out; local
179 struct ostream *out; local
198 struct ostream *out; local
221 struct ostream *out = o_stream_create_failure_at(out_2, 0, "test pump fail"); local
240 struct ostream *out = o_stream_create_failure_at(out_2, 4, "test pump fail"); local
265 struct ostream *out = o_stream_create_failure_at_flush(out_2, "test pump fail"); local
[all...]
H A Dtest-multiplex.c20 struct ostream *out; member in struct:test_channel
40 o_stream_nsend(channel->out, buf, len);
82 channel->out = os;
109 test_assert(o_stream_finish(channel->out) > 0);
110 o_stream_unref(&channel->out);
H A Dtest-var-expand.c12 const char *out; member in struct:var_expand_test
44 test_assert(strcmp(tests[i].out, str_c(str)) == 0);
72 tests[0].out = my_hostname;
73 tests[1].out = my_pid;
80 test_assert_idx(strcmp(tests[i].out, str_c(str)) == 0, i);
188 test_assert_idx(strcmp(tests[i].out, str_c(str)) == 0, i);
279 const char *out; member in struct:__anon75
304 test_assert_idx(strcmp(str_c(str), tests[i].out) == 0, i);
419 test_assert_idx(strcmp(tests[i].out, str_c(dest)) == 0, i);
/dovecot/src/lib-http/
H A Dtest-http-auth.c91 ARRAY_TYPE(http_auth_challenge) out;
100 i_zero(&out);
103 &out) > 0);
112 array_foreach(&out, chalo) {
210 struct http_auth_credentials out; local
221 &out) > 0);
227 i_assert(out.scheme != NULL);
229 str_sanitize(out.scheme, 80)),
230 strcmp(out.scheme, test->scheme) == 0);
231 if (out
[all...]
H A Dtest-http-transfer.c17 const char *out; member in struct:http_transfer_chunked_input_test
28 .out =
39 .out =
56 .out =
74 .out =
94 const char *in, *out, *stream_out; local
97 out = valid_transfer_chunked_input_tests[i].out;
115 strcmp(stream_out, out) == 0);
H A Dhttp-auth.c242 http_auth_create_param(string_t *out, const struct http_auth_param *param) argument
248 str_append(out, param->name);
249 str_append_c(out, '=');
254 str_append_c(out, '"');
258 str_append_n(out, first, p-first);
259 str_append_c(out, '\\');
264 str_append_n(out, first, p-first);
265 str_append_c(out, '"');
267 str_append(out, param->value);
272 http_auth_create_params(string_t *out, argument
301 http_auth_create_challenge(string_t *out, const struct http_auth_challenge *chlng) argument
324 http_auth_create_challenges(string_t *out, const ARRAY_TYPE(http_auth_challenge) *chlngs) argument
341 http_auth_create_credentials(string_t *out, const struct http_auth_credentials *crdts) argument
[all...]
H A Dhttp-url.c560 void http_url_escape_path(string_t *out, const char *data) argument
562 uri_append_query_data(out, "&;?=+", data);
565 void http_url_escape_param(string_t *out, const char *data) argument
567 uri_append_query_data(out, "&;/?=+", data);
/dovecot/src/lib-test/
H A Dtest-ostream.c177 struct ostream *out; local
179 for (out = output; out != NULL; out = out->real_stream->parent) {
180 if (out->real_stream->sendv == o_stream_test_sendv)
181 return (struct test_ostream *)out->real_stream;
/dovecot/src/lib-ntlm/
H A Dntlm-des.c30 * again, but since we just swapped them, the MSW is the R that came out
184 * chunks. Examining the 6-bit chunks coming out of E we notice
219 * The comments in Eric Young's libdes implementation point out
577 uint32_t out[2], L, R; local
581 des_encipher(out, L, R, sched);
582 PUT_32BIT_MSB_FIRST(dest, out[0]);
583 PUT_32BIT_MSB_FIRST(dest + 4, out[1]);
/dovecot/src/lib-program-client/
H A Dtest-program-client-net.c53 struct ostream *out; member in struct:test_client
85 if (o_stream_finish(client->out) < 0)
86 i_error("output error: %s", o_stream_get_error(client->out));
89 o_stream_unref(&client->out);
176 o_stream_nsend_str(client->out, t_strdup_printf(
180 os = o_stream_create_dot(client->out, FALSE);
184 o_stream_nsend_str(client->out, "+\n");
186 o_stream_nsend_str(client->out, ".\n-\n");
189 o_stream_nsend_str(client->out, ".\n-\n");
245 client->out
[all...]
H A Dtest-program-client-unix.c50 struct ostream *out; member in struct:test_client
68 if (o_stream_finish(client->out) < 0)
69 i_error("output error: %s", o_stream_get_error(client->out));
72 o_stream_unref(&client->out);
148 o_stream_nsend_str(client->out, t_strdup_printf("%s %s\n+\n",
151 o_stream_send_istream(client->out, client->body);
152 o_stream_nsend_str(client->out, "+\n");
154 o_stream_nsend_str(client->out, "-\n");
209 client->out = o_stream_create_fd(fd, -1);
/dovecot/src/doveadm/
H A Ddoveadm.c53 doveadm_usage_compress_lines(FILE *out, const char *str, const char *prefix) argument
88 fprintf(out, "\n");
91 fprintf(out, USAGE_CMDNAME_FMT" %s\n", cmd, args);
96 fprintf(out, "\n");
97 fprintf(out, USAGE_CMDNAME_FMT" %s",
104 fprintf(out, "|%s", sub_name);
111 fprintf(out, "\n");
115 usage_to(FILE *out, const char *prefix) argument
121 fprintf(out, "usage: doveadm [-Dv] [-f <formatter>] ");
123 fprintf(out, "
143 help_to(const struct doveadm_cmd *cmd, FILE *out) argument
155 help_to_ver2(const struct doveadm_cmd_ver2 *cmd, FILE *out) argument
[all...]
/dovecot/src/lib-storage/index/pop3c/
H A Dpop3c-client.c240 i_error("pop3c(%s): connect(%s, %u) timed out after %u seconds",
245 i_error("pop3c(%s): Command timed out after %u seconds",
249 i_error("pop3c(%s): Authentication timed out after %u seconds",
369 string_t *in, *out; local
383 out = t_str_new(128);
384 base64_encode(str_data(in), str_len(in), out); local
385 str_append(out, "\r\n");
386 return str_c(out);
/dovecot/src/plugins/mail-crypt/
H A Ddoveadm-mail-crypt.c180 /* figure out who needs the key */
659 string_t *out = t_str_new(64); local
660 if (!dcrypt_key_store_private(pkey, DCRYPT_FORMAT_PEM, NULL, out,
667 doveadm_print(t_strdup_printf("\n%s", str_c(out)));

Completed in 2819 milliseconds

12