Lines Matching refs:filled
59 unsigned filled; member
79 bm->filled = 0; in util_bitmask_create()
138 assert(bm->filled <= bm->size); in util_bitmask_filled_set()
141 if(index == bm->filled) { in util_bitmask_filled_set()
142 ++bm->filled; in util_bitmask_filled_set()
143 assert(bm->filled <= bm->size); in util_bitmask_filled_set()
151 assert(bm->filled <= bm->size); in util_bitmask_filled_unset()
154 if(index < bm->filled) in util_bitmask_filled_unset()
155 bm->filled = index; in util_bitmask_filled_unset()
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()
176 ++bm->filled; in util_bitmask_add()
187 if(!util_bitmask_resize(bm, bm->filled)) in util_bitmask_add()
193 return bm->filled++; in util_bitmask_add()
256 if(index < bm->filled) { in util_bitmask_get()
281 if(index < bm->filled) { in util_bitmask_get_next_index()
294 if(index == bm->filled) { in util_bitmask_get_next_index()
295 ++bm->filled; in util_bitmask_get_next_index()
296 assert(bm->filled <= bm->size); in util_bitmask_get_next_index()