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(ModuloPageSize(capacity_), 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, DivideByPageSize(capacity_)); in FreeInternal()
1043 DCHECK_LT(pi, DivideByPageSize(capacity_)); in BulkFree()
1070 DCHECK_LT(pi, DivideByPageSize(capacity_)); in BulkFree()
1327 DCHECK_LT(pm_idx, DivideByPageSize(capacity_)); in UsableSize()
1387 DCHECK_LT(new_footprint, capacity_); in Trim()
1487 return capacity_; in FootprintLimit()
1494 if (capacity_ < new_capacity) { in SetFootprintLimit()
1496 capacity_ = new_capacity; in SetFootprintLimit()
1497 VLOG(heap) << "new capacity=" << capacity_; in SetFootprintLimit()