Home
last modified time | relevance | path

Searched refs:pq_N (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/sort/common/
H A Dmerge.c68 static int pq_N; variable
255 return (pq_N == 0); in pqueue_empty()
263 pq_N = 0; in pqueue_init()
270 pq_queue[++pq_N] = source; in pqueue_insert()
271 heap_up(pq_queue, pq_N, coll_flags); in pqueue_insert()
277 swap((void **)&pq_queue[1], (void **)&pq_queue[pq_N]); in pqueue_head()
278 heap_down(pq_queue, 1, pq_N - 1, coll_flags); in pqueue_head()
279 return (pq_queue[pq_N--]); in pqueue_head()