Searched defs:body (Results 1 - 13 of 13) sorted by relevance

/dovecot/src/lib-storage/index/imapc/
H A Dimapc-mail.h20 buffer_t *body; member in struct:imapc_mail
/dovecot/src/lib-mail/
H A Dmessage-size.c68 int message_get_body_size(struct istream *input, struct message_size *body, argument
75 memset(body, 0, sizeof(struct message_size));
100 body->lines++;
108 body->physical_size += i - 1;
115 body->physical_size++;
117 body->virtual_size = body->physical_size + missing_cr_count;
118 i_assert(body->virtual_size >= body->physical_size);
H A Dtest-istream-attachment.c365 static bool test_istream_attachment_extractor_one(const char *body, int err_type) argument
376 mail_text = i_strconcat(mail_broken_input_body_prefix, body, NULL);
401 unchanged = attachment_data->used <= strlen(body) &&
402 memcmp(attachment_data->data, body, attachment_data->used) == 0 &&
403 strlen(body) - attachment_data->used == size &&
404 memcmp(data, body + attachment_data->used, size) == 0;
/dovecot/src/lib-imap/
H A Dtest-imap-bodystructure.c13 const char *body; member in struct:parse_test
25 "body\n",
28 .body =
38 "body\n"
42 .body =
61 .body =
83 "body\n"
89 .body =
115 "body\n"
120 .body
[all...]
/dovecot/src/lib-smtp/
H A Dsmtp-params.h46 } body; member in struct:smtp_params_mail
/dovecot/src/lib/
H A Dmd4.c69 body(struct md4_context *ctx, const void *data, size_t size) function
200 body(ctx, ctx->buffer, 64);
204 data = body(ctx, data, size & ~(unsigned long)0x3f);
224 body(ctx, ctx->buffer, 64);
241 body(ctx, ctx->buffer, 64);
H A Dmd5.c70 body(struct md5_context *ctx, const void *data, size_t size) function
214 body(ctx, ctx->buffer, 64);
218 data = body(ctx, data, size & ~(unsigned long)0x3f);
239 body(ctx, ctx->buffer, 64);
256 body(ctx, ctx->buffer, 64);
/dovecot/src/lib-program-client/
H A Dtest-program-client-net.c55 struct istream *body; member in struct:test_client
92 i_stream_unref(&client->body);
136 "test_program_input body");
148 client->body = iostream_temp_finish(&client->os_body,
181 o_stream_send_istream(os, client->body);
H A Dtest-program-client-unix.c52 struct istream *body; member in struct:test_client
75 i_stream_unref(&client->body);
112 client->os_body = iostream_temp_create_named(".dovecot.test.", 0, "test_program_input body");
125 client->body = iostream_temp_finish(&client->os_body, -1);
151 o_stream_send_istream(client->out, client->body);
/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-file-fix.c321 struct message_size body; local
398 /* write msg body */
404 /* get message body size */
407 ret = message_get_body_size(body_input, &body, &has_nuls);
434 (unsigned long long)body.virtual_size));
/dovecot/src/imap/
H A Dimap-fetch-body.c48 static const char *get_body_name(const struct imap_fetch_body_data *body) argument
53 if (body->binary_size)
55 else if (body->binary)
59 str_printfa(str, "[%s]", body->section);
60 if (body->partial) {
62 imap_msgpart_get_partial_offset(body->msgpart));
68 const struct imap_fetch_body_data *body,
79 str_append(str, get_body_name(body));
83 else if (has_nuls && body->binary)
137 get_body_human_name(pool_t pool, struct imap_fetch_body_data *body) argument
67 get_prefix(struct imap_fetch_state *state, const struct imap_fetch_body_data *body, uoff_t size, bool has_nuls) argument
173 fetch_body_msgpart(struct imap_fetch_context *ctx, struct mail *mail, struct imap_fetch_body_data *body) argument
201 fetch_binary_size(struct imap_fetch_context *ctx, struct mail *mail, struct imap_fetch_body_data *body) argument
235 body_header_fields_parse(struct imap_fetch_init_context *ctx, struct imap_fetch_body_data *body, const char *prefix, const struct imap_arg *args, unsigned int args_count) argument
268 body_parse_partial(struct imap_fetch_body_data *body, const char *p, const char **error_r) argument
313 struct imap_fetch_body_data *body; local
378 struct imap_fetch_body_data *body; local
[all...]
H A Dimap-fetch.c706 const char *body; local
708 if (mail_get_special(mail, MAIL_FETCH_IMAP_BODY, &body) < 0)
719 o_stream_send_str(ctx->client->output, body) < 0 ||
/dovecot/src/lib-storage/index/
H A Dindex-mail.h44 /* Mail header or body is known to contain NUL characters. */
46 /* Mail header or body is known to not contain NUL characters. */
86 const char *envelope, *body, *bodystructure, *guid, *filename; member in struct:index_mail_data

Completed in 92 milliseconds