Lines Matching full:handle
31 // Map::Handle h(&m, addr);
38 // Map::Handle h(&m, addr, true);
39 // this will remove the data from the map in Handle dtor
68 class Handle {
70 Handle(AddrHashMap<T, kSize> *map, uptr addr);
71 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove);
72 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create);
74 ~Handle();
92 friend class Handle;
95 void acquire(Handle *h);
96 void release(Handle *h);
101 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr) {
110 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr,
120 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr,
130 AddrHashMap<T, kSize>::Handle::~Handle() {
135 T *AddrHashMap<T, kSize>::Handle::operator->() {
140 bool AddrHashMap<T, kSize>::Handle::created() const {
145 bool AddrHashMap<T, kSize>::Handle::exists() const {
155 void AddrHashMap<T, kSize>::acquire(Handle *h) {
284 void AddrHashMap<T, kSize>::release(Handle *h) {