Searched defs:ScopedHashTable (Results 1 - 2 of 2) sorted by relevance
/external/libbrillo/brillo/glib/ |
H A D | object.h | 427 // \brief ScopedHashTable manages the lifetime of a ::GHashTable* with an 430 // The ScopedHashTable is also the start of an adaptor to model a standard 455 class ScopedHashTable { class in namespace:brillo::glib 459 ScopedHashTable() function in class:brillo::glib::ScopedHashTable 463 explicit ScopedHashTable(::GHashTable* p) function in class:brillo::glib::ScopedHashTable 467 ~ScopedHashTable() { 473 DCHECK(object_) << "Retrieve on empty ScopedHashTable.";
|
/external/llvm/include/llvm/ADT/ |
H A D | ScopedHashTable.h | 1 //===- ScopedHashTable.h - A simple scoped hash table -----------*- C++ -*-===// 14 // ScopedHashTable<int, int> HT; 41 class ScopedHashTable; 84 ScopedHashTable<K, V, KInfo, AllocatorTy> &HT; 96 ScopedHashTableScope(ScopedHashTable<K, V, KInfo, AllocatorTy> &HT); 103 friend class ScopedHashTable<K, V, KInfo, AllocatorTy>; 145 class ScopedHashTable { class in namespace:llvm 159 ScopedHashTable(const ScopedHashTable &); // NOT YET IMPLEMENTED 160 void operator=(const ScopedHashTable 164 ScopedHashTable() : CurScope(nullptr) {} function in class:llvm::ScopedHashTable 165 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {} function in class:llvm::ScopedHashTable [all...] |
Completed in 85 milliseconds