Searched refs:BITS_PER_SLOT (Results 1 – 1 of 1) sorted by relevance
34 #define BITS_PER_SLOT (sizeof(number_slot_t) * 8) macro55 vec[i / BITS_PER_SLOT] |= (number_slot_t) 1 << (i % BITS_PER_SLOT); in number_setbit()61 return vec[i / BITS_PER_SLOT] & ((number_slot_t) 1 << (i % BITS_PER_SLOT)); in number_isset()78 reallocate_number_set(set, number / BITS_PER_SLOT + 1); in add_number_to_set()85 return ((number / BITS_PER_SLOT < set->nslots) in is_number_in_set()