Lines Matching refs:atomicStrong_
125 "refcnt: %{public}d", objectId, this, atomicStrong_.load(std::memory_order_relaxed), in PrintRefs()
132 RefTracker* newTracker = new RefTracker(refTracker, objectId, atomicStrong_, in GetNewTrace()
176 …: atomicStrong_(INITIAL_PRIMARY_VALUE), atomicWeak_(0), atomicRefCount_(0), atomicFlags_(0), atomi… in RefCounter()
247 int curCount = atomicStrong_.load(std::memory_order_relaxed); in IncStrongRefCount()
249 curCount = atomicStrong_.fetch_add(1, std::memory_order_relaxed); in IncStrongRefCount()
251 atomicStrong_.fetch_sub(INITIAL_PRIMARY_VALUE, std::memory_order_release); in IncStrongRefCount()
268 curCount = atomicStrong_.fetch_sub(1, std::memory_order_release); in DecStrongRefCount()
276 return atomicStrong_.load(std::memory_order_relaxed); in GetStrongRefCount()
359 … if (atomicStrong_.compare_exchange_weak(curCount, curCount + 1, std::memory_order_relaxed)) { in AttemptIncStrongRef()
363 curCount = atomicStrong_.load(std::memory_order_relaxed); in AttemptIncStrongRef()
369 … if (atomicStrong_.compare_exchange_weak(curCount, curCount + 1, std::memory_order_relaxed)) { in AttemptIncStrongRef()
372 curCount = atomicStrong_.load(std::memory_order_relaxed); in AttemptIncStrongRef()
382 curCount = atomicStrong_.fetch_add(1, std::memory_order_relaxed); in AttemptIncStrongRef()
388 atomicStrong_.fetch_sub(INITIAL_PRIMARY_VALUE, std::memory_order_release); in AttemptIncStrongRef()
406 … if (atomicStrong_.compare_exchange_weak(curCount, curCount + 1, std::memory_order_relaxed)) { in AttemptIncStrong()