Lines Matching refs:e1
18 int ebitmap_or(ebitmap_t * dst, const ebitmap_t * e1, const ebitmap_t * e2)
25 n1 = e1->node;
57 dst->highbit = (e1->highbit > e2->highbit) ? e1->highbit : e2->highbit;
61 int ebitmap_union(ebitmap_t * dst, const ebitmap_t * e1)
65 if (ebitmap_or(&tmp, dst, e1))
74 int ebitmap_and(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2)
81 n1 = e1->node;
117 int ebitmap_xor(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2)
126 n1 = e1->node;
167 int ebitmap_not(ebitmap_t *dst, const ebitmap_t *e1, unsigned int maxbit)
176 n = e1->node;
216 int ebitmap_andnot(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2, unsigned int maxbit)
224 rc = ebitmap_and(dst, e1, &e3);
231 unsigned int ebitmap_cardinality(const ebitmap_t *e1)
236 for (n = e1->node; n; n = n->next) {
242 int ebitmap_hamming_distance(const ebitmap_t * e1, const ebitmap_t * e2)
247 if (ebitmap_cmp(e1, e2))
249 rc = ebitmap_xor(&tmp, e1, e2);
257 int ebitmap_cmp(const ebitmap_t * e1, const ebitmap_t * e2)
261 if (e1->highbit != e2->highbit)
264 n1 = e1->node;
307 int ebitmap_contains(const ebitmap_t * e1, const ebitmap_t * e2)
311 if (e1->highbit < e2->highbit)
314 n1 = e1->node;
334 int ebitmap_match_any(const ebitmap_t *e1, const ebitmap_t *e2)
336 const ebitmap_node_t *n1 = e1->node;