Home | History | Annotate | Download | only in src

Lines Matching refs:MarkBit

124 class MarkBit {
128 inline MarkBit(CellType* cell, CellType mask, bool data_only)
135 bool operator==(const MarkBit& other) {
146 inline MarkBit Next() {
149 return MarkBit(cell_ + 1, 1, data_only_);
151 return MarkBit(cell_, new_mask, data_only_);
161 // at the place where the MarkBit object is created.
191 return sizeof(MarkBit::CellType) * cells_count;
206 INLINE(MarkBit::CellType* cells()) {
207 return reinterpret_cast<MarkBit::CellType*>(this);
218 inline MarkBit MarkBitFromIndex(uint32_t index, bool data_only = false) {
219 MarkBit::CellType mask = 1 << (index & kBitIndexMask);
220 MarkBit::CellType* cell = this->cells() + (index >> kBitsPerCellLog2);
221 return MarkBit(cell, mask, data_only);