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