Searched refs:buffer_append (Results 1 - 25 of 92) sorted by relevance

1234

/dovecot/src/lib-mail/
H A Dquoted-printable.c22 buffer_append(dest, src + next, src_pos - next);
47 buffer_append(dest, src + next, src_size - next);
H A Dmessage-part-serialize.c52 buffer_append(dest, &part->flags, sizeof(part->flags));
56 buffer_append(dest, &part->physical_pos,
59 buffer_append(dest, &part->header_size.physical_size,
61 buffer_append(dest, &part->header_size.virtual_size,
63 buffer_append(dest, &part->body_size.physical_size,
65 buffer_append(dest, &part->body_size.virtual_size,
70 buffer_append(dest, &part->body_size.lines,
78 buffer_append(dest, &children_count,
H A Dtest-istream-binary-converter.c133 buffer_append(inbuf, mail_input_root_hdr, input_hdr_len);
134 buffer_append(outbuf, mail_output_root_hdr, sizeof(mail_output_root_hdr)-1);
138 buffer_append(inbuf, BINARY_TEXT_SHORT, sizeof(BINARY_TEXT_SHORT)-1);
139 buffer_append(inbuf, suffixes[i], strlen(suffixes[i]));
H A Dqp-decoder.c71 buffer_append(qp->dest, src+start, i-start);
72 buffer_append(qp->dest, "\r\n", 2);
87 buffer_append(qp->dest, src+start, i-start);
156 buffer_append(qp->dest, "\r\n", 2);
253 buffer_append(qp->dest, "\r\n", 2);
H A Dmessage-header-decode.c32 buffer_append(decodebuf, data, start_pos[0]);
157 buffer_append(ctx->dest, data, size);
166 buffer_append(ctx->dest, data, size);
H A Dmessage-header-parser.c269 buffer_append(ctx->name, msg, size);
312 /* use buffer_append() so the name won't be truncated if there
314 buffer_append(ctx->name, msg, colon_pos);
331 buffer_append(ctx->value_buf, line->value, line->value_len);
349 buffer_append(ctx->value_buf,
352 buffer_append(ctx->value_buf,
404 buffer_append(output, hdr->name, strlen(hdr->name));
405 buffer_append(output, hdr->middle, hdr->middle_len);
407 buffer_append(output, hdr->value, hdr->value_len);
H A Dtest-message-header-decode.c23 buffer_append(dest, src, *src_size);
H A Distream-header-filter.c108 buffer_append(mstream->hdr_buf, data + body_highwater_size,
136 buffer_append(mstream->hdr_buf, "\r\n", 2);
269 buffer_append(mstream->hdr_buf,
271 buffer_append(mstream->hdr_buf,
274 buffer_append(mstream->hdr_buf,
416 buffer_append(mstream->hdr_buf, data, size);
684 buffer_append(input->hdr_buf, data, size);
/dovecot/src/lib-dcrypt/
H A Dostream-encrypt.c83 buffer_append(values, IOSTREAM_CRYPT_MAGIC, sizeof(IOSTREAM_CRYPT_MAGIC));
86 buffer_append(values, &c, 1);
89 buffer_append(values, &s, 2);
91 buffer_append(values, stream->key_data, stream->key_data_len);
108 buffer_append(values, IOSTREAM_CRYPT_MAGIC, sizeof(IOSTREAM_CRYPT_MAGIC));
110 buffer_append(values, &c, 1);
112 buffer_append(values, &i, 4);
118 buffer_append(values, &i, 4);
123 buffer_append(values, &i, 4);
125 buffer_append(value
[all...]
H A Ddcrypt-gnutls.c119 buffer_append(key, ctx->key.data, ctx->key.size);
126 buffer_append(iv, ctx->iv.data, ctx->iv.size);
163 buffer_append(result, buf, outl);
211 buffer_append(key, ctx->key.data, ctx->key.size);
237 buffer_append(result, buf, hlen);
266 buffer_append(result, buf, result_len);
335 buffer_append(destination, buffer, outl);
348 buffer_append(destination, buffer, outl);
/dovecot/src/lib/
H A Dstr.h34 buffer_append(str, cstr, strlen(cstr));
38 buffer_append(str, data, len);
48 buffer_append(dest, src->data, src->used);
H A Dtest-memarea.c24 buffer_append(buf, "123", 3);
H A Dpkcs5.c38 buffer_append(result, dk, hash->digest_size);
79 buffer_append(result, dk, length);
H A Dostream-multiplex.c82 buffer_append(mstream->wbuf, &channel->cid, 1);
83 buffer_append(mstream->wbuf, &len, 4);
84 buffer_append(mstream->wbuf, channel->buf->data, amt);
116 buffer_append(channel->buf, iov[i].iov_base,
H A Dtest-multiplex.c60 buffer_append(channel->received, data, siz);
72 buffer_append(channel->received_alt, data, siz);
H A Dbase64.c122 buffer_append(dest, output, 1);
135 buffer_append(dest, output, 2);
142 buffer_append(dest, output, 3);
/dovecot/src/lib-index/
H A Dmail-index-transaction-export.c75 buffer_append(buf, &u, sizeof(u));
76 buffer_append(buf, data + u.offset, u.size);
136 buffer_append(buf, intro, sizeof(*intro));
177 buffer_append(buf, rext->name, intro->name_size);
220 buffer_append(buf, &u32, sizeof(u32));
224 buffer_append(buf, &u, sizeof(u));
227 buffer_append(buf, data + u32.offset, u32.size);
369 buffer_append(tmp_buf, &kt_hdr, sizeof(kt_hdr));
370 buffer_append(tmp_buf, keyword, kt_hdr.name_size);
373 buffer_append(tmp_bu
[all...]
H A Dmail-transaction-log-append.c31 buffer_append(ctx->output, &hdr, sizeof(hdr));
32 buffer_append(ctx->output, data, size);
109 buffer_append(file->buffer, ctx->output->data,
169 buffer_append(&buf, &offset, sizeof(offset));
/dovecot/src/master/
H A Dservice-log.c36 buffer_append(handshake_buf, &handshake, sizeof(handshake));
37 buffer_append(handshake_buf, log_prefix, strlen(log_prefix));
/dovecot/src/doveadm/dsync/
H A Ddsync-mailbox-state.c22 buffer_append(output, tmp, sizeof(tmp));
41 buffer_append(buf, state->mailbox_guid,
/dovecot/src/imap-login/
H A Dclient-authenticate.c205 buffer_append(plain_login, user, strlen(user));
207 buffer_append(plain_login, pass, strlen(pass));
/dovecot/src/auth/
H A Dauth-stats.c71 buffer_append(buf, stats, sizeof(*stats));
H A Dmech-rpa.c358 buffer_append(buf, rpa_oid, sizeof(rpa_oid));
369 buffer_append(buf, request->service_challenge, RPA_SCHALLENGE_LEN);
377 buffer_append(buf, request->service_timestamp, RPA_TIMESTAMP_LEN);
382 buffer_append(buf, str_c(realms), realms_len);
401 buffer_append(buf, rpa_oid, sizeof(rpa_oid));
409 buffer_append(buf, server_response, sizeof(server_response));
412 buffer_append(buf, request->session_key, sizeof(request->session_key));
/dovecot/src/lib-charset/
H A Dcharset-utf8.c70 buffer_append(dest, src, *src_size);
/dovecot/src/lib-test/
H A Dtest-ostream.c36 buffer_append(tstream->output_buf, tstream->internal_buf->data, n);
61 buffer_append(tstream->output_buf, iov[i].iov_base, n);
78 buffer_append(tstream->internal_buf, cur_iov.iov_base, n);

Completed in 72 milliseconds

1234