Home | History | Annotate | Download | only in lib

Lines Matching refs:n_bits

39 bitset_bytes (enum bitset_type type, bitset_bindex n_bits)
52 bytes = abitset_bytes (n_bits);
56 bytes = lbitset_bytes (n_bits);
60 bytes = ebitset_bytes (n_bits);
64 bytes = vbitset_bytes (n_bits);
72 /* Initialise bitset BSET of TYPE for N_BITS. */
74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type)
77 return bitset_stats_init (bset, n_bits, type);
85 return abitset_init (bset, n_bits);
88 return lbitset_init (bset, n_bits);
91 return ebitset_init (bset, n_bits);
94 return vbitset_init (bset, n_bits);
99 /* Select a bitset type for a set of N_BITS and with attribute hints
100 specified by ATTR. For variable size bitsets, N_BITS is only a
103 bitset_type_choose (bitset_bindex n_bits ATTRIBUTE_UNUSED, unsigned int attr)
132 /* Create a bitset of N_BITS of type TYPE. */
134 bitset_alloc (bitset_bindex n_bits, enum bitset_type type)
139 bytes = bitset_bytes (type, n_bits);
147 return bitset_init (bset, n_bits, type);
151 /* Create a bitset of N_BITS of type TYPE. */
154 bitset_bindex n_bits, enum bitset_type type)
159 bytes = bitset_bytes (type, n_bits);
164 return bitset_init (bset, n_bits, type);
168 /* Create a bitset of N_BITS and with attribute hints specified by
171 bitset_create (bitset_bindex n_bits, unsigned int attr)
175 type = bitset_type_choose (n_bits, attr);
177 return bitset_alloc (n_bits, type);
298 fprintf (file, "n_bits = %lu, set = {",