Lines Matching refs:ptr_
76 : ptr_(other.ptr_), factory_(other.factory_) { in TrackedRef()
82 : ptr_(other.ptr_), factory_(other.factory_) { in TrackedRef()
100 T& operator*() const { return *ptr_; }
102 T* operator->() const { return ptr_; }
104 explicit operator bool() const { return ptr_ != nullptr; }
110 : ptr_(ptr), factory_(factory) { in TrackedRef()
114 T* ptr_; variable
123 : ptr_(ptr), self_ref_(WrapUnique(new TrackedRef<T>(ptr_, this))) { in TrackedRefFactory()
124 DCHECK(ptr_); in TrackedRefFactory()
144 return TrackedRef<T>(ptr_, this); in GetTrackedRef()
151 T* const ptr_; variable