Lines Matching refs:sparsebit

27 struct sparsebit;
31 struct sparsebit *sparsebit_alloc(void);
32 void sparsebit_free(struct sparsebit **sbitp);
33 void sparsebit_copy(struct sparsebit *dstp, struct sparsebit *src);
35 bool sparsebit_is_set(struct sparsebit *sbit, sparsebit_idx_t idx);
36 bool sparsebit_is_set_num(struct sparsebit *sbit,
38 bool sparsebit_is_clear(struct sparsebit *sbit, sparsebit_idx_t idx);
39 bool sparsebit_is_clear_num(struct sparsebit *sbit,
41 sparsebit_num_t sparsebit_num_set(struct sparsebit *sbit);
42 bool sparsebit_any_set(struct sparsebit *sbit);
43 bool sparsebit_any_clear(struct sparsebit *sbit);
44 bool sparsebit_all_set(struct sparsebit *sbit);
45 bool sparsebit_all_clear(struct sparsebit *sbit);
46 sparsebit_idx_t sparsebit_first_set(struct sparsebit *sbit);
47 sparsebit_idx_t sparsebit_first_clear(struct sparsebit *sbit);
48 sparsebit_idx_t sparsebit_next_set(struct sparsebit *sbit, sparsebit_idx_t prev);
49 sparsebit_idx_t sparsebit_next_clear(struct sparsebit *sbit, sparsebit_idx_t prev);
50 sparsebit_idx_t sparsebit_next_set_num(struct sparsebit *sbit,
52 sparsebit_idx_t sparsebit_next_clear_num(struct sparsebit *sbit,
55 void sparsebit_set(struct sparsebit *sbitp, sparsebit_idx_t idx);
56 void sparsebit_set_num(struct sparsebit *sbitp, sparsebit_idx_t start,
58 void sparsebit_set_all(struct sparsebit *sbitp);
60 void sparsebit_clear(struct sparsebit *sbitp, sparsebit_idx_t idx);
61 void sparsebit_clear_num(struct sparsebit *sbitp,
63 void sparsebit_clear_all(struct sparsebit *sbitp);
65 void sparsebit_dump(FILE *stream, struct sparsebit *sbit,
67 void sparsebit_validate_internal(struct sparsebit *sbit);