Lines Matching refs:m_ptr
40 return m_ptr _op_ o.m_ptr; \
43 return m_ptr _op_ o; \
47 return m_ptr _op_ o.m_ptr; \
51 return m_ptr _op_ o; \
54 return m_ptr _op_ o.m_ptr; \
58 return m_ptr _op_ o.m_ptr; \
67 inline sp() : m_ptr(0) { } in sp()
93 inline T& operator* () const { return *m_ptr; }
94 inline T* operator-> () const { return m_ptr; }
95 inline T* get() const { return m_ptr; } in get()
110 T* m_ptr; variable
123 : m_ptr(other) in sp()
130 : m_ptr(other.m_ptr) in sp()
132 if (m_ptr) m_ptr->incStrong(this); in sp()
136 sp<T>::sp(U* other) : m_ptr(other) in sp()
143 : m_ptr(other.m_ptr) in sp()
145 if (m_ptr) m_ptr->incStrong(this); in sp()
151 if (m_ptr) m_ptr->decStrong(this); in ~sp()
156 T* otherPtr(other.m_ptr);
158 if (m_ptr) m_ptr->decStrong(this);
159 m_ptr = otherPtr;
167 if (m_ptr) m_ptr->decStrong(this);
168 m_ptr = other;
175 T* otherPtr(other.m_ptr);
177 if (m_ptr) m_ptr->decStrong(this);
178 m_ptr = otherPtr;
186 if (m_ptr) m_ptr->decStrong(this);
187 m_ptr = other;
195 m_ptr = other; in force_set()
201 if (m_ptr) { in clear()
202 m_ptr->decStrong(this); in clear()
203 m_ptr = 0; in clear()
209 m_ptr = ptr; in set_pointer()