Home
last modified time | relevance | path

Searched defs:pq (Results 1 – 25 of 69) sorted by relevance

123

/third_party/node/deps/nghttp2/lib/
Dnghttp2_pq.c32 int nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) { in nghttp2_pq_init()
41 void nghttp2_pq_free(nghttp2_pq *pq) { in nghttp2_pq_free()
46 static void swap(nghttp2_pq *pq, size_t i, size_t j) { in swap()
56 static void bubble_up(nghttp2_pq *pq, size_t index) { in bubble_up()
68 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item) { in nghttp2_pq_push()
90 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq) { in nghttp2_pq_top()
98 static void bubble_down(nghttp2_pq *pq, size_t index) { in bubble_down()
119 void nghttp2_pq_pop(nghttp2_pq *pq) { in nghttp2_pq_pop()
128 void nghttp2_pq_remove(nghttp2_pq *pq, nghttp2_pq_entry *item) { in nghttp2_pq_remove()
152 int nghttp2_pq_empty(nghttp2_pq *pq) { return pq->length == 0; } in nghttp2_pq_empty()
[all …]
/third_party/nghttp2/lib/
Dnghttp2_pq.c32 int nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem) { in nghttp2_pq_init()
41 void nghttp2_pq_free(nghttp2_pq *pq) { in nghttp2_pq_free()
46 static void swap(nghttp2_pq *pq, size_t i, size_t j) { in swap()
56 static void bubble_up(nghttp2_pq *pq, size_t index) { in bubble_up()
68 int nghttp2_pq_push(nghttp2_pq *pq, nghttp2_pq_entry *item) { in nghttp2_pq_push()
90 nghttp2_pq_entry *nghttp2_pq_top(nghttp2_pq *pq) { in nghttp2_pq_top()
98 static void bubble_down(nghttp2_pq *pq, size_t index) { in bubble_down()
119 void nghttp2_pq_pop(nghttp2_pq *pq) { in nghttp2_pq_pop()
128 void nghttp2_pq_remove(nghttp2_pq *pq, nghttp2_pq_entry *item) { in nghttp2_pq_remove()
152 int nghttp2_pq_empty(nghttp2_pq *pq) { return pq->length == 0; } in nghttp2_pq_empty()
[all …]
/third_party/openssl/ssl/
Dpqueue.c40 pqueue *pq = OPENSSL_zalloc(sizeof(*pq)); in pqueue_new() local
48 void pqueue_free(pqueue *pq) in pqueue_free()
53 pitem *pqueue_insert(pqueue *pq, pitem *item) in pqueue_insert()
89 pitem *pqueue_peek(pqueue *pq) in pqueue_peek()
94 pitem *pqueue_pop(pqueue *pq) in pqueue_pop()
104 pitem *pqueue_find(pqueue *pq, unsigned char *prio64be) in pqueue_find()
129 pitem *pqueue_iterator(pqueue *pq) in pqueue_iterator()
148 size_t pqueue_size(pqueue *pq) in pqueue_size()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dpresentation.c44 vlVdpPresentationQueue *pq = NULL; in vlVdpPresentationQueueCreate() local
97 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueDestroy() local
121 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueSetBackgroundColor() local
150 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueGetBackgroundColor() local
179 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueGetTime() local
208 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueDisplay() local
309 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueBlockUntilSurfaceIdle() local
344 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueQuerySurfaceStatus() local
/third_party/boost/libs/heap/examples/
Dinterface.cpp23 PriorityQueue pq; in basic_interface() local
45 PriorityQueue pq; in iterator_interface() local
66 PriorityQueue pq; in ordered_iterator_interface() local
88 PriorityQueue pq; in merge_interface() local
124 PriorityQueue pq; in heap_merge_algorithm() local
160 PriorityQueue pq; in mutable_interface() local
185 PriorityQueue pq; in mutable_fixup_interface() local
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_query.cpp43 struct swr_query *pq; in swr_create_query() local
63 struct swr_query *pq = swr_query(q); in swr_destroy_query() local
81 struct swr_query *pq = swr_query(q); in swr_get_query_result() local
165 struct swr_query *pq = swr_query(q); in swr_begin_query() local
199 struct swr_query *pq = swr_query(q); in swr_end_query() local
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query.c48 nvc0_destroy_query(struct pipe_context *pipe, struct pipe_query *pq) in nvc0_destroy_query()
55 nvc0_begin_query(struct pipe_context *pipe, struct pipe_query *pq) in nvc0_begin_query()
62 nvc0_end_query(struct pipe_context *pipe, struct pipe_query *pq) in nvc0_end_query()
70 nvc0_get_query_result(struct pipe_context *pipe, struct pipe_query *pq, in nvc0_get_query_result()
79 struct pipe_query *pq, in nvc0_get_query_result_resource()
97 struct pipe_query *pq, in nvc0_render_condition()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query.c44 nv50_destroy_query(struct pipe_context *pipe, struct pipe_query *pq) in nv50_destroy_query()
51 nv50_begin_query(struct pipe_context *pipe, struct pipe_query *pq) in nv50_begin_query()
58 nv50_end_query(struct pipe_context *pipe, struct pipe_query *pq) in nv50_end_query()
66 nv50_get_query_result(struct pipe_context *pipe, struct pipe_query *pq, in nv50_get_query_result()
75 struct pipe_query *pq, in nv50_render_condition()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_query.c56 struct llvmpipe_query *pq; in llvmpipe_create_query() local
74 struct llvmpipe_query *pq = llvmpipe_query(q); in llvmpipe_destroy_query() local
101 struct llvmpipe_query *pq = llvmpipe_query(q); in llvmpipe_get_query_result() local
215 struct llvmpipe_query *pq = llvmpipe_query(q); in llvmpipe_get_query_result_resource() local
382 struct llvmpipe_query *pq = llvmpipe_query(q); in llvmpipe_begin_query() local
445 struct llvmpipe_query *pq = llvmpipe_query(q); in llvmpipe_end_query() local
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query.c52 etna_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_destroy_query()
60 etna_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_begin_query()
70 etna_end_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_end_query()
80 etna_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, in etna_get_query_result()
Detnaviv_query_acc_perfmon.c51 pm_add_signal(struct etna_pm_query *pq, struct etna_perfmon *perfmon, in pm_add_signal()
63 struct etna_pm_query *pq = etna_pm_query(aq); in pm_query() local
104 struct etna_pm_query *pq; in perfmon_allocate() local
139 const struct etna_pm_query *pq = etna_pm_query(aq); in perfmon_result() local
/third_party/nghttp2/tests/
Dnghttp2_pq_test.c56 nghttp2_pq pq; in test_nghttp2_pq() local
143 nghttp2_pq pq; in test_nghttp2_pq_update() local
168 static void push_nodes(nghttp2_pq *pq, node *dest, size_t n) { in push_nodes()
177 static void check_nodes(nghttp2_pq *pq, size_t n, int *ans_key, int *ans_val) { in check_nodes()
188 nghttp2_pq pq; in test_nghttp2_pq_remove() local
/third_party/grpc/test/core/iomgr/
Dtimer_heap_test.cc44 static int contains(grpc_timer_heap* pq, grpc_timer* el) { in contains()
52 static void check_valid(grpc_timer_heap* pq) { in check_valid()
71 grpc_timer_heap pq; in test1() local
159 grpc_timer_heap pq; in test2() local
230 grpc_timer_heap pq; in shrink_test() local
/third_party/boost/libs/thread/test/sync/mutual_exclusion/sync_pq/
Dpq_single_thread_pass.cpp56 sync_pq pq; in test_pull_for() local
67 sync_pq pq; in test_pull_until() local
78 sync_pq pq; in test_nonblocking_pull() local
89 sync_pq pq; in test_pull_for_when_not_empty() local
102 sync_pq pq; in test_pull_until_when_not_empty() local
115 sync_pq pq; in main() local
Dpq_multi_thread_pass.cpp45 sync_pq pq; in test_pull() local
67 sync_pq pq; in test_push() local
83 sync_pq pq; in test_both() local
129 sync_pq pq; in compute_sum() local
Dtq_single_thread_pass.cpp30 sync_tq pq; in test_all() local
63 sync_tq pq; in test_all_with_try() local
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_query.c55 fd_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in_dt in fd_destroy_query()
62 fd_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in_dt in fd_begin_query()
72 fd_end_query(struct pipe_context *pctx, struct pipe_query *pq) in_dt in fd_end_query()
88 fd_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, bool wait, in fd_get_query_result()
99 fd_render_condition(struct pipe_context *pctx, struct pipe_query *pq, in fd_render_condition()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_query.c144 nv30_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) in nv30_query_destroy()
150 nv30_query_begin(struct pipe_context *pipe, struct pipe_query *pq) in nv30_query_begin()
180 nv30_query_end(struct pipe_context *pipe, struct pipe_query *pq) in nv30_query_end()
202 nv30_query_result(struct pipe_context *pipe, struct pipe_query *pq, in nv30_query_result()
242 struct pipe_query *pq, in nv40_query_render_condition()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dhuffman_encode.cc35 HuffmanPriorityQueue pq; in DoHuffmanEncode() local
70 …de::GetHuffmanPriorityQueue(const int8_t *data, const size_t data_size, HuffmanPriorityQueue *pq) { in GetHuffmanPriorityQueue()
133 STATUS HuffmanEncode::BuildHuffmanTree(HuffmanPriorityQueue *pq) { in BuildHuffmanTree()
/third_party/ffmpeg/libavcodec/
Dxfaceenc.c81 static inline int pq_push(ProbRangesQueue *pq, const ProbRange *p) in pq_push()
89 static void push_greys(ProbRangesQueue *pq, char *bitmap, int w, int h) in push_greys()
108 static void encode_block(char *bitmap, int w, int h, int level, ProbRangesQueue *pq) in encode_block()
140 ProbRangesQueue pq = {{{ 0 }}, 0}; in xface_encode_frame() local
Dvc1_loopfilter.c210 int pq = v->pq; in vc1_i_h_loop_filter() local
243 int pq = v->pq; in vc1_i_v_loop_filter() local
368 int pq = v->pq; in vc1_p_h_loop_filter() local
421 int pq = v->pq; in vc1_p_v_loop_filter() local
806 int pq = v->pq; in vc1_p_h_intfr_loop_filter() local
856 int pq = v->pq; in vc1_p_v_intfr_loop_filter() local
1116 int pq = v->pq; in vc1_b_h_intfi_loop_filter() local
1148 int pq = v->pq; in vc1_b_v_intfi_loop_filter() local
Ddvbsubenc.c40 static int dvb_encode_rle2(uint8_t **pq, int buf_size, in dvb_encode_rle2()
135 static int dvb_encode_rle4(uint8_t **pq, int buf_size, in dvb_encode_rle4()
210 static int dvb_encode_rle8(uint8_t **pq, int buf_size, in dvb_encode_rle8()
/third_party/boost/boost/graph/
Dstoer_wagner_min_cut.hpp152 KeyedUpdatablePriorityQueue& pq, IndexMap index_map) in stoer_wagner_min_cut()
207 VertexAssignmentMap assignments, KeyedUpdatablePriorityQueue& pq, in stoer_wagner_min_cut()
279 const UndirectedGraph&, const ArgPack&) >::type pq in operator ()() local
309 KeyedUpdatablePriorityQueue& pq) in stoer_wagner_min_cut()
Dmaximum_adjacency_search.hpp120 VertexAssignmentMap assignments, KeyedUpdatablePriorityQueue pq) in maximum_adjacency_search()
215 VertexAssignmentMap assignments, KeyedUpdatablePriorityQueue pq) in maximum_adjacency_search()
281 const Graph&, const ArgPack&) >::type pq in apply() local
332 const Graph&, const ArgPack&) >::type pq in apply() local
/third_party/boost/libs/graph/test/
Dmas_test.cpp73 explicit mas_edge_connectivity_visitor(KeyedUpdatablePriorityQueue& pq) in mas_edge_connectivity_visitor()
148 pq(distances, indicesInHeap); in BOOST_AUTO_TEST_CASE() local
238 pq(distances, indicesInHeap); in BOOST_AUTO_TEST_CASE() local

123