Searched refs:element_size (Results 1 - 12 of 12) sorted by relevance
/dovecot/src/lib/ |
H A D | array.c | 10 i_assert(idx * array->element_size < array->buffer->used); 11 return PTR_OFFSET(array->buffer->data, idx * array->element_size); 16 return buffer_get_space_unsafe(array->buffer, idx * array->element_size, 17 array->element_size); 22 buffer_write(array->buffer, idx * array->element_size, 23 data, array->element_size); 28 buffer_write_zero(array->buffer, idx * array->element_size, 29 array->element_size); 37 pos = idx * array->element_size; 38 buffer_copy(array->buffer, pos + array->element_size, 114 const size_t element_size = array->element_size; local [all...] |
H A D | array.h | 115 size_t element_size) 118 array->element_size = element_size; 120 #define array_create_from_buffer(array, buffer, element_size) \ 121 array_create_from_buffer_i(&(array)->arr, buffer, element_size) 125 size_t element_size, unsigned int init_count) 129 buffer = buffer_create_dynamic(pool, init_count * element_size); 130 array_create_from_buffer_i(array, buffer, element_size); 132 #define array_create(array, pool, element_size, init_count) \ 133 array_create_i(&(array)->arr, pool, element_size, init_coun 114 array_create_from_buffer_i(struct array *array, buffer_t *buffer, size_t element_size) argument 124 array_create_i(struct array *array, pool_t pool, size_t element_size, unsigned int init_count) argument [all...] |
H A D | array-decl.h | 14 size_t element_size; member in struct:array
|
H A D | bsearch-insert-pos.c | 47 array->element_size, cmp, idx_r);
|
H A D | aqueue.c | 14 aqueue->arr->element_size; 36 aqueue->arr->element_size;
|
/dovecot/src/lib-index/ |
H A D | mail-index-util.c | 119 i_assert(array->arr.element_size == sizeof(seq) + aligned_record_size);
|
H A D | mail-index-transaction-sort-appends.c | 47 old_array->arr.element_size, ext_count); 54 old_array->arr.element_size -
|
H A D | mail-index-transaction-finish.c | 250 memcpy(new_range, range, array->arr.element_size);
|
H A D | mail-index-transaction-view.c | 423 ext_hdr.record_size = ext_buf->arr.element_size - sizeof(uint32_t);
|
H A D | mail-transaction-log-view.c | 537 if ((uids->arr.buffer->used % uids->arr.element_size) != 0) {
|
H A D | mail-index-transaction-update.c | 748 old_array.arr.element_size);
|
/dovecot/src/lib-smtp/ |
H A D | test-smtp-params.c | 180 .element_size = sizeof(struct smtp_param) 191 .element_size = sizeof(struct smtp_param) 568 .element_size = sizeof(struct smtp_param) 579 .element_size = sizeof(struct smtp_param)
|
Completed in 32 milliseconds