Home | History | Annotate | Download | only in src

Lines Matching refs:keys_

19   DCHECK_NULL(keys_);
23 if (keys_) {
25 heap_->UnregisterStrongRoots(keys_);
26 DeleteArray(keys_);
28 keys_ = nullptr;
55 if (keys_[index] == address) return index; // Found.
56 if (keys_[index] == not_mapped) return -1; // Not found.
59 if (keys_[index] == address) return index; // Found.
60 if (keys_[index] == not_mapped) return -1; // Not found.
72 if (keys_[index] == address) return index; // Found.
73 if (keys_[index] == not_mapped) { // Free entry.
74 keys_[index] = address;
88 DCHECK_NE(keys_[index], not_mapped);
89 keys_[index] = not_mapped;
103 Object* key = keys_[next_index];
113 DCHECK_EQ(not_mapped, keys_[index]);
115 std::swap(keys_[index], keys_[next_index]);
165 keys_ = reinterpret_cast<Object**>(NewPointerArray(capacity_));
167 for (int i = 0; i < capacity_; i++) keys_[i] = not_mapped;
171 heap_->RegisterStrongRoots(keys_, keys_ + capacity_);
205 DCHECK_NE(keys_[index], heap_->not_mapped_symbol());
216 if (keys_[index] != not_mapped) {
234 if (keys_[i] == not_mapped) {
237 int pos = Hash(keys_[i]) & mask_;
240 reinsert.push_back(std::pair<Object*, void*>(keys_[i], values_[i]));
241 keys_[i] = not_mapped;
260 Object** old_keys = keys_;
267 keys_ = reinterpret_cast<Object**>(NewPointerArray(capacity_));
269 for (int i = 0; i < capacity_; i++) keys_[i] = not_mapped;
282 heap_->RegisterStrongRoots(keys_, keys_ + capacity_);