Searched refs:space (Results 1 - 13 of 13) sorted by relevance

/dovecot/src/lib-storage/index/mbox/
H A Dmbox-sync-rewrite.c73 unsigned char space[1024]; local
75 memset(space, ' ', sizeof(space));
76 while (size > sizeof(space)) {
77 if (pwrite_full(sync_ctx->write_fd, space,
78 sizeof(space), offset) < 0) {
82 size -= sizeof(space);
85 if (pwrite_full(sync_ctx->write_fd, space, size, offset) < 0) {
104 else if (ctx->mail.space > 0) {
107 the available space */
[all...]
H A Dmbox-sync-parse.c45 size_t i, space = 0; local
59 space++;
62 if ((ssize_t)space > ctx->mail.space) {
63 i_assert(space != 0);
65 ctx->mail.space = space;
H A Dmbox-sync.c9 - Write missing or broken Content-Length header if there's space
18 - If header needs to be rewritten and there's enough space, do it
19 - If we didn't have enough space, remember how much was missing
23 rewrite previous messages if needed (and there's enough space).
24 Afterwards keep moving messages backwards to fill the expunged space.
616 mail_ctx->mail.space =
623 /* expunging first message, fix space to contain next
625 mail_ctx->mail.space++;
627 mail_ctx->mail.space++;
635 sync_ctx->expunged_space += mail_ctx->mail.space;
[all...]
H A Dmbox-sync-private.h63 a) space <= 0 : offset points to beginning of headers. space is the
64 amount of space missing that is required to be able to rewrite
66 b) space > 0 : offset points to beginning of whitespace that can
67 be removed. space is the amount of data that can be removed from
71 off_t space; member in struct:mbox_sync_mail
H A Dmbox-sync-update.c42 /* FIXME: if (diff < ctx->space && pos < ctx->offset) then
43 move the data only up to space offset and give/take the
44 space from there. update header_last_change accordingly.
53 if (ctx->mail.space > 0) {
54 i_assert(ctx->mail.offset + ctx->mail.space <=
58 /* free space offset moves */
313 if (ctx->mail.space > 0 && ctx->mail.offset >= file_pos &&
315 /* extra space points to this line. remove it. */
317 ctx->mail.space = 0;
H A Dmbox-save.c247 unsigned char space[MBOX_HEADER_PADDING+1 + local
265 memset(space, ' ', sizeof(space));
266 str_append_n(ctx->headers, space, sizeof(space));
/dovecot/src/auth/
H A Dmech-cram-md5.c83 size_t i, space; local
88 the rightmost space is the response separator. */
89 for (i = space = 0; i < size; i++) {
95 space = i;
98 if (space == 0) {
103 request->username = p_strndup(request->pool, data, space);
104 space++;
106 p_strndup(request->pool, data + space, size - space);
/dovecot/src/lib-otp/
H A Dotp-parse.c79 bool space = FALSE; local
97 if (space) {
102 space = FALSE;
117 space = TRUE;
/dovecot/src/lib-ntlm/
H A Dntlm-message.c69 write_le16(&buffer.space, length);
120 write_le16(&buffer.space, total_length);
181 uint16_t space = read_le16(&buffer->space); local
184 if (length == 0 && space == 0)
192 if (offset + space > data_size) {
H A Dntlm-types.h36 uint16_t space; /* space allocated space for buffer */ member in struct:ntlmssp_buffer
/dovecot/src/lib-settings/
H A Dsettings.c234 "Add a space before it to remove this warning.",
/dovecot/src/lib-index/
H A Dmail-index-sync-ext.c81 /* set space for extra contexts */
200 /* we have to leave space here */
240 size_t space = new_buffer_size - new_buffer->used; local
241 i_assert(space < new_record_size);
242 buffer_append_zero(new_buffer, space);
/dovecot/src/config/
H A Dconfig-parser.c607 "Add a space before it to remove this warning.",

Completed in 30 milliseconds