Lines Matching refs:capacity_
46 : entries_(nullptr), capacity_(0), size_(0), zone_(zone) {} in ValueNumberingReducer()
58 DCHECK(capacity_ == 0); in Reduce()
60 capacity_ = kInitialCapacity; in Reduce()
68 DCHECK(size_ < capacity_); in Reduce()
69 DCHECK(size_ * kCapacityToSizeRatio < capacity_); in Reduce()
71 const size_t mask = capacity_ - 1; in Reduce()
72 size_t dead = capacity_; in Reduce()
77 if (dead != capacity_) { in Reduce()
86 if (size_ * kCapacityToSizeRatio >= capacity_) Grow(); in Reduce()
88 DCHECK(size_ * kCapacityToSizeRatio < capacity_); in Reduce()
136 size_t const old_capacity = capacity_; in Grow()
137 capacity_ *= kCapacityToSizeRatio; in Grow()
138 entries_ = zone()->NewArray<Node*>(capacity_); in Grow()
139 memset(entries_, 0, sizeof(*entries_) * capacity_); in Grow()
141 size_t const mask = capacity_ - 1; in Grow()