Searched refs:atomicRefCount_ (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | refbase.cpp | 126 … atomicWeak_.load(std::memory_order_relaxed), atomicRefCount_.load(std::memory_order_relaxed)); in PrintRefs() 133 atomicWeak_, atomicRefCount_, getpid(), gettid()); in GetNewTrace() 176 …: atomicStrong_(INITIAL_PRIMARY_VALUE), atomicWeak_(0), atomicRefCount_(0), atomicFlags_(0), atomi… in RefCounter() 182 return atomicRefCount_.load(std::memory_order_relaxed); in GetRefCount() 187 atomicRefCount_.fetch_add(1, std::memory_order_relaxed); in IncRefCount() 192 if (atomicRefCount_.load(std::memory_order_relaxed) > 0) { in DecRefCount() 193 if (atomicRefCount_.fetch_sub(1, std::memory_order_release) == 1) { in DecRefCount()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/ |
H A D | refbase.cpp | 63 …: atomicStrong_(INITIAL_PRIMARY_VALUE), atomicWeak_(0), atomicRefCount_(0), atomicFlags_(0), atomi… in RefCounter() 68 return atomicRefCount_.load(std::memory_order_relaxed); in GetRefCount() 73 atomicRefCount_.fetch_add(1, std::memory_order_relaxed); in IncRefCount() 78 if (atomicRefCount_.load(std::memory_order_relaxed) > 0) { in DecRefCount() 79 if (atomicRefCount_.fetch_sub(1, std::memory_order_release) == 1) { in DecRefCount()
|
/ohos5.0/foundation/multimedia/image_framework/mock/native/src/ |
H A D | refbase.cpp | 68 …: atomicStrong_(INITIAL_PRIMARY_VALUE), atomicWeak_(0), atomicRefCount_(0), atomicFlags_(0), atomi… in RefCounter() 73 return atomicRefCount_.load(std::memory_order_relaxed); in GetRefCount() 78 atomicRefCount_.fetch_add(1, std::memory_order_relaxed); in IncRefCount() 83 if (atomicRefCount_.load(std::memory_order_relaxed) > 0) { in DecRefCount() 84 if (atomicRefCount_.fetch_sub(1, std::memory_order_release) == 1) { in DecRefCount()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.cpp | 148 … atomicWeak_.load(std::memory_order_relaxed), atomicRefCount_.load(std::memory_order_relaxed), in GetNewTrace() 163 …: atomicStrong_(INITIAL_PRIMARY_VALUE), atomicWeak_(0), atomicRefCount_(0), atomicFlags_(0), atomi… in RefCounter() 169 return atomicRefCount_.load(std::memory_order_relaxed); in GetRefCount() 174 atomicRefCount_.fetch_add(1, std::memory_order_relaxed); in IncRefCount() 179 if (atomicRefCount_.load(std::memory_order_relaxed) > 0) { in DecRefCount() 180 if (atomicRefCount_.fetch_sub(1, std::memory_order_release) == 1) { in DecRefCount()
|
H A D | refbase.h | 255 std::atomic<int> atomicRefCount_; // = (num of WeakRefCounter) + 1 variable
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 76 std::atomic<int> atomicRefCount_; variable
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | refbase.h | 265 std::atomic<int> atomicRefCount_; // = (num of WeakRefCounter) + 1 variable
|