Lines Matching defs:HT
14 // ScopedHashTable<int, int> HT;
16 // ScopedHashTableScope<int, int> Scope1(HT);
17 // HT.insert(0, 0);
18 // HT.insert(1, 1);
20 // ScopedHashTableScope<int, int> Scope2(HT);
21 // HT.insert(0, 42);
84 /// HT - The hashtable that we are active for.
85 ScopedHashTable<K, V, KInfo, AllocatorTy> &HT;
87 /// PrevScope - This is the scope that we are shadowing in HT.
96 ScopedHashTableScope(ScopedHashTable<K, V, KInfo, AllocatorTy> &HT);
222 ScopedHashTableScope(ScopedHashTable<K, V, KInfo, Allocator> &ht) : HT(ht) {
223 PrevScope = HT.CurScope;
224 HT.CurScope = this;
230 assert(HT.CurScope == this && "Scope imbalance!");
231 HT.CurScope = PrevScope;
237 assert(HT.TopLevelMap[ThisEntry->getKey()] == ThisEntry &&
239 HT.TopLevelMap.erase(ThisEntry->getKey());
241 ScopedHashTableVal<K, V> *&KeyEntry = HT.TopLevelMap[ThisEntry->getKey()];
250 ThisEntry->Destroy(HT.getAllocator());