Home
last modified time | relevance | path

Searched refs:refCount_ (Results 1 - 25 of 47) sorted by relevance

12

/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_low_latency.cpp31 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 Ddcamera_softbus_latency.cpp49 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 Dark_native_reference.cpp38 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 Dlight_refcount_base.cpp22 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 Dlight_refcount_base.h25 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 Dlight_refcount_base.cpp22 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 Dlight_refcount_base.h25 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 Dstring.cpp36 : 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 Dmpeg_manager_factory.cpp40 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 Dengine.cpp31 : 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 Dref_object.cpp70 : 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 Dvideo_processing_loader.cpp35 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 Dimage_processing_loader.cpp35 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 Dmatrix_event.cpp40 refCount_ = std::move(refCount); in SetRefCount()
45 return std::move(refCount_); in StealRefCount()
/foundation/ai/ai_engine/services/server/communication_adapter/source/
H A Dsa_server_adapter.cpp35 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 Ddcamera_low_latency.h40 std::atomic<int> refCount_ = 0; member in OHOS::DistributedHardware::DCameraLowLatency
H A Ddcamera_softbus_latency.h44 std::map<std::string, int32_t> refCount_; member in OHOS::DistributedHardware::DCameraSoftbusLatency
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dfilesystem_api.cpp71 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 Dohos_file.h65 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 Dmpeg_manager_factory.h35 uint32_t refCount_ {0};
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/
H A Ddsched_softbus_session.cpp35 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 Dengine.h87 std::atomic<int> refCount_; member in OHOS::AI::Engine
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/include/
H A Dmatrix_event.h47 mutable RefCount refCount_; member in OHOS::DistributedData::MatrixEvent
/foundation/ai/ai_engine/services/server/communication_adapter/include/
H A Dsa_server_adapter.h150 std::atomic<int> refCount_; member in OHOS::AI::SaServerAdapter
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dref_object.h73 mutable std::atomic<int> refCount_; member in DistributedDB::RefObject

Completed in 8 milliseconds

12