Lines Matching refs:capacity_
60 capacity_(capacity), max_capacity_(max_capacity), in RosAlloc()
81 << std::hex << (intptr_t)(base_ + capacity_) in RosAlloc()
82 << ", capacity=" << std::dec << capacity_ in RosAlloc()
90 DCHECK_EQ(footprint_, capacity_); in RosAlloc()
108 free_pages->SetByteSize(this, capacity_); in RosAlloc()
109 DCHECK_EQ(capacity_ % kPageSize, static_cast<size_t>(0)); in RosAlloc()
126 MEMORY_TOOL_MAKE_DEFINED(base_, capacity_); in ~RosAlloc()
176 if (UNLIKELY(res == nullptr && capacity_ > footprint_)) { in AllocPages()
190 if (capacity_ - footprint_ + last_free_page_run_size >= req_byte_size) { in AllocPages()
193 capacity_ - footprint_); in AllocPages()
225 DCHECK_LE(footprint_ + increment, capacity_); in AllocPages()
522 DCHECK_LT(pm_idx, capacity_ / kPageSize); in FreeInternal()
1046 DCHECK_LT(pi, capacity_ / kPageSize); in BulkFree()
1073 DCHECK_LT(pi, capacity_ / kPageSize); in BulkFree()
1330 DCHECK_LT(pm_idx, capacity_ / kPageSize); in UsableSize()
1390 DCHECK_LT(new_footprint, capacity_); in Trim()
1493 return capacity_; in FootprintLimit()
1500 if (capacity_ < new_capacity) { in SetFootprintLimit()
1502 capacity_ = new_capacity; in SetFootprintLimit()
1503 VLOG(heap) << "new capacity=" << capacity_; in SetFootprintLimit()