Lines Matching refs:array1
46 bool array_cmp_i(const struct array *array1, const struct array *array2)
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,
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->buffer->data, i * size),
84 bool array_equal_fn_ctx_i(const struct array *array1, const struct array *array2,
91 if (!array_is_created_i(array1) || array1->buffer->used == 0)
97 count1 = array_count_i(array1); count2 = array_count_i(array2);
101 size = array1->element_size;
105 if (cmp(CONST_PTR_OFFSET(array1->buffer->data, i * size),