Searched refs:UTIL_BITMASK_BITS_PER_WORD (Results 1 – 1 of 1) sorted by relevance
48 #define UTIL_BITMASK_BITS_PER_WORD (sizeof(util_bitmask_word) * UTIL_BITMASK_BITS_PER_BYTE) macro79 bm->size = UTIL_BITMASK_INITIAL_WORDS * UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_create()104 assert(bm->size % UTIL_BITMASK_BITS_PER_WORD == 0); in util_bitmask_resize()113 assert(new_size % UTIL_BITMASK_BITS_PER_WORD == 0); in util_bitmask_resize()122 memset(new_words + bm->size/UTIL_BITMASK_BITS_PER_WORD, in util_bitmask_resize()175 word = bm->filled / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_add()176 bit = bm->filled % UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_add()178 while (word < bm->size / UTIL_BITMASK_BITS_PER_WORD) { in util_bitmask_add()179 while (bit < UTIL_BITMASK_BITS_PER_WORD) { in util_bitmask_add()217 word = index / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_set()[all …]