Home | History | Annotate | Download | only in heap

Lines Matching full:start_index

109   // Sets all bits in the range [start_index, end_index).
110 void SetRange(uint32_t start_index, uint32_t end_index) {
111 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
112 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index);
132 // Clears all bits in the range [start_index, end_index).
133 void ClearRange(uint32_t start_index, uint32_t end_index) {
134 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
135 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index);
155 // Returns true if all bits in the range [start_index, end_index) are set.
156 bool AllBitsSetInRange(uint32_t start_index, uint32_t end_index) {
157 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
158 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index);
180 // Returns true if all bits in the range [start_index, end_index) are cleared.
181 bool AllBitsClearInRange(uint32_t start_index, uint32_t end_index) {
182 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
183 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index);