Lines Matching refs:m_refCount
23 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()
100 if (0 == --*m_refCount) { in dispose()
101 delete m_refCount; in dispose() local
104 m_refCount = 0; in dispose()
108 int* m_refCount; variable