Lines Matching refs:OSSL_PQUEUE
30 ossl_pqueue_free((OSSL_PQUEUE *)pq); \
36 ossl_pqueue_pop_free((OSSL_PQUEUE *)pq, (void (*)(void *))freefunc);\
41 return ossl_pqueue_reserve((OSSL_PQUEUE *)pq, n); \
46 return ossl_pqueue_num((OSSL_PQUEUE *)pq); \
52 return ossl_pqueue_push((OSSL_PQUEUE *)pq, (void *)data, elem); \
57 return (type *)ossl_pqueue_peek((OSSL_PQUEUE *)pq); \
62 return (type *)ossl_pqueue_pop((OSSL_PQUEUE *)pq); \
68 return (type *)ossl_pqueue_remove((OSSL_PQUEUE *)pq, elem); \
75 typedef struct ossl_pqueue_st OSSL_PQUEUE; typedef
77 OSSL_PQUEUE *ossl_pqueue_new(int (*compare)(const void *, const void *));
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);