Lines Matching refs:m_refs
237 inline weakref_type* get_refs() const { return m_refs; } in get_refs()
251 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs);
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);
273 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
285 weakref_type* m_refs; variable
300 if (other) m_refs = other->createWeak(this); 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()
315 m_refs = m_ptr->createWeak(this); in wp()
323 if (other) m_refs = other->createWeak(this); in wp()
331 m_refs = other.m_refs; in wp()
332 m_refs->incWeak(this); 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);
358 m_refs = newRefs;
365 weakref_type* otherRefs(other.m_refs);
368 if (m_ptr) m_refs->decWeak(this);
370 m_refs = otherRefs;
380 if (m_ptr) m_refs->decWeak(this);
382 m_refs = newRefs;
391 if (m_ptr) m_refs->decWeak(this);
393 m_refs = newRefs;
400 weakref_type* otherRefs(other.m_refs);
403 if (m_ptr) m_refs->decWeak(this);
405 m_refs = otherRefs;
415 if (m_ptr) m_refs->decWeak(this);
417 m_refs = newRefs;
425 if (m_ptr) m_refs->decWeak(this); in set_object_and_refs()
427 m_refs = refs; in set_object_and_refs()
434 if (m_ptr && m_refs->attemptIncStrong(&result)) { in promote()
444 m_refs->decWeak(this); in clear()