Home | History | Annotate | Download | only in utils

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; \
203 inline wp() : m_ptr(0) { }
238 inline T* unsafe_get() const { return m_ptr; }
250 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs);
254 return m_ptr == o.m_ptr;
258 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
262 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
266 return (m_ptr == o.m_ptr) ? (m_refs < o.m_refs) : (m_ptr < o.m_ptr);
270 return (m_ptr == o.m_ptr) ? (m_refs < o.m_refs) : (m_ptr < o.m_ptr);
283 T* m_ptr;
297 : m_ptr(other)
304 : m_ptr(other.m_ptr), m_refs(other.m_refs)
306 if (m_ptr) m_refs->incWeak(this);
311 : m_ptr(other.m_ptr)
313 if (m_ptr) {
314 m_refs = m_ptr->createWeak(this);
320 : m_ptr(other)
327 : m_ptr(other.m_ptr)
329 if (m_ptr) {
337 : m_ptr(other.m_ptr)
339 if (m_ptr) {
340 m_refs = m_ptr->createWeak(this);
347 if (m_ptr) m_refs->decWeak(this);
355 if (m_ptr) m_refs->decWeak(this);
356 m_ptr = other;
365 T* otherPtr(other.m_ptr);
367 if (m_ptr) m_refs->decWeak(this);
368 m_ptr = otherPtr;
378 T* otherPtr(other.m_ptr);
379 if (m_ptr) m_refs->decWeak(this);
380 m_ptr = otherPtr;
390 if (m_ptr) m_refs->decWeak(this);
391 m_ptr = other;
400 U* otherPtr(other.m_ptr);
402 if (m_ptr) m_refs->decWeak(this);
403 m_ptr = otherPtr;
413 U* otherPtr(other.m_ptr);
414 if (m_ptr) m_refs->decWeak(this);
415 m_ptr = otherPtr;
424 if (m_ptr) m_refs->decWeak(this);
425 m_ptr = other;
433 if (m_ptr && m_refs->attemptIncStrong(&result)) {
434 result.set_pointer(m_ptr);
442 if (m_ptr) {
444 m_ptr = 0;