Home | History | Annotate | Download | only in utils

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) { }
91 inline T& operator* () const { return *m_ptr; }
92 inline T* operator-> () const { return m_ptr; }
93 inline T* get() const { return m_ptr; }
108 T* m_ptr;
121 : m_ptr(other)
128 : m_ptr(other.m_ptr)
130 if (m_ptr) m_ptr->incStrong(this);
134 sp<T>::sp(U* other) : m_ptr(other)
141 : m_ptr(other.m_ptr)
143 if (m_ptr) m_ptr->incStrong(this);
149 if (m_ptr) m_ptr->decStrong(this);
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;
199 if (m_ptr) {
200 m_ptr->decStrong(this);
201 m_ptr = 0;
207 m_ptr = ptr;