Lines Matching defs:Handle
30 // Map::Handle h(&m, addr);
37 // Map::Handle h(&m, addr, true);
38 // this will remove the data from the map in Handle dtor
43 // Map::Handle h(&m, addr, false, true);
72 class Handle {
74 Handle(AddrHashMap<T, kSize> *map, uptr addr);
75 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove);
76 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create);
78 ~Handle();
104 friend class Handle;
107 void acquire(Handle *h);
108 void release(Handle *h);
140 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr) {
149 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr,
159 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr,
169 AddrHashMap<T, kSize>::Handle::~Handle() {
174 T *AddrHashMap<T, kSize>::Handle::operator->() {
179 const T &AddrHashMap<T, kSize>::Handle::operator*() const {
184 T &AddrHashMap<T, kSize>::Handle::operator*() {
189 bool AddrHashMap<T, kSize>::Handle::created() const {
194 bool AddrHashMap<T, kSize>::Handle::exists() const {
204 void AddrHashMap<T, kSize>::acquire(Handle *h)
334 void AddrHashMap<T, kSize>::release(Handle *h)