Lines Matching refs:m_ptr
41 return m_ptr _op_ o.m_ptr; \
44 return m_ptr _op_ o; \
48 return m_ptr _op_ o.m_ptr; \
52 return m_ptr _op_ o; \
204 inline wp() : m_ptr(0) { } in wp()
239 inline T* unsafe_get() const { return m_ptr; } in unsafe_get()
251 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs);
255 return m_ptr == o.m_ptr;
259 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
263 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
267 return (m_ptr == o.m_ptr) ? (m_refs < o.m_refs) : (m_ptr < o.m_ptr);
271 return (m_ptr == o.m_ptr) ? (m_refs < o.m_refs) : (m_ptr < o.m_ptr);
284 T* m_ptr; variable
298 : m_ptr(other) in wp()
305 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
307 if (m_ptr) m_refs->incWeak(this); in wp()
312 : m_ptr(other.m_ptr) in wp()
314 if (m_ptr) { in wp()
315 m_refs = m_ptr->createWeak(this); in wp()
321 : m_ptr(other) in wp()
328 : m_ptr(other.m_ptr) in wp()
330 if (m_ptr) { in wp()
338 : m_ptr(other.m_ptr) in wp()
340 if (m_ptr) { in wp()
341 m_refs = m_ptr->createWeak(this); in wp()
348 if (m_ptr) m_refs->decWeak(this); in ~wp()
356 if (m_ptr) m_refs->decWeak(this);
357 m_ptr = other;
366 T* otherPtr(other.m_ptr);
368 if (m_ptr) m_refs->decWeak(this);
369 m_ptr = otherPtr;
379 T* otherPtr(other.m_ptr);
380 if (m_ptr) m_refs->decWeak(this);
381 m_ptr = otherPtr;
391 if (m_ptr) m_refs->decWeak(this);
392 m_ptr = other;
401 U* otherPtr(other.m_ptr);
403 if (m_ptr) m_refs->decWeak(this);
404 m_ptr = otherPtr;
414 U* otherPtr(other.m_ptr);
415 if (m_ptr) m_refs->decWeak(this);
416 m_ptr = otherPtr;
425 if (m_ptr) m_refs->decWeak(this); in set_object_and_refs()
426 m_ptr = other; in set_object_and_refs()
434 if (m_ptr && m_refs->attemptIncStrong(&result)) { in promote()
435 result.set_pointer(m_ptr); in promote()
443 if (m_ptr) { in clear()
445 m_ptr = 0; in clear()