/foundation/distributedhardware/distributed_camera/services/channel/src/ |
H A D | dcamera_low_latency.cpp | 31 if (refCount_ > REF_INITIAL) { in EnableLowLatency() 32 refCount_++; in EnableLowLatency() 33 DHLOGD("No need to enable low latency, refCount just plus one and now is: %{public}d.", refCount_.load()); in EnableLowLatency() 53 refCount_++; in EnableLowLatency() 54 DHLOGD("Enable low latency success and now refCount is: %d", refCount_.load()); in EnableLowLatency() 63 if (refCount_ == REF_INITIAL) { in DisableLowLatency() 67 if (refCount_ > REF_NORMAL) { in DisableLowLatency() 68 refCount_--; in DisableLowLatency() 69 DHLOGD("No need to disable low latency, refCount just minus one and now is: %{public}d.", refCount_.load()); in DisableLowLatency() 89 refCount_ in DisableLowLatency() [all...] |
H A D | dcamera_softbus_latency.cpp | 49 if (refCount_[devId] > REF_INITIAL) { in StartSoftbusTimeSync() 50 refCount_[devId]++; in StartSoftbusTimeSync() 51 DHLOGD("No need to start time offset, refCount just plus one and now is: %{public}d.", refCount_[devId]); in StartSoftbusTimeSync() 65 refCount_[devId]++; in StartSoftbusTimeSync() 77 if (refCount_[devId] == REF_INITIAL) { in StopSoftbusTimeSync() 81 if (refCount_[devId] > REF_NORMAL) { in StopSoftbusTimeSync() 82 refCount_[devId]--; in StopSoftbusTimeSync() 83 DHLOGD("No need to stop time offset, refCount just minus one and now is: %{public}d.", refCount_[devId]); in StopSoftbusTimeSync() 93 refCount_[devId]--; in StopSoftbusTimeSync() 95 refCount_ in StopSoftbusTimeSync() [all...] |
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_reference.cpp | 38 refCount_(initialRefcount), in ArkNativeReference() 60 refCount_(initialRefcount), in ArkNativeReference() 88 ++refCount_; in Ref() 89 if (refCount_ == 1) { in Ref() 92 return refCount_; in Ref() 97 if (refCount_ == 0) { in Unref() 98 return refCount_; in Unref() 100 --refCount_; in Unref() 102 return refCount_; in Unref() 104 if (refCount_ in Unref() [all...] |
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | light_refcount_base.cpp | 22 const int beforeCount = refCount_.fetch_add(1, std::memory_order_relaxed); in AddRef() 28 if (refCount_ == 0) { in Release() 32 const int beforeCount = refCount_.fetch_sub(1, std::memory_order_release); in Release()
|
H A D | light_refcount_base.h | 25 inline LightRefCountBase() : refCount_(0) {} in LightRefCountBase() 33 return refCount_.load(std::memory_order_relaxed); in GetRefCount() 40 std::atomic<int> refCount_; member in OHOS::Idl::LightRefCountBase
|
/foundation/ability/idl_tool/util/ |
H A D | light_refcount_base.cpp | 22 const int beforeCount = refCount_.fetch_add(1, std::memory_order_relaxed); in AddRef() 28 if (refCount_ == 0) { in Release() 32 const int beforeCount = refCount_.fetch_sub(1, std::memory_order_release); in Release()
|
H A D | light_refcount_base.h | 25 LightRefCountBase() : refCount_(0) {} in LightRefCountBase() 33 return refCount_.load(std::memory_order_relaxed); in GetRefCount() 40 std::atomic<int> refCount_; member in OHOS::Idl::LightRefCountBase
|
H A D | string.cpp | 36 : refCount_(refCount), shareDataSize(size) 55 std::atomic<int> refCount_; member 87 int before = data->refCount_.fetch_add(1); in AddRef() 100 int before = data->refCount_.fetch_sub(1); in Release()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | mpeg_manager_factory.cpp | 40 refCount_++; in Acquire() 57 refCount_ = 1; in Acquire() 67 if (--refCount_ == 0) { in Release()
|
/foundation/ai/ai_engine/services/server/server_executor/source/ |
H A D | engine.cpp | 31 : refCount_(0), in Engine() 61 return refCount_; in GetEngineReference() 66 ++refCount_; in AddEngineReference() 71 refCount_--; in DelEngineReference()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | ref_object.cpp | 70 : refCount_(1), in RefObject() 76 int refCount = refCount_.load(std::memory_order_seq_cst); in ~RefObject() 161 int refCount = obj->refCount_.fetch_add(1, std::memory_order_seq_cst); in IncObjRef() 173 int refCount = obj->refCount_.fetch_sub(1, std::memory_order_seq_cst); in DecObjRef()
|
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/ |
H A D | video_processing_loader.cpp | 35 if (refCount_ > 0) { in LoadLibrary() 36 refCount_++; in LoadLibrary() 43 refCount_++; in LoadLibrary() 50 if (refCount_ == 0) { in UnloadLibrary() 55 refCount_--; in UnloadLibrary() 56 if (refCount_ > 0) { in UnloadLibrary()
|
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/image_processing/ |
H A D | image_processing_loader.cpp | 35 if (refCount_ > 0) { in LoadLibrary() 36 refCount_++; in LoadLibrary() 43 refCount_++; in LoadLibrary() 50 if (refCount_ == 0) { in UnloadLibrary() 55 refCount_--; in UnloadLibrary() 56 if (refCount_ > 0) { in UnloadLibrary()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/ |
H A D | matrix_event.cpp | 40 refCount_ = std::move(refCount); in SetRefCount() 45 return std::move(refCount_); in StealRefCount()
|
/foundation/ai/ai_engine/services/server/communication_adapter/source/ |
H A D | sa_server_adapter.cpp | 35 SaServerAdapter::SaServerAdapter(int adapterId) : adapterId_(adapterId), refCount_(0) in SaServerAdapter() 56 ++refCount_; in IncRef() 61 refCount_--; in DecRef() 66 return refCount_; in GetRefCount()
|
/foundation/distributedhardware/distributed_camera/services/channel/include/ |
H A D | dcamera_low_latency.h | 40 std::atomic<int> refCount_ = 0; member in OHOS::DistributedHardware::DCameraLowLatency
|
H A D | dcamera_softbus_latency.h | 44 std::map<std::string, int32_t> refCount_; member in OHOS::DistributedHardware::DCameraSoftbusLatency
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | filesystem_api.cpp | 71 uint32_t refCount_ { 0 }; 222 refCount_++; in Ref() 227 if (--refCount_ == 0) { in Unref()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.h | 65 refCount_.fetch_add(1, std::memory_order_relaxed); in Ref() 69 if (refCount_.fetch_sub(1, std::memory_order_release) == 1) { in Unref() 76 std::atomic_int32_t refCount_ { 0 };
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/media_manager/ |
H A D | mpeg_manager_factory.h | 35 uint32_t refCount_ {0};
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/ |
H A D | dsched_softbus_session.cpp | 35 refCount_ = COUNT_INIT_NUM; in DSchedSoftbusSession() 49 refCount_ = COUNT_INIT_NUM; in DSchedSoftbusSession() 61 refCount_++; in OnConnect() 62 HILOGI("session %{public}d current ref cnt: %{public}d", sessionId_, refCount_.load()); in OnConnect() 67 refCount_--; in OnDisconnect() 68 HILOGI("session %{public}d current ref cnt: %{public}d", sessionId_, refCount_.load()); in OnDisconnect() 69 if (refCount_ <= 0) { in OnDisconnect()
|
/foundation/ai/ai_engine/services/server/server_executor/include/ |
H A D | engine.h | 87 std::atomic<int> refCount_; member in OHOS::AI::Engine
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/include/ |
H A D | matrix_event.h | 47 mutable RefCount refCount_; member in OHOS::DistributedData::MatrixEvent
|
/foundation/ai/ai_engine/services/server/communication_adapter/include/ |
H A D | sa_server_adapter.h | 150 std::atomic<int> refCount_; member in OHOS::AI::SaServerAdapter
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | ref_object.h | 73 mutable std::atomic<int> refCount_; member in DistributedDB::RefObject
|