Home | History | Annotate | Download | only in tinyutils

Lines Matching refs:m_ptr

23     return m_ptr _op_ o.m_ptr;                                  \
26 return m_ptr _op_ o; \
30 return m_ptr _op_ o.m_ptr; \
34 return m_ptr _op_ o; \
43 inline sp() : m_ptr(0) { }
65 inline T& operator* () const { return *m_ptr; }
66 inline T* operator-> () const { return m_ptr; }
67 inline T* get() const { return m_ptr; }
81 T* m_ptr;
89 : m_ptr(other)
96 : m_ptr(other.m_ptr)
98 if (m_ptr) m_ptr->incStrong(this);
102 sp<T>::sp(U* other) : m_ptr(other)
109 : m_ptr(other.m_ptr)
111 if (m_ptr) m_ptr->incStrong(this);
117 if (m_ptr) m_ptr->decStrong(this);
122 if (other.m_ptr) other.m_ptr->incStrong(this);
123 if (m_ptr) m_ptr->decStrong(this);
124 m_ptr = other.m_ptr;
132 if (m_ptr) m_ptr->decStrong(this);
133 m_ptr = other;
140 if (other.m_ptr) other.m_ptr->incStrong(this);
141 if (m_ptr) m_ptr->decStrong(this);
142 m_ptr = other.m_ptr;
150 if (m_ptr) m_ptr->decStrong(this);
151 m_ptr = other;
158 if (m_ptr) {
159 m_ptr->decStrong(this);
160 m_ptr = 0;