Lines Matching refs:items
14 pitem *items; member
52 if (pq->items == NULL) { in pqueue_insert()
53 pq->items = item; in pqueue_insert()
57 for (curr = NULL, next = pq->items; in pqueue_insert()
67 pq->items = item; in pqueue_insert()
86 return pq->items; in pqueue_peek()
91 pitem *item = pq->items; in pqueue_pop()
93 if (pq->items != NULL) in pqueue_pop()
94 pq->items = pq->items->next; in pqueue_pop()
104 if (pq->items == NULL) in pqueue_find()
107 for (next = pq->items; next->next != NULL; next = next->next) { in pqueue_find()
145 pitem *item = pq->items; in pqueue_size()