Searched refs:m_pCount (Results 1 – 2 of 2) sorted by relevance
124 long * m_pCount; member in store::SharedCount149 : m_pCount(Allocator::get().alloc()) in SharedCount()151 if (m_pCount != 0) (*m_pCount) = 1; in SharedCount()156 if (m_pCount != 0) in ~SharedCount()158 long new_count = --(*m_pCount); in ~SharedCount()160 Allocator::get().free(m_pCount); in ~SharedCount()166 store::swap(m_pCount, rhs.m_pCount); in swap()170 : m_pCount (rhs.m_pCount) in SharedCount()172 if (m_pCount != 0) ++(*m_pCount); in SharedCount()183 return (m_pCount != 0) ? *m_pCount == count : false; in operator ==()
50 long * m_pCount; member in SharedCount75 : m_pCount(Allocator::get().alloc()) in SharedCount()77 if (m_pCount != 0) (*m_pCount) = 1; in SharedCount()82 if (m_pCount != 0) in ~SharedCount()84 long new_count = --(*m_pCount); in ~SharedCount()86 Allocator::get().free(m_pCount); in ~SharedCount()92 return (m_pCount != 0) ? *m_pCount == count : false; in operator ==()104 swap<long*>(lhs.m_pCount, rhs.m_pCount); in swap()108 : m_pCount (rhs.m_pCount) in SharedCount()110 if (m_pCount != 0) ++(*m_pCount); in SharedCount()
Completed in 25 milliseconds