• Home
  • Raw
  • Download

Lines Matching refs:m_refs

236     inline  weakref_type* get_refs() const { return m_refs; }  in get_refs()
250 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs);
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);
272 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
284 weakref_type* m_refs; variable
299 if (other) m_refs = other->createWeak(this); in wp()
304 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
306 if (m_ptr) m_refs->incWeak(this); in wp()
314 m_refs = m_ptr->createWeak(this); in wp()
322 if (other) m_refs = other->createWeak(this); in wp()
330 m_refs = other.m_refs; in wp()
331 m_refs->incWeak(this); in wp()
340 m_refs = m_ptr->createWeak(this); in wp()
347 if (m_ptr) m_refs->decWeak(this); in ~wp()
355 if (m_ptr) m_refs->decWeak(this);
357 m_refs = newRefs;
364 weakref_type* otherRefs(other.m_refs);
367 if (m_ptr) m_refs->decWeak(this);
369 m_refs = otherRefs;
379 if (m_ptr) m_refs->decWeak(this);
381 m_refs = newRefs;
390 if (m_ptr) m_refs->decWeak(this);
392 m_refs = newRefs;
399 weakref_type* otherRefs(other.m_refs);
402 if (m_ptr) m_refs->decWeak(this);
404 m_refs = otherRefs;
414 if (m_ptr) m_refs->decWeak(this);
416 m_refs = newRefs;
424 if (m_ptr) m_refs->decWeak(this); in set_object_and_refs()
426 m_refs = refs; in set_object_and_refs()
433 if (m_ptr && m_refs->attemptIncStrong(&result)) { in promote()
443 m_refs->decWeak(this); in clear()