Lines Matching refs:nghttp2_pq
25 #include "nghttp2_pq.h"
32 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) {
40 void nghttp2_pq_free(nghttp2_pq *pq) {
45 static void swap(nghttp2_pq *pq, size_t i, size_t j) {
55 static void bubble_up(nghttp2_pq *pq, size_t index) {
67 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item) {
89 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq) {
97 static void bubble_down(nghttp2_pq *pq, size_t index) {
118 void nghttp2_pq_pop(nghttp2_pq *pq) {
127 void nghttp2_pq_remove(nghttp2_pq *pq, nghttp2_pq_entry *item) {
151 int nghttp2_pq_empty(nghttp2_pq *pq) { return pq->length == 0; }
153 size_t nghttp2_pq_size(nghttp2_pq *pq) { return pq->length; }
155 void nghttp2_pq_update(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg) {
171 int nghttp2_pq_each(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg) {