Lines Matching refs:pq
28 ossl_pqueue_##type##_free(PRIORITY_QUEUE_OF(type) *pq) \
30 ossl_pqueue_free((OSSL_PQUEUE *)pq); \
33 ossl_pqueue_##type##_pop_free(PRIORITY_QUEUE_OF(type) *pq, \
36 ossl_pqueue_pop_free((OSSL_PQUEUE *)pq, (void (*)(void *))freefunc);\
39 ossl_pqueue_##type##_reserve(PRIORITY_QUEUE_OF(type) *pq, size_t n) \
41 return ossl_pqueue_reserve((OSSL_PQUEUE *)pq, n); \
44 ossl_pqueue_##type##_num(const PRIORITY_QUEUE_OF(type) *pq) \
46 return ossl_pqueue_num((OSSL_PQUEUE *)pq); \
49 ossl_pqueue_##type##_push(PRIORITY_QUEUE_OF(type) *pq, \
52 return ossl_pqueue_push((OSSL_PQUEUE *)pq, (void *)data, elem); \
55 ossl_pqueue_##type##_peek(const PRIORITY_QUEUE_OF(type) *pq) \
57 return (type *)ossl_pqueue_peek((OSSL_PQUEUE *)pq); \
60 ossl_pqueue_##type##_pop(PRIORITY_QUEUE_OF(type) *pq) \
62 return (type *)ossl_pqueue_pop((OSSL_PQUEUE *)pq); \
65 ossl_pqueue_##type##_remove(PRIORITY_QUEUE_OF(type) *pq, \
68 return (type *)ossl_pqueue_remove((OSSL_PQUEUE *)pq, elem); \
78 void ossl_pqueue_free(OSSL_PQUEUE *pq);
79 void ossl_pqueue_pop_free(OSSL_PQUEUE *pq, void (*freefunc)(void *));
80 int ossl_pqueue_reserve(OSSL_PQUEUE *pq, size_t n);
82 size_t ossl_pqueue_num(const OSSL_PQUEUE *pq);
83 int ossl_pqueue_push(OSSL_PQUEUE *pq, void *data, size_t *elem);
84 void *ossl_pqueue_peek(const OSSL_PQUEUE *pq);
85 void *ossl_pqueue_pop(OSSL_PQUEUE *pq);
86 void *ossl_pqueue_remove(OSSL_PQUEUE *pq, size_t elem);