/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | entity_reference.h | 68 : entity_(entity), counter_(counter) in EntityReference() 72 …erence(const EntityReference& other) noexcept : entity_(other.entity_), counter_(other.counter_) {} in EntityReference() 76 …: entity_(BASE_NS::exchange(other.entity_, Entity {})), counter_(BASE_NS::exchange(other.counter_,… in EntityReference() 84 counter_ = other.counter_; 95 counter_ = BASE_NS::exchange(other.counter_, nullptr); 111 return EntityUtil::IsValid(entity_) && (counter_); 119 if (counter_) { in GetRefCount() 120 return counter_->GetRefCount(); in GetRefCount() 127 IEntityReferenceCounter::Ptr counter_; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | resource_handle.h | 180 IRenderReferenceCounter::Ptr counter_; variable 185 : handle_(handle), counter_(counter) in RenderHandleReference() 189 : handle_(other.handle_), counter_(other.counter_) in RenderHandleReference() 196 counter_ = other.counter_; 202 …: handle_(BASE_NS::exchange(other.handle_, {})), counter_(BASE_NS::exchange(other.counter_, nullpt… in RenderHandleReference() 209 counter_ = BASE_NS::exchange(other.counter_, nullptr); 216 return (handle_.id != INVALID_RESOURCE_HANDLE) && (counter_); 231 if (counter_) { in GetRefCount() 232 return counter_->GetRefCount(); in GetRefCount()
|
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_common_event_observer.cpp | 44 counter_ = 0; in AppAccountCommonEventObserver() 68 while (counter_ != MAX_TRY_TIMES) { in SubscribeCommonEvent() 70 counter_ = 0; in SubscribeCommonEvent() 73 if (++counter_ == MAX_TRY_TIMES) { in SubscribeCommonEvent() 74 ACCOUNT_LOGE("failed to subscribe common event and tried %{public}d times", counter_); in SubscribeCommonEvent()
|
/ohos5.0/base/msdp/device_status/libs/src/algorithm/ |
H A D | algo_absolute_still.cpp | 63 counter_--; in ExecuteOperation() 64 if (counter_ == 0) { in ExecuteOperation() 65 counter_ = COUNTER_THRESHOLD; in ExecuteOperation() 69 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
|
H A D | algo_vertical.cpp | 68 counter_--; in ExecuteOperation() 69 if (counter_ == 0) { in ExecuteOperation() 70 counter_ = COUNTER_THRESHOLD; in ExecuteOperation() 74 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
|
H A D | algo_horizontal.cpp | 64 counter_--; in ExecuteOperation() 65 if (counter_ == 0) { in ExecuteOperation() 66 counter_ = COUNTER_THRESHOLD; in ExecuteOperation() 70 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
|
/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | running_lock_counter.cpp | 40 ++counter_; in Increase() 41 if (counter_ == 1) { in Increase() 56 --counter_; in Decrease() 57 if (counter_ == 0) { in Decrease()
|
H A D | running_lock_counter.h | 31 : type_(type), tag_(tag), counter_(0) {} in RunningLockCounter() 38 return counter_; in GetCount() 61 uint32_t counter_; variable
|
/ohos5.0/docs/zh-cn/application-dev/device/stationary/ |
H A D | stationary-guidelines.md | 53 counter_--; 54 if (counter_ == 0) { 55 counter_ = COUNTER_THRESHOLD; 59 counter_ = COUNTER_THRESHOLD;
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | sample_module.cpp | 180 int8_t SampleModule::counter_ = 0; member in OHOS::ACELite::SampleModule 188 counter_ = (int8_t)newValue; in Setter() 190 HILOG_DEBUG(HILOG_MODULE_ACE, "SampleModule: Setter called, setting: %{public}d", counter_); in Setter() 196 counter_++; in Getter() 197 HILOG_DEBUG(HILOG_MODULE_ACE, "SampleModule: Getter called, returning: %{public}d", counter_); in Getter() 198 return JSI::CreateNumber(counter_); in Getter()
|
H A D | sample_module.h | 43 static int8_t counter_; // used for js descriptor test
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/commonevent/ |
H A D | dm_common_event_manager.cpp | 75 while (counter_ != MAX_TRY_TIMES) { in SubscribeServiceEvent() 78 counter_ = 0; in SubscribeServiceEvent() 81 if (++counter_ == MAX_TRY_TIMES) { in SubscribeServiceEvent()
|
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/publishcommonevent/ |
H A D | dm_screen_common_event.cpp | 83 while (counter_ != MAX_TRY_TIMES) { in SubscribeScreenCommonEvent() 86 counter_ = 0; in SubscribeScreenCommonEvent() 89 if (++counter_ == MAX_TRY_TIMES) { in SubscribeScreenCommonEvent()
|
H A D | dm_package_common_event.cpp | 82 while (counter_ != MAX_TRY_TIMES) { in SubscribePackageCommonEvent() 85 counter_ = 0; in SubscribePackageCommonEvent() 88 if (++counter_ == MAX_TRY_TIMES) { in SubscribePackageCommonEvent()
|
H A D | dm_account_common_event.cpp | 83 while (counter_ != MAX_TRY_TIMES) { in SubscribeAccountCommonEvent() 86 counter_ = 0; in SubscribeAccountCommonEvent() 89 if (++counter_ == MAX_TRY_TIMES) { in SubscribeAccountCommonEvent()
|
H A D | dm_publish_common_event.cpp | 85 while (counter_ != MAX_TRY_TIMES) { in SubscribePublishCommonEvent() 88 counter_ = 0; in SubscribePublishCommonEvent() 91 if (++counter_ == MAX_TRY_TIMES) { in SubscribePublishCommonEvent()
|
/ohos5.0/docs/en/application-dev/device/stationary/ |
H A D | stationary-guidelines.md | 53 counter_--; 54 if (counter_ == 0) { 55 counter_ = COUNTER_THRESHOLD; 59 counter_ = COUNTER_THRESHOLD;
|
/ohos5.0/base/powermgr/power_manager/services/native/src/runninglock/ |
H A D | running_lock_mgr.h | 92 : type_(type), activate_(activate), counter_(0) {} in LockCounter() 99 return counter_; in GetCount() 109 uint32_t counter_; variable
|
H A D | running_lock_mgr.cpp | 779 ++counter_; in Increase() 781 if (counter_ == 1) { in Increase() 784 --counter_; in Increase() 795 --counter_; in Decrease() 797 if (counter_ == 0) { in Decrease() 800 ++counter_; in Decrease() 811 counter_ = 0; in Clear()
|
/ohos5.0/foundation/ai/ai_engine/services/common/platform/threadpool/source/ |
H A D | thread.cpp | 26 IWorker::IWorker() : counter_(0), thread_(nullptr), status_(IDLE) in IWorker() 186 ++worker_->counter_; in Run()
|
/ohos5.0/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_common_event_observer.h | 43 std::int32_t counter_; variable
|
/ohos5.0/base/msdp/device_status/libs/include/algorithm/ |
H A D | algo_base.h | 61 int32_t counter_ { COUNTER_THRESHOLD };
|
/ohos5.0/foundation/ai/ai_engine/services/common/platform/threadpool/include/ |
H A D | thread.h | 117 volatile int counter_; variable
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/dependency/commonevent/ |
H A D | dm_common_event_manager.h | 68 int32_t counter_ = 0; variable
|
/ohos5.0/foundation/distributedhardware/device_manager/services/service/include/publishcommonevent/ |
H A D | dm_account_common_event.h | 66 int32_t counter_ = 0; variable
|