Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 25 of 83) sorted by relevance

1234

/external/mesa3d/src/gallium/state_trackers/vdpau/
Dpresentation.c44 vlVdpPresentationQueue *pq = NULL; in vlVdpPresentationQueueCreate() local
61 pq = CALLOC(1, sizeof(vlVdpPresentationQueue)); in vlVdpPresentationQueueCreate()
62 if (!pq) in vlVdpPresentationQueueCreate()
65 pq->device = dev; in vlVdpPresentationQueueCreate()
66 pq->drawable = pqt->drawable; in vlVdpPresentationQueueCreate()
69 if (!vl_compositor_init_state(&pq->cstate, dev->context)) { in vlVdpPresentationQueueCreate()
76 *presentation_queue = vlAddDataHTAB(pq); in vlVdpPresentationQueueCreate()
86 FREE(pq); in vlVdpPresentationQueueCreate()
96 vlVdpPresentationQueue *pq; in vlVdpPresentationQueueDestroy() local
98 pq = vlGetDataHTAB(presentation_queue); in vlVdpPresentationQueueDestroy()
[all …]
/external/boringssl/src/ssl/pqueue/
Dpqueue.c94 pqueue_s *pq = (pqueue_s *)OPENSSL_malloc(sizeof(pqueue_s)); in pqueue_new() local
95 if (pq == NULL) { in pqueue_new()
99 memset(pq, 0, sizeof(pqueue_s)); in pqueue_new()
100 return pq; in pqueue_new()
103 void pqueue_free(pqueue_s *pq) { in pqueue_free() argument
104 if (pq == NULL) { in pqueue_free()
109 assert(pq->items == NULL); in pqueue_free()
110 OPENSSL_free(pq); in pqueue_free()
113 pitem *pqueue_peek(pqueue_s *pq) { return pq->items; } in pqueue_peek() argument
115 pitem *pqueue_find(pqueue_s *pq, uint8_t *prio64be) { in pqueue_find() argument
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_query.c52 struct llvmpipe_query *pq; in llvmpipe_create_query() local
56 pq = CALLOC_STRUCT( llvmpipe_query ); in llvmpipe_create_query()
58 return (struct pipe_query *) pq; in llvmpipe_create_query()
65 struct llvmpipe_query *pq = llvmpipe_query(q); in llvmpipe_destroy_query() local
70 if (pq->fence) { in llvmpipe_destroy_query()
71 if (!lp_fence_issued(pq->fence)) in llvmpipe_destroy_query()
74 if (!lp_fence_signalled(pq->fence)) in llvmpipe_destroy_query()
75 lp_fence_wait(pq->fence); in llvmpipe_destroy_query()
77 lp_fence_reference(&pq->fence, NULL); in llvmpipe_destroy_query()
80 FREE(pq); in llvmpipe_destroy_query()
[all …]
Dlp_setup.h146 struct llvmpipe_query *pq);
150 struct llvmpipe_query *pq);
Dlp_setup.c1074 struct llvmpipe_query *pq) in lp_setup_begin_query() argument
1081 setup->active_query = pq; in lp_setup_begin_query()
1086 lp_rast_arg_query(pq))) { in lp_setup_begin_query()
1093 lp_rast_arg_query(pq))) { in lp_setup_begin_query()
1105 lp_setup_end_query(struct lp_setup_context *setup, struct llvmpipe_query *pq) in lp_setup_end_query() argument
1111 assert(setup->active_query == pq); in lp_setup_end_query()
1123 lp_fence_reference(&pq->fence, setup->scene->fence); in lp_setup_end_query()
1132 lp_fence_reference(&pq->fence, setup->last_fence); in lp_setup_end_query()
Dlp_rast.h230 lp_rast_arg_query( struct llvmpipe_query *pq ) in lp_rast_arg_query() argument
233 arg.query_obj = pq; in lp_rast_arg_query()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_queryobj.c57 stq->pq = NULL; in st_NewQueryObject()
72 if (stq->pq) { in st_DeleteQuery()
73 pipe->destroy_query(pipe, stq->pq); in st_DeleteQuery()
74 stq->pq = NULL; in st_DeleteQuery()
111 if (stq->pq && stq->type != type) { in st_BeginQuery()
113 pipe->destroy_query(pipe, stq->pq); in st_BeginQuery()
114 stq->pq = NULL; in st_BeginQuery()
118 if (!stq->pq) { in st_BeginQuery()
119 stq->pq = pipe->create_query(pipe, type); in st_BeginQuery()
125 pipe->begin_query(pipe, stq->pq); in st_BeginQuery()
[all …]
Dst_cb_condrender.c79 st->render_condition = stq->pq; in st_BeginConditionalRender()
82 pipe->render_condition(pipe, stq->pq, m); in st_BeginConditionalRender()
Dst_cb_queryobj.h41 struct pipe_query *pq; member
/external/boringssl/src/include/openssl/
Dpqueue.h91 OPENSSL_EXPORT void pqueue_free(pqueue pq);
110 OPENSSL_EXPORT pitem *pqueue_peek(pqueue pq);
114 OPENSSL_EXPORT pitem *pqueue_find(pqueue pq, uint8_t *prio64be);
120 OPENSSL_EXPORT pitem *pqueue_insert(pqueue pq, pitem *item);
124 OPENSSL_EXPORT pitem *pqueue_pop(pqueue pq);
127 OPENSSL_EXPORT size_t pqueue_size(pqueue pq);
134 OPENSSL_EXPORT piterator pqueue_iterator(pqueue pq);
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_query.c92 nv50_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) in nv50_query_destroy() argument
94 nv50_query_allocate(nv50_context(pipe), nv50_query(pq), 0); in nv50_query_destroy()
95 FREE(nv50_query(pq)); in nv50_query_destroy()
142 nv50_query_begin(struct pipe_context *pipe, struct pipe_query *pq) in nv50_query_begin() argument
146 struct nv50_query *q = nv50_query(pq); in nv50_query_begin()
195 nv50_query_end(struct pipe_context *pipe, struct pipe_query *pq) in nv50_query_end() argument
199 struct nv50_query *q = nv50_query(pq); in nv50_query_end()
246 nv50_query_result(struct pipe_context *pipe, struct pipe_query *pq, in nv50_query_result() argument
250 struct nv50_query *q = nv50_query(pq); in nv50_query_result()
308 nv84_query_fifo_wait(struct nouveau_pushbuf *push, struct pipe_query *pq) in nv84_query_fifo_wait() argument
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_query.c91 nvc0_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) in nvc0_query_destroy() argument
93 nvc0_query_allocate(nvc0_context(pipe), nvc0_query(pq), 0); in nvc0_query_destroy()
94 FREE(nvc0_query(pq)); in nvc0_query_destroy()
181 nvc0_query_begin(struct pipe_context *pipe, struct pipe_query *pq) in nvc0_query_begin() argument
185 struct nvc0_query *q = nvc0_query(pq); in nvc0_query_begin()
253 nvc0_query_end(struct pipe_context *pipe, struct pipe_query *pq) in nvc0_query_end() argument
257 struct nvc0_query *q = nvc0_query(pq); in nvc0_query_end()
335 nvc0_query_result(struct pipe_context *pipe, struct pipe_query *pq, in nvc0_query_result() argument
339 struct nvc0_query *q = nvc0_query(pq); in nvc0_query_result()
409 nvc0_query_fifo_wait(struct nouveau_pushbuf *push, struct pipe_query *pq) in nvc0_query_fifo_wait() argument
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_query.c142 nv30_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) in nv30_query_destroy() argument
144 FREE(pq); in nv30_query_destroy()
148 nv30_query_begin(struct pipe_context *pipe, struct pipe_query *pq) in nv30_query_begin() argument
151 struct nv30_query *q = nv30_query(pq); in nv30_query_begin()
177 nv30_query_end(struct pipe_context *pipe, struct pipe_query *pq) in nv30_query_end() argument
181 struct nv30_query *q = nv30_query(pq); in nv30_query_end()
198 nv30_query_result(struct pipe_context *pipe, struct pipe_query *pq, in nv30_query_result() argument
202 struct nv30_query *q = nv30_query(pq); in nv30_query_result()
235 struct pipe_query *pq, uint mode) in nv40_query_render_condition() argument
238 struct nv30_query *q = nv30_query(pq); in nv40_query_render_condition()
[all …]
/external/skia/tests/
DTDPQueueTest.cpp102 SkTDPQueue<Dummy*, Dummy::LessP, Dummy::PQIndex> pq; in random_test() local
104 pq.insert(&array[j]); in random_test()
106 REPORTER_ASSERT(reporter, pq.count() == array.count()); in random_test()
113 while (pq.count()) { in random_test()
115 Dummy* top = pq.peek(); in random_test()
124 Dummy* top = pq.peek(); in random_test()
126 pq.pop(); in random_test()
135 pq.remove(&array[item]); in random_test()
145 pq.priorityDidChange(&array[item]); in random_test()
/external/ceres-solver/internal/ceres/
Dconjugate_gradients_solver.cc151 const double pq = p.dot(q); in Solve() local
152 if ((pq <= 0) || IsInfinite(pq)) { in Solve()
154 summary.message = StringPrintf("Numerical failure. p'q = %e.", pq); in Solve()
158 const double alpha = rho / pq; in Solve()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/scripts/
Drebuild_endpoints.py2 from pyquery import PyQuery as pq unknown
24 return pq(raw_xml, parser='xml')
32 region = pq(region_elem, parser='xml')
/external/bison/m4/
Dstdbool.m487 _Bool *pq = &q;
91 *pq |= q;
92 *pq |= ! q;
95 + !m + !n + !o + !p + !q + !pq);
/external/llvm/test/Analysis/ValueTracking/
Dmonotonic-phi.ll4 define i1 @test1(i8 %p, i8* %pq, i8 %n, i8 %r) {
20 define i1 @test2(i8 %p, i8* %pq, i8 %n, i8 %r) {
36 define i1 @test3(i8 %p, i8* %pq, i8 %n, i8 %r) {
Dknownnonzero-shift.ll4 define i1 @test(i8 %p, i8* %pq) {
5 %q = load i8, i8* %pq, !range !0 ; %q is known nonzero; no known bits
Dknownzero-shift.ll4 define i1 @test(i8 %p, i8* %pq) {
5 %q = load i8, i8* %pq, !range !0 ; %q is known nonzero; no known bits
Dknown-non-equal.ll4 define i1 @test(i8* %pq, i8 %B) {
5 %q = load i8, i8* %pq, !range !0 ; %q is known nonzero; no known bits
/external/opencv/cv/src/
D_cvkdtree.hpp328 void pq_alternate(int alt_n, bbf_pqueue & pq, scalar_type dist) const { in pq_alternate() argument
333 pq.push_back(bbf_node(alt_n, dist)); in pq_alternate()
334 push_heap(pq.begin(), pq.end()); in pq_alternate()
340 int bbf_branch(int i, const __desctype * d, bbf_pqueue & pq) const { in bbf_branch()
344 pq_alternate(n.right, pq, n.boundary - d[n.dim]); in bbf_branch()
347 pq_alternate(n.left, pq, d[n.dim] - n.boundary); in bbf_branch()
/external/llvm/include/llvm/CodeGen/
DLatencyPriorityQueue.h27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {} in latency_sort()
DResourcePriorityQueue.h33 explicit resource_sort(ResourcePriorityQueue *pq) : PQ(pq) {} in resource_sort()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertPathValidatorUtilities.java362 Set pq = new HashSet(); in getQualifierSet() local
366 return pq; in getQualifierSet()
380 pq.add(new PolicyQualifierInfo(bOut.toByteArray())); in getQualifierSet()
390 return pq; in getQualifierSet()
445 Set pq) in processCertD1i() argument
463 pq, in processCertD1i()
537 Set pq = null; in prepareNextCertB1() local
564 pq = getQualifierSet(pinfo.getPolicyQualifiers()); in prepareNextCertB1()
586 p_node, pq, id_p, ci); in prepareNextCertB1()

1234