Lines Matching refs:word
162 unsigned word; in util_bitmask_add() local
169 word = 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()
174 if(!(bm->words[word] & mask)) in util_bitmask_add()
180 ++word; in util_bitmask_add()
190 assert(!(bm->words[word] & mask)); in util_bitmask_add()
191 bm->words[word] |= mask; in util_bitmask_add()
201 unsigned word; in util_bitmask_set() local
211 word = index / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_set()
215 bm->words[word] |= mask; in util_bitmask_set()
227 unsigned word; in util_bitmask_clear() local
236 word = index / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_clear()
240 bm->words[word] &= ~mask; in util_bitmask_clear()
250 unsigned word = index / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_get() local
257 assert(bm->words[word] & mask); in util_bitmask_get()
264 if(bm->words[word] & mask) { in util_bitmask_get()
277 unsigned word = index / UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_get_next_index() local
282 assert(bm->words[word] & mask); in util_bitmask_get_next_index()
291 while(word < bm->size / UTIL_BITMASK_BITS_PER_WORD) { in util_bitmask_get_next_index()
293 if(bm->words[word] & mask) { in util_bitmask_get_next_index()
304 ++word; in util_bitmask_get_next_index()