Lines Matching refs:mask
54 let mask = T::make_mask(n % T::bit_size()); in set_all() localVariable
55 if mask != T::zero() { in set_all()
56 *last_element &= mask; in set_all()
105 let mut mask = T::make_mask(n % T::bit_size()); in last_false_index() localVariable
106 if mask != T::zero() { in last_false_index()
107 <T as BitOps>::invert(&mut mask); in last_false_index()
109 last_element |= mask; in last_false_index()
219 let mask = T::make_mask(n % T::bit_size()); in invert() localVariable
220 if mask != T::zero() { in invert()
221 *last_element &= mask; in invert()
231 let mut mask = T::make_mask(n % T::bit_size()); in is_full() localVariable
232 if mask == T::zero() { in is_full()
233 mask = T::max(); in is_full()
236 T::bit_and(&mut element, &mask); in is_full()
237 if element == mask { in is_full()