Lines Matching refs:m_ptr
38 return m_ptr _op_ o.m_ptr; \
41 return m_ptr _op_ o; \
45 return m_ptr _op_ o.m_ptr; \
49 return m_ptr _op_ o; \
52 return m_ptr _op_ o.m_ptr; \
56 return m_ptr _op_ o.m_ptr; \
65 inline sp() : m_ptr(0) { } in sp()
91 inline T& operator* () const { return *m_ptr; }
92 inline T* operator-> () const { return m_ptr; }
93 inline T* get() const { return m_ptr; } in get()
108 T* m_ptr; variable
121 : m_ptr(other) in sp()
128 : m_ptr(other.m_ptr) in sp()
130 if (m_ptr) m_ptr->incStrong(this); in sp()
134 sp<T>::sp(U* other) : m_ptr(other) in sp()
141 : m_ptr(other.m_ptr) in sp()
143 if (m_ptr) m_ptr->incStrong(this); in sp()
149 if (m_ptr) m_ptr->decStrong(this); in ~sp()
154 T* otherPtr(other.m_ptr);
156 if (m_ptr) m_ptr->decStrong(this);
157 m_ptr = otherPtr;
165 if (m_ptr) m_ptr->decStrong(this);
166 m_ptr = other;
173 T* otherPtr(other.m_ptr);
175 if (m_ptr) m_ptr->decStrong(this);
176 m_ptr = otherPtr;
184 if (m_ptr) m_ptr->decStrong(this);
185 m_ptr = other;
193 m_ptr = other; in force_set()
199 if (m_ptr) { in clear()
200 m_ptr->decStrong(this); in clear()
201 m_ptr = 0; in clear()
207 m_ptr = ptr; in set_pointer()