Lines Matching refs:Capacity
843 ASSERT(Capacity() % AreaSize() == 0); in CanExpand()
845 if (Capacity() == max_capacity_) return false; in CanExpand()
847 ASSERT(Capacity() < max_capacity_); in CanExpand()
850 if ((Capacity() + Page::kPageSize) > max_capacity_) return false; in CanExpand()
862 ASSERT(Capacity() <= max_capacity_); in Expand()
912 ASSERT(Capacity() > 0); in ReleasePage()
913 ASSERT(Capacity() % AreaSize() == 0); in ReleasePage()
1098 ASSERT(Capacity() < MaximumCapacity()); in Grow()
1099 int new_capacity = Min(MaximumCapacity(), 2 * static_cast<int>(Capacity())); in Grow()
1105 if (!to_space_.ShrinkTo(from_space_.Capacity())) { in Grow()
1119 if (rounded_new_capacity < Capacity() && in Shrink()
1126 if (!to_space_.GrowTo(from_space_.Capacity())) { in Shrink()
1743 float pct = static_cast<float>(Available()) / Capacity(); in ReportStatistics()
1746 Capacity(), Available(), static_cast<int>(pct*100)); in ReportStatistics()
2454 int pct = static_cast<int>(Available() * 100 / Capacity()); in ReportStatistics()
2458 Capacity(), Waste(), Available(), pct); in ReportStatistics()