Lines Matching refs:key
73 StoreKey* Add(Thread* self, const InKey& key) { in Add() argument
78 HashType raw_hash = HashFunc()(key); in Add()
85 HashedInKey hashed_in_key(shard_hash, &key); in Add()
95 hashed_key.store_ptr = CreateStoreKey(key); in Add()
127 for (const HashedKey& key : keys_[shard]) { in DumpStats() local
128 DCHECK(key.store_ptr != nullptr); in DumpStats()
129 if (key.store_hash == last_hash) { in DumpStats()
139 last_hash = key.store_hash; in DumpStats()
148 StoreKey* CreateStoreKey(const InKey& key) { in CreateStoreKey() argument
150 allocator_.construct(ret, key.begin(), key.end(), allocator_); in CreateStoreKey()
154 void DeleteStoreKey(StoreKey* key) { in DeleteStoreKey() argument
156 alloc.destroy(key); in DeleteStoreKey()
157 alloc.deallocate(key, 1); in DeleteStoreKey()