Lines Matching refs:pq
23 size_t ossl_pqueue_TYPE_num(const PRIORITY_QUEUE_OF(type) *pq);
26 void ossl_pqueue_TYPE_free(PRIORITY_QUEUE_OF(type) *pq);
27 void ossl_pqueue_TYPE_pop_free(PRIORITY_QUEUE_OF(type) *pq,
29 int ossl_pqueue_TYPE_reserve(PRIORITY_QUEUE_OF(type) *pq, size_t n);
30 int ossl_pqueue_TYPE_push(PRIORITY_QUEUE_OF(type) *pq, type *data,
32 type *ossl_pqueue_TYPE_peek(const PRIORITY_QUEUE_OF(type) *pq);
33 type *ossl_pqueue_TYPE_pop(const PRIORITY_QUEUE_OF(type) *pq);
34 type *ossl_pqueue_TYPE_remove(const PRIORITY_QUEUE_OF(type) *pq, size_t elem);
51 B<ossl_pqueue_I<TYPE>_num>() returns the number of elements in I<pq>
52 or B<0> if I<pq> is NULL.
60 B<ossl_pqueue_I<TYPE>_free>() frees up the I<pq> structure. It does I<not>
61 free up any elements of I<pq>. After this call I<pq> is no longer valid.
63 B<ossl_pqueue_I<TYPE>_pop_free>() frees up all elements of I<pq> and I<pq>
65 After this call I<pq> is no longer valid.
67 B<ossl_pqueue_I<TYPE>_reserve>() allocates additional memory in the I<pq>
70 is zero, no additional space is reserved. On error I<pq> is unchanged.
73 into the priority queue I<pq>. If not NULL, the function returns an index
78 in I<pq>.
81 in I<pq> and removes that element from the priority queue.
84 I<elem> from I<pq>. The index I<elem> must have been obtained from
85 an earlier call made to B<ossl_pqueue_I<TYPE>_push>() with the same I<pq>