Lines Matching refs:Bitmap
27 typedef struct Bitmap Bitmap;
29 Bitmap *bitmap_new(void);
31 void bitmap_free(Bitmap *b);
33 int bitmap_ensure_allocated(Bitmap **b);
35 int bitmap_set(Bitmap *b, unsigned n);
36 void bitmap_unset(Bitmap *b, unsigned n);
37 bool bitmap_isset(Bitmap *b, unsigned n);
38 bool bitmap_isclear(Bitmap *b);
39 void bitmap_clear(Bitmap *b);
41 bool bitmap_iterate(Bitmap *b, Iterator *i, unsigned *n);
43 bool bitmap_equal(Bitmap *a, Bitmap *b);
48 DEFINE_TRIVIAL_CLEANUP_FUNC(Bitmap*, bitmap_free);