Lines Matching refs:nbits
26 Sbitset__new (Sbitset__Index nbits)
28 /* Some functions, like Sbitset__last_byte_mask, will fail if nbits = 0. */
29 aver (nbits);
30 return xcalloc (1, Sbitset__nbytes (nbits));
34 Sbitset__new_on_obstack (Sbitset__Index nbits, struct obstack *obstackp)
39 aver (nbits);
40 result = obstack_alloc (obstackp, Sbitset__nbytes (nbits));
41 for (ptr = result, end = result + Sbitset__nbytes (nbits); ptr < end; ++ptr)
53 Sbitset__isEmpty (Sbitset self, Sbitset__Index nbits)
55 Sbitset last = self + Sbitset__nbytes (nbits) - 1;
59 return ((*last) & Sbitset__last_byte_mask (nbits)) == 0;
63 Sbitset__fprint(Sbitset self, Sbitset__Index nbits, FILE *file)
69 "nbits = %" SBITSET__INDEX__CONVERSION_SPEC ", set = {",
70 nbits);
71 SBITSET__FOR_EACH (self, nbits, itr, i)