Home
last modified time | relevance | path

Searched refs:curCount (Results 1 - 1 of 1) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Drefbase.cpp247 int curCount = atomicStrong_.load(std::memory_order_relaxed); in IncStrongRefCount() local
248 if (curCount >= 0) { in IncStrongRefCount()
249 curCount = atomicStrong_.fetch_add(1, std::memory_order_relaxed); in IncStrongRefCount()
250 if (curCount == INITIAL_PRIMARY_VALUE) { in IncStrongRefCount()
255 return curCount; in IncStrongRefCount()
261 int curCount = GetStrongRefCount(); in DecStrongRefCount() local
262 if (curCount == INITIAL_PRIMARY_VALUE) { in DecStrongRefCount()
265 } else if (curCount > 0) { in DecStrongRefCount()
268 curCount = atomicStrong_.fetch_sub(1, std::memory_order_release); in DecStrongRefCount()
271 return curCount; in DecStrongRefCount()
288 int curCount = GetWeakRefCount(); DecWeakRefCount() local
354 int curCount = GetStrongRefCount(); AttemptIncStrongRef() local
404 int curCount = GetStrongRefCount(); AttemptIncStrong() local
521 const int curCount = refs_->IncStrongRefCount(objectId); IncStrongRef() local
551 const int curCount = refs->DecStrongRefCount(objectId); DecStrongRef() local
[all...]

Completed in 1 milliseconds