Home | History | Annotate | Download | only in automation

Lines Matching refs:handle

48   bool ContainsHandleImpl(int handle);
49 const void* GetResourceImpl(int handle);
83 // Adds the given resource to this tracker, and returns a handle that
85 // being tracked, the handle may be the same as one returned previously.
102 // Returns true if this tracker currently tracks the given handle.
103 bool ContainsHandle(int handle) {
104 return ContainsHandleImpl(handle);
107 // Returns the resource pointer associated with a given handle, or NULL
108 // if that handle is not present in the mapping.
110 T GetResource(int handle) {
111 return static_cast<T>(const_cast<void*>(GetResourceImpl(handle)));
114 // Returns the handle associated with a given resource pointer, or 0 if
122 // that the associated handle is now invalid.