Lines Matching refs:Handle
34 template<class T> class Handle; variable
41 class Handle : public ValueObject {
43 Handle() : reference_(nullptr) { in Handle() function
46 ALWAYS_INLINE Handle(const Handle<T>& handle) = default;
48 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default;
50 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() function
96 explicit Handle(StackReference<S>* reference) in Handle() function
100 explicit Handle(const Handle<S>& handle) in Handle() function
108 template<class S> friend class Handle; variable
116 class MutableHandle : public Handle<T> {
129 : Handle<T>(reference) { in MutableHandle()
133 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
140 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
149 : Handle<T>(handle) { in MutableHandle()
154 : Handle<T>(reference) { in MutableHandle()
167 class ScopedNullHandle : public Handle<T> {
169 ScopedNullHandle() : Handle<T>(&null_ref_) {} in ScopedNullHandle()