Home
last modified time | relevance | path

Searched refs:nghttp2_pq (Results 1 - 11 of 11) sorted by relevance

/third_party/nghttp2/lib/
H A Dnghttp2_pq.h54 } nghttp2_pq; typedef
59 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem);
65 void nghttp2_pq_free(nghttp2_pq *pq);
76 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item);
82 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq);
88 void nghttp2_pq_pop(nghttp2_pq *pq);
93 int nghttp2_pq_empty(nghttp2_pq *pq);
98 size_t nghttp2_pq_size(nghttp2_pq *pq);
108 void nghttp2_pq_update(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg);
117 int nghttp2_pq_each(nghttp2_pq *p
[all...]
H A Dnghttp2_pq.c25 #include "nghttp2_pq.h"
32 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) { in nghttp2_pq_init()
40 void nghttp2_pq_free(nghttp2_pq *pq) { in nghttp2_pq_free()
45 static void swap(nghttp2_pq *pq, size_t i, size_t j) { in swap()
55 static void bubble_up(nghttp2_pq *pq, size_t index) { in bubble_up()
67 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item) { in nghttp2_pq_push()
89 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq) { in nghttp2_pq_top()
97 static void bubble_down(nghttp2_pq *pq, size_t index) { in bubble_down()
118 void nghttp2_pq_pop(nghttp2_pq *pq) { in nghttp2_pq_pop()
127 void nghttp2_pq_remove(nghttp2_pq *p
[all...]
H A Dnghttp2_stream.h35 #include "nghttp2_pq.h"
155 nghttp2_pq obq;
H A Dnghttp2_session.h222 nghttp2_pq ob_data;
H A Dnghttp2_session.c38 #include "nghttp2_pq.h"
913 static uint64_t pq_get_first_cycle(nghttp2_pq *pq) { in pq_get_first_cycle()
929 nghttp2_pq *pq; in session_ob_data_push()
1064 nghttp2_pq *pq; in session_sched_reschedule_stream()
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_pq.h54 } nghttp2_pq; typedef
59 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem);
65 void nghttp2_pq_free(nghttp2_pq *pq);
76 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item);
82 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq);
88 void nghttp2_pq_pop(nghttp2_pq *pq);
93 int nghttp2_pq_empty(nghttp2_pq *pq);
98 size_t nghttp2_pq_size(nghttp2_pq *pq);
108 void nghttp2_pq_update(nghttp2_pq *pq, nghttp2_pq_item_cb fun, void *arg);
117 int nghttp2_pq_each(nghttp2_pq *p
[all...]
H A Dnghttp2_pq.c25 #include "nghttp2_pq.h"
32 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) { in nghttp2_pq_init()
40 void nghttp2_pq_free(nghttp2_pq *pq) { in nghttp2_pq_free()
45 static void swap(nghttp2_pq *pq, size_t i, size_t j) { in swap()
55 static void bubble_up(nghttp2_pq *pq, size_t index) { in bubble_up()
67 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item) { in nghttp2_pq_push()
89 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq) { in nghttp2_pq_top()
97 static void bubble_down(nghttp2_pq *pq, size_t index) { in bubble_down()
118 void nghttp2_pq_pop(nghttp2_pq *pq) { in nghttp2_pq_pop()
127 void nghttp2_pq_remove(nghttp2_pq *p
[all...]
H A Dnghttp2_stream.h35 #include "nghttp2_pq.h"
155 nghttp2_pq obq;
H A Dnghttp2_session.h218 nghttp2_pq ob_data;
H A Dnghttp2_session.c38 #include "nghttp2_pq.h"
908 static uint64_t pq_get_first_cycle(nghttp2_pq *pq) { in pq_get_first_cycle()
924 nghttp2_pq *pq; in session_ob_data_push()
1059 nghttp2_pq *pq; in session_sched_reschedule_stream()
/third_party/nghttp2/tests/
H A Dnghttp2_pq_test.c31 #include "nghttp2_pq.h"
58 nghttp2_pq pq; in test_nghttp2_pq()
145 nghttp2_pq pq; in test_nghttp2_pq_update()
170 static void push_nodes(nghttp2_pq *pq, node *dest, size_t n) { in push_nodes()
179 static void check_nodes(nghttp2_pq *pq, size_t n, int *ans_key, int *ans_val) { in check_nodes()
190 nghttp2_pq pq; in test_nghttp2_pq_remove()

Completed in 24 milliseconds