Lines Matching refs:num_regs
270 size_t num_regs = RoundUp(num_bytes, kRegionSize) / kRegionSize;
271 DCHECK_GT(num_regs, 0U);
272 DCHECK_LT((num_regs - 1) * kRegionSize, num_bytes);
273 DCHECK_LE(num_bytes, num_regs * kRegionSize);
277 if ((num_non_free_regions_ + num_regs) * 2 > num_regions_) {
283 while (left + num_regs - 1 < num_regions_) {
286 DCHECK_LT(right, left + num_regs)
288 while (right < left + num_regs) {
298 DCHECK_EQ(left + num_regs, right);
312 *usable_size = num_regs * kRegionSize;