• Home
  • Raw
  • Download

Lines Matching refs:MarkBit

13 class MarkBit {
17 inline MarkBit(CellType* cell, CellType mask) : cell_(cell), mask_(mask) {} in MarkBit() function
20 bool operator==(const MarkBit& other) {
29 inline MarkBit Next() { in Next()
32 return MarkBit(cell_ + 1, 1); in Next()
34 return MarkBit(cell_, new_mask); in Next()
70 return sizeof(MarkBit::CellType) * cells_count; in SizeFor()
89 INLINE(MarkBit::CellType* cells()) { in INLINE()
90 return reinterpret_cast<MarkBit::CellType*>(this); in INLINE()
99 inline MarkBit MarkBitFromIndex(uint32_t index) { in MarkBitFromIndex()
100 MarkBit::CellType mask = 1u << IndexInCell(index); in MarkBitFromIndex()
101 MarkBit::CellType* cell = this->cells() + (index >> kBitsPerCellLog2); in MarkBitFromIndex()
102 return MarkBit(cell, mask); in MarkBitFromIndex()
112 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in SetRange()
115 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); in SetRange()
135 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in ClearRange()
138 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); in ClearRange()
158 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in AllBitsSetInRange()
161 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); in AllBitsSetInRange()
163 MarkBit::CellType matching_mask; in AllBitsSetInRange()
183 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); in AllBitsClearInRange()
186 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); in AllBitsClearInRange()
188 MarkBit::CellType matching_mask; in AllBitsClearInRange()
274 INLINE(static bool IsImpossible(MarkBit mark_bit)) { in INLINE()
280 INLINE(static bool IsBlack(MarkBit mark_bit)) { in INLINE()
286 INLINE(static bool IsWhite(MarkBit mark_bit)) { in INLINE()
293 INLINE(static bool IsGrey(MarkBit mark_bit)) { in INLINE()
299 INLINE(static bool IsBlackOrGrey(MarkBit mark_bit)) { return mark_bit.Get(); } in INLINE()
301 INLINE(static void MarkBlack(MarkBit mark_bit)) { in INLINE()
306 INLINE(static void MarkWhite(MarkBit mark_bit)) { in INLINE()
311 INLINE(static void BlackToWhite(MarkBit markbit)) { in INLINE()
317 INLINE(static void GreyToWhite(MarkBit markbit)) { in INLINE()
323 INLINE(static void BlackToGrey(MarkBit markbit)) { in INLINE()
328 INLINE(static void WhiteToGrey(MarkBit markbit)) { in INLINE()
333 INLINE(static void WhiteToBlack(MarkBit markbit)) { in INLINE()
339 INLINE(static void GreyToBlack(MarkBit markbit)) { in INLINE()
344 INLINE(static void AnyToGrey(MarkBit markbit)) { in INLINE()
370 static ObjectColor Color(MarkBit mark_bit) { in Color()