Lines Matching refs:m_refCount
77 , m_refCount(nullptr) in SharedPtr()
101 , m_refCount(other.m_refCount) in SharedPtr()
110 , m_refCount(const_cast<SharedPtrRefCounterBase*>(other.m_refCount)) in SharedPtr()
126 m_refCount = nullptr;
142 m_refCount = nullptr; in reset()
157 m_refCount = other.m_refCount;
169 m_refCount = const_cast<SharedPtrRefCounterBase*>(other.m_refCount);
180 long use_count() const { return (m_refCount ? m_refCount->use_count(): 0); } in use_count()
189 m_refCount = new SharedPtrRefCounterImpl<T, Deleter>(ptr, deleter); in create_refcount()
198 m_refCount = nullptr; in create_refcount()
204 if (m_refCount) in add_ref()
205 m_refCount->add_ref(); in add_ref()
207 ASSERT((m_refCount && m_ptr) || (!m_refCount && !m_ptr)); in add_ref()
213 if (m_refCount) in release()
214 m_refCount->release(); in release()
216 ASSERT((m_refCount && m_ptr) || (!m_refCount && !m_ptr)); in release()
220 SharedPtrRefCounterBase* m_refCount; // Number of references. variable