Lines Matching refs:RefCount
55 mutable uint64_t RefCount;
62 TgtPtrBegin(TB), RefCount(IsINF ? INFRefCount : 1) {} in HstPtrBase()
65 return RefCount; in getRefCount()
69 if (RefCount != INFRefCount) in resetRefCount()
70 RefCount = 1; in resetRefCount()
72 return RefCount; in resetRefCount()
76 if (RefCount != INFRefCount) { in incRefCount()
77 ++RefCount; in incRefCount()
78 assert(RefCount < INFRefCount && "refcount overflow"); in incRefCount()
81 return RefCount; in incRefCount()
85 if (RefCount != INFRefCount) { in decRefCount()
86 assert(RefCount > 0 && "refcount underflow"); in decRefCount()
87 --RefCount; in decRefCount()
90 return RefCount; in decRefCount()
94 return RefCount == INFRefCount; in isRefCountInf()