| /dovecot/src/lib-storage/index/ |
| H A D | index-attachment.h | 15 uoff_t size; member in struct:mail_attachment_extref
|
| H A D | index-pop3-uidl.c | 25 size_t size; local 35 &data, &size); 36 if (size < sizeof(uidl)) { 40 memcpy(&uidl, data, size); 65 size_t size; local 69 &data, &size); 71 if (trans->highest_pop3_uidl_uid == 0 && size >= sizeof(uidl)) { 97 if (size >= sizeof(uidl)) { 98 memcpy(&uidl, data, size);
|
| /dovecot/src/old-stats/ |
| H A D | global-memory.c | 31 void global_memory_alloc(size_t size) argument 33 i_assert(size < (size_t)-1 - global_used_memory); 34 global_used_memory += size; 42 void global_memory_free(size_t size) argument 44 i_assert(size <= global_used_memory); 45 global_used_memory -= size;
|
| /dovecot/src/plugins/acl/ |
| H A D | acl-cache.h | 10 /* mask[] size as bytes */ 11 unsigned int size; member in struct:acl_mask
|
| /dovecot/src/lib/ |
| H A D | read-full.c | 8 int read_full(int fd, void *data, size_t size) argument 12 while (size > 0) { 13 ret = read(fd, data, size < SSIZE_T_MAX ? size : SSIZE_T_MAX); 18 size -= ret; 24 int pread_full(int fd, void *data, size_t size, off_t offset) argument 28 while (size > 0) { 29 ret = pread(fd, data, size < SSIZE_T_MAX ? 30 size : SSIZE_T_MAX, offset); 35 size [all...] |
| H A D | safe-memset.c | 6 void safe_memset(void *data, int c, size_t size) argument 11 if (size == 0) 15 memset(data, c, size);
|
| H A D | test-istream.c | 10 size_t size; local 22 data = i_stream_get_data(child1, &size); 23 test_assert(size == 3 && memcmp(data, "123", 3) == 0); 27 data = i_stream_get_data(child1, &size); 28 test_assert(size == 3 && memcmp(data, "456", 3) == 0); 31 data = i_stream_get_data(child2, &size); 32 test_assert(size == 3 && memcmp(data, "123", 3) == 0); 39 data = i_stream_get_data(child1, &size); 40 test_assert(size == 3 && memcmp(data, "789", 3) == 0); 48 data = i_stream_get_data(child2, &size); [all...] |
| H A D | test-memarea.c | 20 size_t size; local 28 test_assert(memarea_get(area, &size) == buf->data && size == buf->used); 33 test_assert(memarea_get(area2, &size) == buf->data && size == buf->used);
|
| H A D | write-full.c | 8 int write_full(int fd, const void *data, size_t size) argument 12 while (size > 0) { 13 ret = write(fd, data, size < SSIZE_T_MAX ? size : SSIZE_T_MAX); 25 size -= ret; 31 int pwrite_full(int fd, const void *data, size_t size, off_t offset) argument 35 while (size > 0) { 36 ret = pwrite(fd, data, size < SSIZE_T_MAX ? 37 size : SSIZE_T_MAX, offset); 49 size [all...] |
| /dovecot/src/lib-imap-storage/ |
| H A D | imap-msgpart.h | 9 /* size of input */ 10 uoff_t size; member in struct:imap_msgpart_open_result 11 /* if size was looked up using cache and it ends up being wrong, 37 /* Set the fetch to be partial. For unlimited size use (uoff_t)-1. */ 39 uoff_t offset, uoff_t size); 54 /* Return msgpart's size without actually opening the stream (if possible). */
|
| /dovecot/src/lib-mail/ |
| H A D | message-header-hash.c | 10 const unsigned char *data, size_t size) 17 method->loop(context, data, size); 37 for (i = start = 0; i < size; i++) { 7 message_header_hash_more(struct message_header_hash_context *ctx, const struct hash_method *method, void *context, unsigned int version, const unsigned char *data, size_t size) argument
|
| H A D | istream-nonuls.c | 33 size_t i, size, avail_size; local 39 data = i_stream_get_data(stream->parent, &size); 40 if (!i_stream_try_alloc(stream, size, &avail_size)) 42 if (size > avail_size) 43 size = avail_size; 44 i_assert(size > 0); 46 p = memchr(data, '\0', size); 49 memcpy(stream->w_buffer+stream->pos, data, size); 53 for (; i < size; i++) { 58 stream->pos += size; [all...] |
| H A D | message-binary-part.c | 20 int message_binary_part_deserialize(pool_t pool, const void *data, size_t size, argument 23 const uint8_t *p = data, *end = p + size;
|
| H A D | message-parser.h | 29 /* hdr = NULL, size = 0 block returned at the end of headers for the 31 Later on data and size>0 is returned for blocks of mail body that 34 size_t size; member in struct:message_block
|
| H A D | test-message-decoder.c | 11 void message_header_decode_utf8(const unsigned char *data, size_t size, argument 15 buffer_append(dest, data, size); 41 test_assert(output.size == 0); 50 input.size = strlen((const char *)input.data); 52 test_assert(output.size == 3); 56 input.size = strlen((const char *)input.data); 58 test_assert(output.size == 14); 63 input.data = (const void *)"="; input.size = 1; 65 test_assert(output.size == 0); 66 input.data = (const void *)"C"; input.size [all...] |
| H A D | test-ostream-dot.c | 22 size_t size; local 32 data = i_stream_get_data(test_input, &size); 33 ret = o_stream_send(output, data, size);
|
| /dovecot/src/lib-old-stats/ |
| H A D | stats-parser.h | 14 unsigned int size; member in struct:stats_parser_field
|
| /dovecot/src/auth/ |
| H A D | db-dict-cache-key.c | 31 unsigned int idx, size; local 41 var_get_key_range(++p, &idx, &size); 42 if (size == 0) { 47 if (size > 5 && memcmp(p, "dict:", 5) == 0) { 48 name = t_strcut(t_strndup(p+5, size-5), ':'); 52 } else if (size == 1) { 56 str_append_n(str, p, size); 59 p += size;
|
| H A D | password-scheme-rpa.c | 10 void *ucs2be_str(pool_t pool, const char *str, size_t *size); 15 void *ucs2be_str(pool_t pool, const char *str, size_t *size) argument 24 *size = buf->used; 31 size_t size; local 33 ucs2be_pw = ucs2be_str(unsafe_data_stack_pool, pw, &size); 34 md5_get_digest(ucs2be_pw, size, result); 35 safe_memset(ucs2be_pw, 0, size);
|
| H A D | password-scheme-sodium.c | 66 const unsigned char *raw_password, size_t size, 69 const char *passwd = t_strndup(raw_password, size); 65 verify_argon2(const char *plaintext, const struct password_generate_params *params ATTR_UNUSED, const unsigned char *raw_password, size_t size, const char **error_r ATTR_UNUSED) argument
|
| /dovecot/src/lib-ssl-iostream/ |
| H A D | dovecot-openssl-common.c | 15 static void *dovecot_openssl_malloc(size_t size, const char *u0 ATTR_UNUSED, int u1 ATTR_UNUSED) argument 17 static void *dovecot_openssl_malloc(size_t size) 22 void *mem = malloc(size); 25 "OpenSSL: malloc(%"PRIuSIZE_T"): Out of memory", size); 31 static void *dovecot_openssl_realloc(void *ptr, size_t size, const char *u0 ATTR_UNUSED, int u1 ATTR_UNUSED) argument 33 static void *dovecot_openssl_realloc(void *ptr, size_t size) 36 void *mem = realloc(ptr, size); 39 "OpenSSL: realloc(%"PRIuSIZE_T"): Out of memory", size);
|
| /dovecot/src/lib-storage/index/dbox-multi/ |
| H A D | mdbox-map.h | 23 uint32_t size; /* including pre/post metadata */ member in struct:mdbox_map_mail_index_record 112 /* Request file for saving a new message with given size (if available). If an 119 /* Finished saving the last mail. Saves the message size. */
|
| /dovecot/src/lib-storage/index/raw/ |
| H A D | raw-storage.h | 18 uoff_t size; member in struct:raw_mailbox
|
| /dovecot/src/doveadm/ |
| H A D | doveadm-print-server.c | 52 doveadm_print_server_print_stream(const unsigned char *value, size_t size) argument 54 if (size == 0) { 58 str_append_tabescaped_n(ctx.str, value, size);
|
| H A D | doveadm-print-tab.c | 50 doveadm_print_tab_print_stream(const unsigned char *value, size_t size) argument 52 if (size == 0) { 59 o_stream_nsend(doveadm_print_ostream, value, size);
|