Lines Matching refs:kRegionSize
57 if (LIKELY(num_bytes <= kRegionSize)) { in AllocNonvirtual()
318 DCHECK_GT(num_bytes, kRegionSize); in AllocLarge()
319 size_t num_regs_in_large_region = RoundUp(num_bytes, kRegionSize) / kRegionSize; in AllocLarge()
321 DCHECK_LT((num_regs_in_large_region - 1) * kRegionSize, num_bytes); in AllocLarge()
322 DCHECK_LE(num_bytes, num_regs_in_large_region * kRegionSize); in AllocLarge()
423 size_t allocated = num_regs_in_large_region * kRegionSize; in AllocLargeInRange()
468 DCHECK_ALIGNED(large_obj, kRegionSize); in FreeLarge()
471 uint8_t* end_addr = AlignUp(reinterpret_cast<uint8_t*>(large_obj) + bytes_allocated, kRegionSize); in FreeLarge()
473 for (uint8_t* addr = begin_addr; addr < end_addr; addr += kRegionSize) { in FreeLarge()
496 DCHECK_LT(begin_ + kRegionSize, Top()); in BytesAllocated()
510 DCHECK_LE(bytes, kRegionSize); in BytesAllocated()
517 DCHECK_LT(begin_ + kRegionSize, Top()); in ObjectsAllocated()