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) macro78 bm->size = UTIL_BITMASK_INITIAL_WORDS * UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_create()103 assert(bm->size % UTIL_BITMASK_BITS_PER_WORD == 0); in util_bitmask_resize()112 assert(new_size % UTIL_BITMASK_BITS_PER_WORD == 0); in util_bitmask_resize()120 memset(new_words + bm->size/UTIL_BITMASK_BITS_PER_WORD, in util_bitmask_resize()169 word = bm->filled / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_add()170 bit = bm->filled % UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_add()172 while(word < bm->size / UTIL_BITMASK_BITS_PER_WORD) { in util_bitmask_add()173 while(bit < UTIL_BITMASK_BITS_PER_WORD) { in util_bitmask_add()211 word = index / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_set()[all …]