Lines Matching defs:kCardSize
39 static constexpr size_t kCardSize = gc::accounting::CardTable::kCardSize;
62 size_t offset = RoundDown(addr - heap_begin_, kCardSize);
66 for (const byte* addr = HeapBegin(); addr != HeapLimit(); addr += kCardSize) {
106 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), 8U * kCardSize);
109 for (byte* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += kCardSize) {
110 start_offset = (start_offset + kObjectAlignment) % kCardSize;
112 for (byte* cend = HeapLimit() - delta; cend < HeapLimit(); cend += kCardSize) {
116 end_offset = (end_offset + kObjectAlignment) % kCardSize;
120 for (byte* cur = start - kCardSize; cur >= HeapBegin(); cur -= kCardSize) {
123 for (byte* cur = end + kCardSize; cur < HeapLimit(); cur += kCardSize) {
127 for (byte* cur = start; cur < AlignUp(end, kCardSize); cur += kCardSize) {