/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_query.c | 56 struct llvmpipe_query *pq; local 60 pq = CALLOC_STRUCT( llvmpipe_query ); 62 if (pq) { 63 pq->type = type; 66 return (struct pipe_query *) pq; 73 struct llvmpipe_query *pq = llvmpipe_query(q); local 78 if (pq->fence) { 79 if (!lp_fence_issued(pq->fence)) 82 if (!lp_fence_signalled(pq->fence)) 83 lp_fence_wait(pq->fence) 100 struct llvmpipe_query *pq = llvmpipe_query(q); local 191 struct llvmpipe_query *pq = llvmpipe_query(q); local 246 struct llvmpipe_query *pq = llvmpipe_query(q); local [all...] |
/external/mesa3d/src/gallium/drivers/swr/ |
swr_query.cpp | 43 struct swr_query *pq; local 48 pq = (struct swr_query *) AlignedMalloc(sizeof(struct swr_query), 64); 49 memset(pq, 0, sizeof(*pq)); 51 if (pq) { 52 pq->type = type; 53 pq->index = index; 56 return (struct pipe_query *)pq; 63 struct swr_query *pq = swr_query(q); 65 if (pq->fence) [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
presentation.c | 44 vlVdpPresentationQueue *pq = NULL; local 61 pq = CALLOC(1, sizeof(vlVdpPresentationQueue)); 62 if (!pq) 65 DeviceReference(&pq->device, dev); 66 pq->drawable = pqt->drawable; 69 if (!vl_compositor_init_state(&pq->cstate, dev->context)) { 76 *presentation_queue = vlAddDataHTAB(pq); 86 DeviceReference(&pq->device, NULL); 87 FREE(pq); 97 vlVdpPresentationQueue *pq; local 121 vlVdpPresentationQueue *pq; local 150 vlVdpPresentationQueue *pq; local 179 vlVdpPresentationQueue *pq; local 208 vlVdpPresentationQueue *pq; local 309 vlVdpPresentationQueue *pq; local 344 vlVdpPresentationQueue *pq; local [all...] |
/prebuilts/go/darwin-x86/src/container/heap/ |
example_pq_test.go | 24 func (pq PriorityQueue) Len() int { return len(pq) } 26 func (pq PriorityQueue) Less(i, j int) bool { 28 return pq[i].priority > pq[j].priority 31 func (pq PriorityQueue) Swap(i, j int) { 32 pq[i], pq[j] = pq[j], pq[i [all...] |
/prebuilts/go/linux-x86/src/container/heap/ |
example_pq_test.go | 24 func (pq PriorityQueue) Len() int { return len(pq) } 26 func (pq PriorityQueue) Less(i, j int) bool { 28 return pq[i].priority > pq[j].priority 31 func (pq PriorityQueue) Swap(i, j int) { 32 pq[i], pq[j] = pq[j], pq[i [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_queryobj.h | 40 struct pipe_query *pq; member in struct:st_query_object
|
st_cb_queryobj.c | 56 stq->pq = NULL; 67 if (stq->pq) { 68 pipe->destroy_query(pipe, stq->pq); 69 stq->pq = NULL; 157 if (!stq->pq) { 158 stq->pq = pipe->create_query(pipe, type, q->Stream); 161 if (stq->pq) 162 ret = pipe->begin_query(pipe, stq->pq); 188 !stq->pq) { 189 stq->pq = pipe->create_query(pipe, PIPE_QUERY_TIMESTAMP, 0) [all...] |
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_query.c | 47 etna_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) 49 struct etna_query *q = etna_query(pq); 55 etna_begin_query(struct pipe_context *pctx, struct pipe_query *pq) 57 struct etna_query *q = etna_query(pq); 63 etna_end_query(struct pipe_context *pctx, struct pipe_query *pq) 65 struct etna_query *q = etna_query(pq); 72 etna_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, 75 struct etna_query *q = etna_query(pq);
|
etnaviv_query.h | 51 etna_query(struct pipe_query *pq) 53 return (struct etna_query *)pq;
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_query.c | 56 fd_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) 58 struct fd_query *q = fd_query(pq); 63 fd_begin_query(struct pipe_context *pctx, struct pipe_query *pq) 65 struct fd_query *q = fd_query(pq); 70 fd_end_query(struct pipe_context *pctx, struct pipe_query *pq) 72 struct fd_query *q = fd_query(pq); 78 fd_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, 81 struct fd_query *q = fd_query(pq); 86 fd_render_condition(struct pipe_context *pctx, struct pipe_query *pq, 90 ctx->cond_query = pq; [all...] |
freedreno_query.h | 54 fd_query(struct pipe_query *pq) 56 return (struct fd_query *)pq;
|
/libcore/benchmarks/src/benchmarks/regression/ |
PriorityQueueBenchmark.java | 31 private PriorityQueue<Integer> pq; field in class:PriorityQueueBenchmark 38 pq = new PriorityQueue<Integer>(); 52 pq.add(allElements.get(i)); 57 pq.add(allElements.get(i)); 63 usepq = new PriorityQueue<Integer>(pq); 79 usepq = new PriorityQueue<Integer>(pq);
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_query.c | 48 nvc0_destroy_query(struct pipe_context *pipe, struct pipe_query *pq) 50 struct nvc0_query *q = nvc0_query(pq); 55 nvc0_begin_query(struct pipe_context *pipe, struct pipe_query *pq) 57 struct nvc0_query *q = nvc0_query(pq); 62 nvc0_end_query(struct pipe_context *pipe, struct pipe_query *pq) 64 struct nvc0_query *q = nvc0_query(pq); 70 nvc0_get_query_result(struct pipe_context *pipe, struct pipe_query *pq, 73 struct nvc0_query *q = nvc0_query(pq); 79 struct pipe_query *pq, 86 struct nvc0_query *q = nvc0_query(pq); [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
bcmutils.h | 168 #define PKTQ_PREC_ITER(pq, prec) for (prec = (pq)->num_prec - 1; prec >= 0; prec--) 287 #define pktq_psetmax(pq, prec, _max) ((pq)->q[prec].max = (_max)) 288 #define pktq_pmax(pq, prec) ((pq)->q[prec].max) 289 #define pktq_plen(pq, prec) ((pq)->q[prec].len) 290 #define pktq_pavail(pq, prec) ((pq)->q[prec].max - (pq)->q[prec].len [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_query.c | 44 nv50_destroy_query(struct pipe_context *pipe, struct pipe_query *pq) 46 struct nv50_query *q = nv50_query(pq); 51 nv50_begin_query(struct pipe_context *pipe, struct pipe_query *pq) 53 struct nv50_query *q = nv50_query(pq); 58 nv50_end_query(struct pipe_context *pipe, struct pipe_query *pq) 60 struct nv50_query *q = nv50_query(pq); 66 nv50_get_query_result(struct pipe_context *pipe, struct pipe_query *pq, 69 struct nv50_query *q = nv50_query(pq); 75 struct pipe_query *pq, 80 struct nv50_query *q = nv50_query(pq); [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_query.c | 143 nv30_query_destroy(struct pipe_context *pipe, struct pipe_query *pq) 145 FREE(pq); 149 nv30_query_begin(struct pipe_context *pipe, struct pipe_query *pq) 152 struct nv30_query *q = nv30_query(pq); 179 nv30_query_end(struct pipe_context *pipe, struct pipe_query *pq) 183 struct nv30_query *q = nv30_query(pq); 201 nv30_query_result(struct pipe_context *pipe, struct pipe_query *pq, 205 struct nv30_query *q = nv30_query(pq); 240 struct pipe_query *pq, 244 struct nv30_query *q = nv30_query(pq); [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
query9.c | 113 This->pq = nine_context_create_query(device, ptype); 114 if (!This->pq) 140 if (This->pq) { 142 nine_context_end_query(device, &This->counter, This->pq); 143 nine_context_destroy_query(device, This->pq); 180 nine_context_end_query(device, &This->counter, This->pq); 181 nine_context_begin_query(device, &This->counter, This->pq); 187 nine_context_begin_query(device, &This->counter, This->pq); 188 nine_context_end_query(device, &This->counter, This->pq); 243 ok = nine_context_get_query_result(device, This->pq, &This->counter [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
bcmutils.c | 233 pktq_penq(struct pktq *pq, int prec, void *p) 237 ASSERT(prec >= 0 && prec < pq->num_prec); 240 ASSERT(!pktq_full(pq)); 241 ASSERT(!pktq_pfull(pq, prec)); 243 q = &pq->q[prec]; 253 pq->len++; 255 if (pq->hi_prec < prec) 256 pq->hi_prec = (uint8)prec; 262 pktq_penq_head(struct pktq *pq, int prec, void *p) 266 ASSERT(prec >= 0 && prec < pq->num_prec) [all...] |
/external/skia/tests/ |
TDPQueueTest.cpp | 102 SkTDPQueue<Dummy*, Dummy::LessP, Dummy::PQIndex> pq; local 104 pq.insert(&array[j]); 106 REPORTER_ASSERT(reporter, pq.count() == array.count()); 113 while (pq.count()) { 115 Dummy* top = pq.peek(); 124 Dummy* top = pq.peek(); 126 pq.pop(); 135 pq.remove(&array[item]); 145 pq.priorityDidChange(&array[item]);
|
/external/llvm/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 26 LatencyPriorityQueue *PQ; 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {}
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 26 LatencyPriorityQueue *PQ; 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {}
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 26 LatencyPriorityQueue *PQ; 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {}
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 26 LatencyPriorityQueue *PQ; 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {}
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 26 LatencyPriorityQueue *PQ; 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {}
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 26 LatencyPriorityQueue *PQ; 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {}
|