Lines Matching refs:items
14 pitem *items; member
57 if (pq->items == NULL) { in pqueue_insert()
58 pq->items = item; in pqueue_insert()
62 for (curr = NULL, next = pq->items; in pqueue_insert()
72 pq->items = item; in pqueue_insert()
91 return pq->items; in pqueue_peek()
96 pitem *item = pq->items; in pqueue_pop()
98 if (pq->items != NULL) in pqueue_pop()
99 pq->items = pq->items->next; in pqueue_pop()
109 if (pq->items == NULL) in pqueue_find()
112 for (next = pq->items; next->next != NULL; next = next->next) { in pqueue_find()
150 pitem *item = pq->items; in pqueue_size()