Lines Matching refs:capacity_
523 : capacity_(0), used_(0), hash_table_(NULL), section_table_(), in Dwp_index()
553 { return this->capacity_; } in hash_table_total_slots()
591 unsigned int capacity_; member in gold::Dwp_output_file::Dwp_index
1734 if (this->capacity_ == 0) in find_or_add()
1737 static_cast<unsigned int>(signature) & (this->capacity_ - 1); in find_or_add()
1744 & (this->capacity_ - 1)) | 1; in find_or_add()
1747 slot = (slot + secondary_hash) & (this->capacity_ - 1); in find_or_add()
1762 gold_assert(slot < this->capacity_); in enter_set()
1780 if (this->used_ * 3 > this->capacity_ * 2) in enter_set()
1789 this->capacity_ = 16; in initialize()
1790 this->hash_table_ = new uint64_t[this->capacity_]; in initialize()
1791 memset(this->hash_table_, 0, this->capacity_ * sizeof(uint64_t)); in initialize()
1792 this->index_table_ = new uint32_t[this->capacity_]; in initialize()
1793 memset(this->index_table_, 0, this->capacity_ * sizeof(uint32_t)); in initialize()
1801 unsigned int old_capacity = this->capacity_; in grow()
1806 this->capacity_ = old_capacity * 2; in grow()
1807 this->hash_table_ = new uint64_t[this->capacity_]; in grow()
1808 memset(this->hash_table_, 0, this->capacity_ * sizeof(uint64_t)); in grow()
1809 this->index_table_ = new uint32_t[this->capacity_]; in grow()
1810 memset(this->index_table_, 0, this->capacity_ * sizeof(uint32_t)); in grow()