Lines Matching defs:mask
19 inline MarkBit(CellType* cell, CellType mask) : cell_(cell), mask_(mask) {}
137 MarkBit::CellType mask = 1u << IndexInCell(index);
139 return MarkBit(cell, mask);
150 // Clears bits in the given cell. The mask specifies bits to clear: if a
151 // bit is set in the mask then the corresponding bit is cleared in the cell.
152 void ClearBitsInCell(uint32_t cell_index, uint32_t mask);
154 // Sets bits in the given cell. The mask specifies bits to set: if a
155 // bit is set in the mask then the corresponding bit is set in the cell.
156 void SetBitsInCell(uint32_t cell_index, uint32_t mask);
248 uint32_t cell_index, uint32_t mask) {
249 cells()[cell_index] |= mask;
254 uint32_t cell_index, uint32_t mask) {
255 base::AsAtomic32::SetBits(cells() + cell_index, mask, mask);
260 uint32_t cell_index, uint32_t mask) {
261 cells()[cell_index] &= ~mask;
266 uint32_t cell_index, uint32_t mask) {
267 base::AsAtomic32::SetBits(cells() + cell_index, 0u, mask);