Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/Mangler/
DRefcount.h23 RefCount(): m_refCount(0), m_ptr(0) { in RefCount()
27 m_refCount = new int(1); in RefCount()
35 if (m_refCount) in ~RefCount()
42 if (m_refCount)
50 assert(!m_refCount && "overrunning non NULL pointer"); in init()
51 m_refCount = new int(1); in init()
88 assert(m_refCount && "NULL ref counter"); in sanity()
89 assert(*m_refCount && "zero ref counter"); in sanity()
93 m_refCount = other.m_refCount; in cpy()
95 if (m_refCount) ++*m_refCount; in cpy()
[all …]
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp61 int getRefCount (void) const { return m_refCount; } in getRefCount()
62 void incRefCount (void) { m_refCount += 1; } in incRefCount()
63 void decRefCount (void) { DE_ASSERT(m_refCount > 0); m_refCount -= 1; } in decRefCount()
66 NamedObject (deUint32 name) : m_name(name), m_refCount(1) {} in NamedObject()
70 int m_refCount; member in sglr::rc::NamedObject