Lines Matching refs:bitmaps
38 ret->bitmaps = newdup(uint64_t, b->bitmaps, b->n_bitmaps); in bitmap_copy()
39 if (!ret->bitmaps) in bitmap_copy()
50 free(b->bitmaps); in bitmap_free()
84 if (!GREEDY_REALLOC0(b->bitmaps, offset + 1)) in bitmap_set()
92 b->bitmaps[offset] |= bitmask; in bitmap_set()
111 b->bitmaps[offset] &= ~bitmask; in bitmap_unset()
128 return !!(b->bitmaps[offset] & bitmask); in bitmap_isset()
138 if (b->bitmaps[i] != 0) in bitmap_isclear()
148 b->bitmaps = mfree(b->bitmaps); in bitmap_clear()
167 if (b->bitmaps[offset]) { in bitmap_iterate()
169 if (b->bitmaps[offset] & bitmask) { in bitmap_iterate()
202 if (memcmp_safe(a->bitmaps, b->bitmaps, sizeof(uint64_t) * common_n_bitmaps) != 0) in bitmap_equal()
207 if (c->bitmaps[i] != 0) in bitmap_equal()