Searched defs:pq (Results 1 - 25 of 43) sorted by relevance

12

/external/openssl/crypto/pqueue/
H A Dpq_test.c66 pqueue pq; local
68 pq = pqueue_new();
71 pqueue_insert(pq, item);
74 pqueue_insert(pq, item);
77 pqueue_insert(pq, item);
79 item = pqueue_find(pq, 1);
82 item = pqueue_find(pq, 2);
85 item = pqueue_find(pq, 3);
88 pqueue_print(pq);
90 for(item = pqueue_pop(pq); ite
[all...]
H A Dpqueue.c95 pqueue_s *pq = (pqueue_s *) OPENSSL_malloc(sizeof(pqueue_s)); local
96 if (pq == NULL) return NULL;
98 memset(pq, 0x00, sizeof(pqueue_s));
99 return pq;
103 pqueue_free(pqueue_s *pq) argument
105 if (pq == NULL) return;
107 OPENSSL_free(pq);
111 pqueue_insert(pqueue_s *pq, pitem *item) argument
115 if (pq->items == NULL)
117 pq
151 pqueue_peek(pqueue_s *pq) argument
157 pqueue_pop(pqueue_s *pq) argument
168 pqueue_find(pqueue_s *pq, unsigned char *prio64be) argument
203 pqueue_print(pqueue_s *pq) argument
219 pqueue_iterator(pqueue_s *pq) argument
241 pqueue_size(pqueue_s *pq) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_queryobj.h41 struct pipe_query *pq; member in struct:st_query_object
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_queryobj.h41 struct pipe_query *pq; member in struct:st_query_object
/external/llvm/include/llvm/CodeGen/
H A DLatencyPriorityQueue.h27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {} argument
H A DResourcePriorityQueue.h33 explicit resource_sort(ResourcePriorityQueue *pq) : PQ(pq) {} argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_query.c52 struct llvmpipe_query *pq; local
56 pq = CALLOC_STRUCT( llvmpipe_query );
58 return (struct pipe_query *) pq;
65 struct llvmpipe_query *pq = llvmpipe_query(q); local
70 if (pq->fence) {
71 if (!lp_fence_issued(pq->fence))
74 if (!lp_fence_signalled(pq->fence))
75 lp_fence_wait(pq->fence);
77 lp_fence_reference(&pq->fence, NULL);
80 FREE(pq);
90 struct llvmpipe_query *pq = llvmpipe_query(q); local
125 struct llvmpipe_query *pq = llvmpipe_query(q); local
148 struct llvmpipe_query *pq = llvmpipe_query(q); local
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_query.c52 struct llvmpipe_query *pq; local
56 pq = CALLOC_STRUCT( llvmpipe_query );
58 return (struct pipe_query *) pq;
65 struct llvmpipe_query *pq = llvmpipe_query(q); local
70 if (pq->fence) {
71 if (!lp_fence_issued(pq->fence))
74 if (!lp_fence_signalled(pq->fence))
75 lp_fence_wait(pq->fence);
77 lp_fence_reference(&pq->fence, NULL);
80 FREE(pq);
90 struct llvmpipe_query *pq = llvmpipe_query(q); local
125 struct llvmpipe_query *pq = llvmpipe_query(q); local
148 struct llvmpipe_query *pq = llvmpipe_query(q); local
[all...]
/external/ceres-solver/internal/ceres/
H A Dconjugate_gradients_solver.cc151 const double pq = p.dot(q); local
152 if ((pq <= 0) || IsInfinite(pq)) {
154 summary.message = StringPrintf("Numerical failure. p'q = %e.", pq);
158 const double alpha = rho / pq;
162 StringPrintf("Numerical failure. alpha = rho / pq = %e", alpha);
/external/chromium_org/third_party/boringssl/src/ssl/pqueue/
H A Dpqueue.c91 pqueue_s *pq = (pqueue_s *)OPENSSL_malloc(sizeof(pqueue_s)); local
92 if (pq == NULL) {
96 memset(pq, 0, sizeof(pqueue_s));
97 return pq;
100 void pqueue_free(pqueue_s *pq) { argument
101 if (pq == NULL) {
105 OPENSSL_free(pq);
108 pitem *pqueue_peek(pqueue_s *pq) { return pq->items; } argument
110 pitem *pqueue_find(pqueue_s *pq, uint8_ argument
122 pqueue_size(pqueue_s *pq) argument
133 pqueue_iterator(pqueue_s *pq) argument
148 pqueue_insert(pqueue_s *pq, pitem *item) argument
184 pqueue_pop(pqueue_s *pq) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnv30_query.c142 nv30_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) argument
144 FREE(pq);
148 nv30_query_begin(struct pipe_context *pipe, struct pipe_query *pq) argument
151 struct nv30_query *q = nv30_query(pq);
177 nv30_query_end(struct pipe_context *pipe, struct pipe_query *pq) argument
181 struct nv30_query *q = nv30_query(pq);
198 nv30_query_result(struct pipe_context *pipe, struct pipe_query *pq, argument
202 struct nv30_query *q = nv30_query(pq);
235 struct pipe_query *pq, uint mode)
238 struct nv30_query *q = nv30_query(pq);
234 nv40_query_render_condition(struct pipe_context *pipe, struct pipe_query *pq, uint mode) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_stateobj.h67 struct pipe_query *pq; member in struct:nv50_so_target
H A Dnv50_query.c92 nv50_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) argument
94 nv50_query_allocate(nv50_context(pipe), nv50_query(pq), 0);
95 FREE(nv50_query(pq));
142 nv50_query_begin(struct pipe_context *pipe, struct pipe_query *pq) argument
146 struct nv50_query *q = nv50_query(pq);
195 nv50_query_end(struct pipe_context *pipe, struct pipe_query *pq) argument
199 struct nv50_query *q = nv50_query(pq);
246 nv50_query_result(struct pipe_context *pipe, struct pipe_query *pq, argument
250 struct nv50_query *q = nv50_query(pq);
308 nv84_query_fifo_wait(struct nouveau_pushbuf *push, struct pipe_query *pq) argument
323 nv50_render_condition(struct pipe_context *pipe, struct pipe_query *pq, uint mode) argument
352 nv50_query_pushbuf_submit(struct nouveau_pushbuf *push, struct pipe_query *pq, unsigned result_offset) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_stateobj.h66 struct pipe_query *pq; member in struct:nvc0_so_target
H A Dnvc0_query.c91 nvc0_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) argument
93 nvc0_query_allocate(nvc0_context(pipe), nvc0_query(pq), 0);
94 FREE(nvc0_query(pq));
181 nvc0_query_begin(struct pipe_context *pipe, struct pipe_query *pq) argument
185 struct nvc0_query *q = nvc0_query(pq);
253 nvc0_query_end(struct pipe_context *pipe, struct pipe_query *pq) argument
257 struct nvc0_query *q = nvc0_query(pq);
335 nvc0_query_result(struct pipe_context *pipe, struct pipe_query *pq, argument
339 struct nvc0_query *q = nvc0_query(pq);
409 nvc0_query_fifo_wait(struct nouveau_pushbuf *push, struct pipe_query *pq) argument
427 nvc0_render_condition(struct pipe_context *pipe, struct pipe_query *pq, uint mode) argument
483 nvc0_query_pushbuf_submit(struct nouveau_pushbuf *push, struct pipe_query *pq, unsigned result_offset) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Dpresentation.c44 vlVdpPresentationQueue *pq = NULL; local
61 pq = CALLOC(1, sizeof(vlVdpPresentationQueue));
62 if (!pq)
65 pq->device = dev;
66 pq->drawable = pqt->drawable;
69 if (!vl_compositor_init_state(&pq->cstate, dev->context)) {
76 *presentation_queue = vlAddDataHTAB(pq);
86 FREE(pq);
96 vlVdpPresentationQueue *pq; local
98 pq
119 vlVdpPresentationQueue *pq; local
148 vlVdpPresentationQueue *pq; local
177 vlVdpPresentationQueue *pq; local
205 vlVdpPresentationQueue *pq; local
312 vlVdpPresentationQueue *pq; local
346 vlVdpPresentationQueue *pq; local
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_query.c142 nv30_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) argument
144 FREE(pq);
148 nv30_query_begin(struct pipe_context *pipe, struct pipe_query *pq) argument
151 struct nv30_query *q = nv30_query(pq);
177 nv30_query_end(struct pipe_context *pipe, struct pipe_query *pq) argument
181 struct nv30_query *q = nv30_query(pq);
198 nv30_query_result(struct pipe_context *pipe, struct pipe_query *pq, argument
202 struct nv30_query *q = nv30_query(pq);
235 struct pipe_query *pq, uint mode)
238 struct nv30_query *q = nv30_query(pq);
234 nv40_query_render_condition(struct pipe_context *pipe, struct pipe_query *pq, uint mode) argument
[all...]
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_stateobj.h67 struct pipe_query *pq; member in struct:nv50_so_target
H A Dnv50_query.c92 nv50_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) argument
94 nv50_query_allocate(nv50_context(pipe), nv50_query(pq), 0);
95 FREE(nv50_query(pq));
142 nv50_query_begin(struct pipe_context *pipe, struct pipe_query *pq) argument
146 struct nv50_query *q = nv50_query(pq);
195 nv50_query_end(struct pipe_context *pipe, struct pipe_query *pq) argument
199 struct nv50_query *q = nv50_query(pq);
246 nv50_query_result(struct pipe_context *pipe, struct pipe_query *pq, argument
250 struct nv50_query *q = nv50_query(pq);
308 nv84_query_fifo_wait(struct nouveau_pushbuf *push, struct pipe_query *pq) argument
323 nv50_render_condition(struct pipe_context *pipe, struct pipe_query *pq, uint mode) argument
352 nv50_query_pushbuf_submit(struct nouveau_pushbuf *push, struct pipe_query *pq, unsigned result_offset) argument
[all...]
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_stateobj.h66 struct pipe_query *pq; member in struct:nvc0_so_target
H A Dnvc0_query.c91 nvc0_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) argument
93 nvc0_query_allocate(nvc0_context(pipe), nvc0_query(pq), 0);
94 FREE(nvc0_query(pq));
181 nvc0_query_begin(struct pipe_context *pipe, struct pipe_query *pq) argument
185 struct nvc0_query *q = nvc0_query(pq);
253 nvc0_query_end(struct pipe_context *pipe, struct pipe_query *pq) argument
257 struct nvc0_query *q = nvc0_query(pq);
335 nvc0_query_result(struct pipe_context *pipe, struct pipe_query *pq, argument
339 struct nvc0_query *q = nvc0_query(pq);
409 nvc0_query_fifo_wait(struct nouveau_pushbuf *push, struct pipe_query *pq) argument
427 nvc0_render_condition(struct pipe_context *pipe, struct pipe_query *pq, uint mode) argument
483 nvc0_query_pushbuf_submit(struct nouveau_pushbuf *push, struct pipe_query *pq, unsigned result_offset) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dpresentation.c44 vlVdpPresentationQueue *pq = NULL; local
61 pq = CALLOC(1, sizeof(vlVdpPresentationQueue));
62 if (!pq)
65 pq->device = dev;
66 pq->drawable = pqt->drawable;
69 if (!vl_compositor_init_state(&pq->cstate, dev->context)) {
76 *presentation_queue = vlAddDataHTAB(pq);
86 FREE(pq);
96 vlVdpPresentationQueue *pq; local
98 pq
119 vlVdpPresentationQueue *pq; local
148 vlVdpPresentationQueue *pq; local
177 vlVdpPresentationQueue *pq; local
205 vlVdpPresentationQueue *pq; local
312 vlVdpPresentationQueue *pq; local
346 vlVdpPresentationQueue *pq; local
[all...]
/external/srec/srec/crec/
H A Dpriority_q.c43 priority_q *pq; local
45 pq = (priority_q*) CALLOC(1, sizeof(priority_q), "search.srec.priority_q");
46 pq->max_cost_in_q = MAXcostdata;
47 pq->word_token_list = MAXwordID;
48 pq->max_in_q = (miscdata)max_n;
49 pq->num_in_q = 0;
50 return pq;
53 void free_priority_q(priority_q* pq) argument
55 FREE(pq);
60 void clear_priority_q(priority_q *pq) argument
70 get_word_token_list(priority_q *pq, word_token *word_token_array) argument
75 remove_non_end_word_from_q(srec *rec, priority_q *pq, word_token *word_token_array, nodeID end_node) argument
160 sanity_check_priority_q(priority_q* pq, word_token *word_token_array) argument
187 add_word_token_to_priority_q(priority_q *pq, wtokenID token_index_to_add, word_token *word_token_array) argument
327 get_priority_q_threshold(priority_q *pq, word_token *word_token_array) argument
[all...]
/external/chromium_org/chrome/browser/devtools/device/usb/
H A Dandroid_rsa.cc141 void BnDiv(uint32* a, uint32* b, uint32** pq, uint32** pr) { argument
143 if (pq)
144 *pq = BnNew();
171 if (pq)
172 *pq = q;
/external/qemu/slirp/
H A Dip_input.c320 struct ipasfrag *pq = q->ipf_prev; local
321 i = pq->ipf_off + pq->ipf_len - ip->ip_off;

Completed in 747 milliseconds

12