Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/concurrency/
Dthread_safe_queue.h48 while (items_.empty()) { in Pop()
51 auto t = std::move(items_.front()); in Pop()
52 items_.pop_front(); in Pop()
58 while (items_.empty()) { in PopAll()
61 return std::move(items_); in PopAll()
72 items_.push_back(std::forward<U>(u)); in Push()
79 return items_.empty(); in IsEmpty()
84 return items_.size() == max_elements_; in IsFull()
90 if (max_elements_ && max_elements_ == items_.size()) { in DropItemsIfAtCapacity()
91 max_elements_handler_(&items_); in DropItemsIfAtCapacity()
[all …]