Home
last modified time | relevance | path

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

/openssl/include/internal/
H A Dpriority_queue.h30 ossl_pqueue_free((OSSL_PQUEUE *)pq); \
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);
[all …]
/openssl/ssl/
H A Dpriority_queue.c152 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()
330 OSSL_PQUEUE *pq; in ossl_pqueue_new()
352 void ossl_pqueue_free(OSSL_PQUEUE *pq) in ossl_pqueue_free()
[all …]

Completed in 8 milliseconds