Searched refs:out (Results 1 - 25 of 40) 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-reply.h58 void smtp_reply_write(string_t *out, const struct smtp_reply *reply);
62 void smtp_reply_write_one_line(string_t *out, const struct smtp_reply *reply);
/dovecot/src/lib/
H A Dmurmurhash3.h20 unsigned char out[STATIC_ARRAY MURMURHASH3_32_RESULTBYTES]);
22 unsigned char out[STATIC_ARRAY MURMURHASH3_128_RESULTBYTES]);
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 Duri-util.h222 be encoded. All other characters are copied verbatim to the out buffer.
224 void uri_data_encode(string_t *out,
229 /* append the provided scheme to the out buffer */
230 void uri_append_scheme(string_t *out, const char *scheme);
233 the out buffer. No '@' is produced. Characters are percent-encoded when
236 void uri_append_user_data(string_t *out,
238 /* append userinfo and '@' to the out buffer. Characters in userinfo are
240 void uri_append_userinfo(string_t *out, const char *userinfo);
242 /* append the host name to the out buffer. Characters are percent-encoded
244 void uri_append_host_name(string_t *out, cons
[all...]
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 Duri-util.c1187 void uri_data_encode(string_t *out, argument
1199 str_append_n(out, pbegin, p - pbegin);
1200 str_printfa(out, "%%%02x", *p);
1208 str_append_n(out, pbegin, p - pbegin);
1211 void uri_append_scheme(string_t *out, const char *scheme) argument
1213 str_append(out, scheme);
1214 str_append_c(out, ':');
1217 void uri_append_user_data(string_t *out, const char *esc, argument
1220 uri_data_encode(out, _uri_char_lookup, CHAR_MASK_UCHAR, esc, data);
1223 void uri_append_userinfo(string_t *out, cons argument
1229 uri_append_host_name(string_t *out, const char *name) argument
1235 uri_append_host_ip(string_t *out, const struct ip_addr *host_ip) argument
1252 uri_append_host(string_t *out, const struct uri_host *host) argument
1264 uri_append_port(string_t *out, in_port_t port) argument
1270 uri_append_path_segment_data(string_t *out, const char *esc, const char *data) argument
1276 uri_append_path_segment(string_t *out, const char *segment) argument
1283 uri_append_path_data(string_t *out, const char *esc, const char *data) argument
1289 uri_append_path(string_t *out, const char *path) argument
1296 uri_append_query_data(string_t *out, const char *esc, const char *data) argument
1302 uri_append_query(string_t *out, const char *query) argument
1309 uri_append_fragment_data(string_t *out, const char *esc, const char *data) argument
1315 uri_append_fragment(string_t *out, const char *fragment) argument
[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 Dmurmurhash3.c46 unsigned char out[STATIC_ARRAY MURMURHASH3_32_RESULTBYTES])
97 memcpy(out, &h1, sizeof(h1));
121 unsigned char out[STATIC_ARRAY MURMURHASH3_128_RESULTBYTES])
209 memcpy(out, &h1, sizeof(h1));
210 memcpy(out+sizeof(h1), &h2, sizeof(h2));
216 unsigned char out[STATIC_ARRAY MURMURHASH3_128_RESULTBYTES])
326 memcpy(out, &h1, sizeof(h1));
327 memcpy(out+sizeof(h1), &h2, sizeof(h2));
328 memcpy(out+sizeof(h1)*2, &h3, sizeof(h3));
329 memcpy(out
[all...]
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 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 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.h43 void http_auth_create_challenge(string_t *out,
45 void http_auth_create_challenges(string_t *out,
48 void http_auth_create_credentials(string_t *out,
H A Dhttp-url.h100 void http_url_escape_path(string_t *out, const char *data);
101 void http_url_escape_param(string_t *out, const char *data);
/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);
/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-program-client/
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);
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...]
/dovecot/doc/
H A Dmkcert.sh37 $OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2
/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;

Completed in 70 milliseconds

12