Lines Matching refs:footprint_
54 : base_(reinterpret_cast<uint8_t*>(base)), footprint_(capacity), in RosAlloc()
85 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
86 size_t num_of_pages = footprint_ / kPageSize; in RosAlloc()
168 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
172 … if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in AllocPages()
182 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
185 capacity_ - footprint_); in AllocPages()
187 size_t new_footprint = footprint_ + increment; in AllocPages()
203 FreePageRun* new_free_page_run = reinterpret_cast<FreePageRun*>(base_ + footprint_); in AllocPages()
217 DCHECK_LE(footprint_ + increment, capacity_); in AllocPages()
220 << footprint_ << " to " << new_footprint; in AllocPages()
222 footprint_ = new_footprint; in AllocPages()
505 DCHECK_LT(ptr, base_ + footprint_); in FreeInternal()
1032 DCHECK_LT(ptr, base_ + footprint_); in BulkFree()
1305 DCHECK_LT(ptr, base_ + footprint_); in UsableSize()
1356 DCHECK_EQ(footprint_ % kPageSize, static_cast<size_t>(0)); in Trim()
1358 if (it != free_page_runs_.rend() && (last_free_page_run = *it)->End(this) == base_ + footprint_) { in Trim()
1363 DCHECK_EQ(last_free_page_run->End(this), base_ + footprint_); in Trim()
1366 size_t new_footprint = footprint_ - decrement; in Trim()
1392 << footprint_ << " to " << new_footprint; in Trim()
1394 DCHECK_LT(new_footprint, footprint_); in Trim()
1396 footprint_ = new_footprint; in Trim()
1493 return footprint_; in Footprint()