Home | History | Annotate | Download | only in tinyutils

Lines Matching full:m_ptr

32     return m_ptr _op_ o.m_ptr;                                  \
35 return m_ptr _op_ o; \
39 return m_ptr _op_ o.m_ptr; \
43 return m_ptr _op_ o; \
52 inline sp() : m_ptr(0) { }
74 inline T& operator* () const { return *m_ptr; }
75 inline T* operator-> () const { return m_ptr; }
76 inline T* get() const { return m_ptr; }
90 T* m_ptr;
98 : m_ptr(other)
105 : m_ptr(other.m_ptr)
107 if (m_ptr) m_ptr->incStrong(this);
111 sp<T>::sp(U* other) : m_ptr(other)
118 : m_ptr(other.m_ptr)
120 if (m_ptr) m_ptr->incStrong(this);
126 if (m_ptr) m_ptr->decStrong(this);
131 if (other.m_ptr) other.m_ptr->incStrong(this);
132 if (m_ptr) m_ptr->decStrong(this);
133 m_ptr = other.m_ptr;
141 if (m_ptr) m_ptr->decStrong(this);
142 m_ptr = other;
149 if (other.m_ptr) other.m_ptr->incStrong(this);
150 if (m_ptr) m_ptr->decStrong(this);
151 m_ptr = other.m_ptr;
159 if (m_ptr) m_ptr->decStrong(this);
160 m_ptr = other;
167 if (m_ptr) {
168 m_ptr->decStrong(this);
169 m_ptr = 0;