Home
last modified time | relevance | path

Searched refs:count_ (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/common/libs/concurrency/
Dsemaphore.h28 : count_{init_val}, capacity_{cap} {}
32 resoure_cv_.wait(lock, [this]() -> bool { return count_ > 0; }); in SemWait()
33 --count_; in SemWait()
39 room_cv_.wait(lock, [this]() -> bool { return count_ < capacity_; }); in SemPost()
40 ++count_; in SemPost()
48 unsigned int count_; variable
/device/google/cuttlefish/host/libs/audio_connector/
Dcommands.h48 count_(count), in InfoCommand()
52 uint32_t count() const { return count_; } in count()
59 const size_t count_; variable