Lines Matching refs:bset
74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) in bitset_init() argument
77 return bitset_stats_init (bset, n_bits, type); in bitset_init()
85 return abitset_init (bset, n_bits); in bitset_init()
88 return lbitset_init (bset, n_bits); in bitset_init()
91 return ebitset_init (bset, n_bits); in bitset_init()
94 return vbitset_init (bset, n_bits); in bitset_init()
137 bitset bset; in bitset_alloc() local
141 bset = xcalloc (1, bytes); in bitset_alloc()
147 return bitset_init (bset, n_bits, type); in bitset_alloc()
157 bitset bset; in bitset_obstack_alloc() local
161 bset = obstack_alloc (bobstack, bytes); in bitset_obstack_alloc()
162 memset (bset, 0, bytes); in bitset_obstack_alloc()
164 return bitset_init (bset, n_bits, type); in bitset_obstack_alloc()
183 bitset_free (bitset bset) in bitset_free() argument
185 BITSET_FREE_ (bset); in bitset_free()
186 free (bset); in bitset_free()
192 bitset_obstack_free (bitset bset) in bitset_obstack_free() argument
194 BITSET_FREE_ (bset); in bitset_obstack_free()
200 bitset_type_get (bitset bset) in bitset_type_get() argument
204 type = BITSET_TYPE_ (bset); in bitset_type_get()
208 return bitset_stats_type_get (bset); in bitset_type_get()
214 bitset_type_name_get (bitset bset) in bitset_type_name_get() argument
218 type = bitset_type_get (bset); in bitset_type_name_get()
291 bitset_print (FILE *file, bitset bset, bool verbose) in bitset_print() argument
299 (unsigned long int) bitset_size (bset)); in bitset_print()
302 BITSET_FOR_EACH (iter, bset, i, 0) in bitset_print()
321 bitset_dump (FILE *file, bitset bset) in bitset_dump() argument
323 bitset_print (file, bset, false); in bitset_dump()
338 bitset_toggle_ (bitset bset, bitset_bindex bitno) in bitset_toggle_() argument
342 if (bitset_test (bset, bitno)) in bitset_toggle_()
344 bitset_reset (bset, bitno); in bitset_toggle_()
349 bitset_set (bset, bitno); in bitset_toggle_()
501 debug_bitset (bitset bset) in debug_bitset() argument
503 if (bset) in debug_bitset()
504 bitset_print (stderr, bset, true); in debug_bitset()