Home
last modified time | relevance | path

Searched refs:count_ (Results 1 - 7 of 7) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Dsemaphore_ex.h63 explicit Semaphore(int value = 1) : count_(value) {} in Semaphore()
83 int count_; // Initial value of the semaphore object. member in OHOS::Semaphore
H A Dio_event_reactor.h102 std::atomic<uint32_t> count_; member in OHOS::Utils::IOEventReactor
/commonlibrary/c_utils/base/src/
H A Dsemaphore_ex.cpp32 if (--count_ < 0) { in Wait()
40 if (++count_ <= 0) { in Post()
H A Dio_event_reactor.cpp31 :loopReady_(false), enabled_(false), count_(0), ioHandlers_(INIT_FD_NUMS), backend_(new IOEventEpoll()) {} in IOEventReactor()
109 count_++; in AddHandler()
167 count_--; in RemoveHandler()
287 if (count_ ==0) { in Run()
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dsequence_runner.h55 uint64_t count_ = 0; member in Commonlibrary::Concurrent::TaskPoolModule::SequenceRunner
H A Dtask_manager.cpp1727 seqRunner->count_++; in CreateOrGetGlobalRunner()
1756 return --(seqRunner->count_); in DecreaseSeqCount()
/commonlibrary/ets_utils/js_concurrent_module/taskpool/test/
H A Dtest_taskpool.cpp2000 seqRunner2->count_ = 0; in HWTEST_F()

Completed in 15 milliseconds