Lines Matching defs:RefCounter
20 WeakRefCounter::WeakRefCounter(RefCounter *counter, void *cookie)
64 RefCounter::RefCounter()
68 int RefCounter::GetRefCount()
73 void RefCounter::IncRefCount()
78 void RefCounter::DecRefCount()
87 void RefCounter::SetCallback(const RefPtrCallback& callback)
92 void RefCounter::RemoveCallback()
97 bool RefCounter::IsRefPtrValid()
102 RefCounter::~RefCounter()
106 int RefCounter::IncStrongRefCount(const void * /*objectId*/)
118 int RefCounter::DecStrongRefCount(const void * /*objectId*/)
131 int RefCounter::GetStrongRefCount()
136 int RefCounter::IncWeakRefCount(const void * /*objectId*/)
141 int RefCounter::DecWeakRefCount(const void * /*objectId*/)
156 int RefCounter::GetWeakRefCount()
161 void RefCounter::SetAttemptAcquire()
166 bool RefCounter::IsAttemptAcquireSet()
171 void RefCounter::ClearAttemptAcquire()
176 void RefCounter::ExtendObjectLifetime()
181 bool RefCounter::IsLifeTimeExtended()
186 bool RefCounter::AttemptIncStrongRef(const void *objectId, int &outCount)
231 RefBase::RefBase() : refs_(new RefCounter())
241 refs_ = new RefCounter();
267 refs_ = new RefCounter();