Home
last modified time | relevance | path

Searched refs:m_refs (Results 1 – 1 of 1) sorted by relevance

/system/core/libutils/include/utils/
DRefBase.h366 inline wp() : m_ptr(nullptr), m_refs(nullptr) { } in wp()
399 inline weakref_type* get_refs() const { return m_refs; } in get_refs()
414 return m_refs == o.m_refs; // Implies m_ptr == o.mptr; see invariants below.
424 return m_refs == o->getWeakRefs(); // Implies m_ptr == o.mptr.
436 return _wp_compare_<std::greater>(m_refs, o.m_refs);
445 return _wp_compare_<std::less>(m_refs, o.m_refs);
459 weakref_type* m_refs; variable
488 m_refs = other ? m_refs = other->createWeak(this) : nullptr; in wp()
493 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
495 if (m_ptr) m_refs->incWeak(this); in wp()
[all …]