Lines Matching refs:priority
32 int priority; member
36 DE_INLINE HeapItem HeapItem_create (int priority, int value) in HeapItem_create() argument
39 h.priority = priority; in HeapItem_create()
46 if (a.priority < b.priority) in HeapItem_cmp()
48 if (a.priority > b.priority) in HeapItem_cmp()
70 DE_TEST_ASSERT(TestHeap_popMin(heap).priority == 0); in dePoolHeap_selfTest()
71 DE_TEST_ASSERT(TestHeap_popMin(heap).priority == 10); in dePoolHeap_selfTest()
72 DE_TEST_ASSERT(TestHeap_popMin(heap).priority == 20); in dePoolHeap_selfTest()
98 DE_TEST_ASSERT(h.priority == i); in dePoolHeap_selfTest()
99 DE_TEST_ASSERT(h.value == -h.priority); in dePoolHeap_selfTest()
107 DE_TEST_ASSERT(h.priority == i); in dePoolHeap_selfTest()
108 DE_TEST_ASSERT(h.value == -h.priority); in dePoolHeap_selfTest()
116 DE_TEST_ASSERT(h.priority == i); in dePoolHeap_selfTest()
117 DE_TEST_ASSERT(h.value == -h.priority); in dePoolHeap_selfTest()