Lines Matching refs:footprint_
55 : base_(reinterpret_cast<uint8_t*>(base)), footprint_(capacity), in RosAlloc()
80 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
81 size_t num_of_pages = footprint_ / kPageSize; in RosAlloc()
160 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
164 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages()
174 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
177 capacity_ - footprint_); in AllocPages()
179 size_t new_footprint = footprint_ + increment; in AllocPages()
195 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages()
209 DCHECK_LE(footprint_ + increment, capacity_); in AllocPages()
212 << footprint_ << " to " << new_footprint; in AllocPages()
214 footprint_ = new_footprint; in AllocPages()
497 DCHECK_LT(ptr, base_ + footprint_); in FreeInternal()
1177 DCHECK_LT(ptr, base_ + footprint_); in BulkFree()
1450 DCHECK_LT(ptr, base_ + footprint_); in UsableSize()
1501 DCHECK_EQ(footprint_ % kPageSize, static_cast<size_t>(0)); in Trim()
1503 if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in Trim()
1508 DCHECK_EQ(last_free_page_run->End(this), base_ + footprint_); in Trim()
1511 size_t new_footprint = footprint_ - decrement; in Trim()
1537 << footprint_ << " to " << new_footprint; in Trim()
1539 DCHECK_LT(new_footprint, footprint_); in Trim()
1541 footprint_ = new_footprint; in Trim()
1638 return footprint_; in Footprint()