Lines Matching refs:OSSL_PQUEUE
105 static ossl_inline void pqueue_swap_elem(OSSL_PQUEUE *pq, size_t i, size_t j) in pqueue_swap_elem()
121 static ossl_inline void pqueue_move_elem(OSSL_PQUEUE *pq, size_t from, size_t to) in pqueue_move_elem()
136 static ossl_inline void pqueue_force_bottom(OSSL_PQUEUE *pq, size_t n) in pqueue_force_bottom()
152 static ossl_inline void pqueue_move_down(OSSL_PQUEUE *pq, size_t n) in pqueue_move_down()
172 static ossl_inline void pqueue_move_up(OSSL_PQUEUE *pq, size_t n) in pqueue_move_up()
197 int ossl_pqueue_push(OSSL_PQUEUE *pq, void *data, size_t *elem) in ossl_pqueue_push()
221 void *ossl_pqueue_peek(const OSSL_PQUEUE *pq) in ossl_pqueue_peek()
230 void *ossl_pqueue_pop(OSSL_PQUEUE *pq) in ossl_pqueue_pop()
255 void *ossl_pqueue_remove(OSSL_PQUEUE *pq, size_t elem) in ossl_pqueue_remove()
280 static void pqueue_add_freelist(OSSL_PQUEUE *pq, size_t from) in pqueue_add_freelist()
295 int ossl_pqueue_reserve(OSSL_PQUEUE *pq, size_t n) in ossl_pqueue_reserve()
328 OSSL_PQUEUE *ossl_pqueue_new(int (*compare)(const void *, const void *)) in ossl_pqueue_new()
330 OSSL_PQUEUE *pq; in ossl_pqueue_new()
352 void ossl_pqueue_free(OSSL_PQUEUE *pq) in ossl_pqueue_free()
361 void ossl_pqueue_pop_free(OSSL_PQUEUE *pq, void (*freefunc)(void *)) in ossl_pqueue_pop_free()
372 size_t ossl_pqueue_num(const OSSL_PQUEUE *pq) in ossl_pqueue_num()