Searched refs:PriorityQueue (Results 1 – 4 of 4) sorted by relevance
/system/chre/util/include/chre/util/ |
D | priority_queue_impl.h | 29 PriorityQueue<ElementType, CompareFunction>::PriorityQueue() {} in PriorityQueue() function 32 PriorityQueue<ElementType, CompareFunction>::PriorityQueue( in PriorityQueue() function 37 size_t PriorityQueue<ElementType, CompareFunction>::size() const { in size() 42 size_t PriorityQueue<ElementType, CompareFunction>::capacity() const { in capacity() 47 bool PriorityQueue<ElementType, CompareFunction>::empty() const { in empty() 52 bool PriorityQueue<ElementType, CompareFunction>::push( in push() 63 bool PriorityQueue<ElementType, CompareFunction>::emplace(Args&&... args) { in emplace() 72 ElementType& PriorityQueue<ElementType, CompareFunction>::operator[]( 78 const ElementType& PriorityQueue<ElementType, CompareFunction>::operator[]( 84 ElementType& PriorityQueue<ElementType, CompareFunction>::top() { in top() [all …]
|
D | priority_queue.h | 33 class PriorityQueue : public NonCopyable { 38 PriorityQueue(); 46 PriorityQueue(const CompareFunction& compare); 158 typename PriorityQueue<ElementType, CompareFunction>::iterator begin(); 159 typename PriorityQueue<ElementType, CompareFunction>::const_iterator begin() const; 160 typename PriorityQueue<ElementType, CompareFunction>::const_iterator cbegin() const; 165 typename PriorityQueue<ElementType, CompareFunction>::iterator end(); 166 typename PriorityQueue<ElementType, CompareFunction>::const_iterator end() const; 167 typename PriorityQueue<ElementType, CompareFunction>::const_iterator cend() const;
|
/system/chre/util/tests/ |
D | priority_queue_test.cc | 4 using chre::PriorityQueue; 43 PriorityQueue<int> q; in TEST() 50 PriorityQueue<int> q; in TEST() 61 PriorityQueue<int> q; in TEST() 72 PriorityQueue<int> q; in TEST() 85 PriorityQueue<int> q; in TEST() 96 PriorityQueue<int> q; in TEST() 102 PriorityQueue<int> q; in TEST() 107 PriorityQueue<int> q; in TEST() 120 PriorityQueue<int> q; in TEST() [all …]
|
/system/chre/core/include/chre/core/ |
D | timer_pool.h | 127 PriorityQueue<TimerRequest, std::greater<TimerRequest>> mTimerRequests;
|