• Home
  • Raw
  • Download

Lines Matching full:bitset

22 #include "bitset.h"
36 /* Return number of bytes required to create a N_BIT bitset
37 of TYPE. The bitset may grow to require more bytes than this. */
72 /* Initialise bitset BSET of TYPE for N_BITS. */
73 bitset
74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) in bitset_init()
99 /* Select a bitset type for a set of N_BITS and with attribute hints
111 /* Choose the type of bitset. Note that sometimes we will be asked in bitset_type_choose()
112 for a zero length fixed size bitset. */ in bitset_type_choose()
132 /* Create a bitset of N_BITS of type TYPE. */
133 bitset
137 bitset bset; in bitset_alloc()
151 /* Create a bitset of N_BITS of type TYPE. */
152 bitset
157 bitset bset; in bitset_obstack_alloc()
168 /* Create a bitset of N_BITS and with attribute hints specified by
170 bitset
181 /* Free bitset BSET. */
183 bitset_free (bitset bset) in bitset_free()
190 /* Free bitset BSET allocated on obstack. */
192 bitset_obstack_free (bitset bset) in bitset_obstack_free()
198 /* Return bitset type. */
200 bitset_type_get (bitset bset) in bitset_type_get()
212 /* Return name of bitset type. */
214 bitset_type_name_get (bitset bset) in bitset_type_name_get()
227 bitset_next (bitset src, bitset_bindex bitno) in bitset_next()
240 bitset_compatible_p (bitset bset1, bitset bset2) in bitset_compatible_p()
249 bitset_prev (bitset src, bitset_bindex bitno) in bitset_prev()
262 bitset_first (bitset src) in bitset_first()
270 bitset_last (bitset src) in bitset_last()
278 bitset_only_set_p (bitset src, bitset_bindex bitno) in bitset_only_set_p()
289 /* Print contents of bitset BSET to FILE. */
291 bitset_print (FILE *file, bitset bset, bool verbose) in bitset_print()
319 /* Dump bitset BSET to FILE. */
321 bitset_dump (FILE *file, bitset bset) in bitset_dump()
336 /* Toggle bit BITNO in bitset BSET and the new value of the bit. */
338 bitset_toggle_ (bitset bset, bitset_bindex bitno) in bitset_toggle_()
355 /* Return number of bits in bitset SRC. */
357 bitset_size_ (bitset src) in bitset_size_()
363 /* Return number of bits set in bitset SRC. */
365 bitset_count_ (bitset src) in bitset_count_()
373 bitset implementation that uses a direct technique (based on in bitset_count_()
387 bitset types. */
389 bitset_copy_ (bitset dst, bitset src) in bitset_copy_()
394 /* Convert bitset types. We assume that the DST bitset in bitset_copy_()
395 is large enough to hold the SRC bitset. */ in bitset_copy_()
409 bitset_op4_cmp (bitset dst, bitset src1, bitset src2, bitset src3, in bitset_op4_cmp()
414 bitset tmp; in bitset_op4_cmp()
416 /* Create temporary bitset. */ in bitset_op4_cmp()
450 bitset_and_or_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_and_or_()
459 bitset_and_or_cmp_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_and_or_cmp_()
467 bitset_andn_or_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_andn_or_()
476 bitset_andn_or_cmp_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_andn_or_cmp_()
484 bitset_or_and_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_or_and_()
493 bitset_or_and_cmp_ (bitset dst, bitset src1, bitset src2, bitset src3) in bitset_or_and_cmp_()
499 /* Function to be called from debugger to print bitset. */
501 debug_bitset (bitset bset) in debug_bitset()