Lines Matching refs:items
66 pitem *items; member
109 assert(pq->items == NULL); in pqueue_free()
113 pitem *pqueue_peek(pqueue_s *pq) { return pq->items; } in pqueue_peek()
118 for (curr = pq->items; curr; curr = curr->next) { in pqueue_find()
128 pitem *item = pq->items; in pqueue_size()
138 piterator pqueue_iterator(pqueue_s *pq) { return pq->items; } in pqueue_iterator()
156 if (pq->items == NULL) { in pqueue_insert()
157 pq->items = item; in pqueue_insert()
161 for (curr = NULL, next = pq->items; next != NULL; in pqueue_insert()
170 pq->items = item; in pqueue_insert()
190 pitem *item = pq->items; in pqueue_pop()
192 if (pq->items != NULL) { in pqueue_pop()
193 pq->items = pq->items->next; in pqueue_pop()