Searched refs:counter_ (Results 1 – 8 of 8) sorted by relevance
60 counter_--; in ExecuteOperation()61 if (counter_ == 0) { in ExecuteOperation()62 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()66 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
61 counter_--; in ExecuteOperation()62 if (counter_ == 0) { in ExecuteOperation()63 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()67 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
63 counter_--; in ExecuteOperation()64 if (counter_ == 0) { in ExecuteOperation()65 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()69 counter_ = COUNTER_THRESHOLD; in ExecuteOperation()
43 counter_ = 0; in AppAccountCommonEventObserver()66 while (counter_ != MAX_TRY_TIMES) { in SubscribeCommonEvent()68 counter_ = 0; in SubscribeCommonEvent()71 if (++counter_ == MAX_TRY_TIMES) { in SubscribeCommonEvent()72 ACCOUNT_LOGE("failed to subscribe common event and tried %{public}d times", counter_); in SubscribeCommonEvent()
43 std::int32_t counter_; variable
100 : type_(type), activate_(activate), counter_(0) {} in LockCounter()109 return counter_; in GetCount()119 uint32_t counter_; variable
60 int32_t counter_ { COUNTER_THRESHOLD };
708 ++counter_; in Increase()709 if (counter_ == 1) { in Increase()715 return counter_; in Increase()718 return counter_; in Increase()724 --counter_; in Decrease()725 if (counter_ == 0) { in Decrease()731 return counter_; in Decrease()734 return counter_; in Decrease()739 counter_ = 0; in Clear()