Searched refs:array1 (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib/
H A Darray.c46 bool array_cmp_i(const struct array *array1, const struct array *array2) argument
48 if (!array_is_created_i(array1) || array1->buffer->used == 0)
54 return buffer_cmp(array1->buffer, array2->buffer);
57 bool array_equal_fn_i(const struct array *array1, const struct array *array2, argument
63 if (!array_is_created_i(array1) || array1->buffer->used == 0)
69 count1 = array_count_i(array1); count2 = array_count_i(array2);
73 size = array1->element_size;
77 if (cmp(CONST_PTR_OFFSET(array1
84 array_equal_fn_ctx_i(const struct array *array1, const struct array *array2, int (*cmp)(const void *, const void *, const void *), const void *context) argument
[all...]
H A Darray.h58 # define ARRAY_TYPES_CHECK(array1, array2) \
60 **(array1)->v_modifiable, **(array2)->v_modifiable)
66 # define ARRAY_TYPES_CHECK(array1, array2) 0
305 array_swap_i(struct array *array1, struct array *array2) argument
307 buffer_t *buffer = array1->buffer;
308 size_t elsize = array1->element_size;
310 array1->buffer = array2->buffer;
311 array1->element_size = array2->element_size;
315 #define array_swap(array1, array2) \
316 array_swap_i(&(array1)
[all...]
H A Dseq-range-array.h55 bool seq_range_array_have_common(const ARRAY_TYPE(seq_range) *array1,
H A Dseq-range-array.c394 bool seq_range_array_have_common(const ARRAY_TYPE(seq_range) *array1,
400 range1 = array_get(array1, &count1);

Completed in 1308 milliseconds