/external/srec/srec/crec/ |
D | priority_q.c | 43 priority_q *pq; in allocate_priority_q() local 45 pq = (priority_q*) CALLOC(1, sizeof(priority_q), "search.srec.priority_q"); in allocate_priority_q() 46 pq->max_cost_in_q = MAXcostdata; in allocate_priority_q() 47 pq->word_token_list = MAXwordID; in allocate_priority_q() 48 pq->max_in_q = (miscdata)max_n; in allocate_priority_q() 49 pq->num_in_q = 0; in allocate_priority_q() 50 return pq; in allocate_priority_q() 53 void free_priority_q(priority_q* pq) in free_priority_q() argument 55 FREE(pq); in free_priority_q() 60 void clear_priority_q(priority_q *pq) in clear_priority_q() argument [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | presentation.c | 44 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
D | presentation.c | 44 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/openssl/crypto/pqueue/ |
D | pqueue.c | 95 pqueue_s *pq = (pqueue_s *) OPENSSL_malloc(sizeof(pqueue_s)); in pqueue_new() local 96 if (pq == NULL) return NULL; in pqueue_new() 98 memset(pq, 0x00, sizeof(pqueue_s)); in pqueue_new() 99 return pq; in pqueue_new() 103 pqueue_free(pqueue_s *pq) in pqueue_free() argument 105 if (pq == NULL) return; in pqueue_free() 107 OPENSSL_free(pq); in pqueue_free() 111 pqueue_insert(pqueue_s *pq, pitem *item) in pqueue_insert() argument 115 if (pq->items == NULL) in pqueue_insert() 117 pq->items = item; in pqueue_insert() [all …]
|
D | pq_test.c | 66 pqueue pq; in main() local 68 pq = pqueue_new(); in main() 71 pqueue_insert(pq, item); in main() 74 pqueue_insert(pq, item); in main() 77 pqueue_insert(pq, item); in main() 79 item = pqueue_find(pq, 1); in main() 82 item = pqueue_find(pq, 2); in main() 85 item = pqueue_find(pq, 3); in main() 88 pqueue_print(pq); in main() 90 for(item = pqueue_pop(pq); item != NULL; item = pqueue_pop(pq)) in main() [all …]
|
D | pqueue.h | 82 void pqueue_free(pqueue pq); 84 pitem *pqueue_insert(pqueue pq, pitem *item); 85 pitem *pqueue_peek(pqueue pq); 86 pitem *pqueue_pop(pqueue pq); 87 pitem *pqueue_find(pqueue pq, unsigned char *prio64be); 88 pitem *pqueue_iterator(pqueue pq); 91 void pqueue_print(pqueue pq); 92 int pqueue_size(pqueue pq);
|
/external/chromium_org/third_party/openssl/openssl/crypto/pqueue/ |
D | pqueue.c | 95 pqueue_s *pq = (pqueue_s *) OPENSSL_malloc(sizeof(pqueue_s)); in pqueue_new() local 96 if (pq == NULL) return NULL; in pqueue_new() 98 memset(pq, 0x00, sizeof(pqueue_s)); in pqueue_new() 99 return pq; in pqueue_new() 103 pqueue_free(pqueue_s *pq) in pqueue_free() argument 105 if (pq == NULL) return; in pqueue_free() 107 OPENSSL_free(pq); in pqueue_free() 111 pqueue_insert(pqueue_s *pq, pitem *item) in pqueue_insert() argument 115 if (pq->items == NULL) in pqueue_insert() 117 pq->items = item; in pqueue_insert() [all …]
|
D | pq_test.c | 66 pqueue pq; in main() local 68 pq = pqueue_new(); in main() 71 pqueue_insert(pq, item); in main() 74 pqueue_insert(pq, item); in main() 77 pqueue_insert(pq, item); in main() 79 item = pqueue_find(pq, 1); in main() 82 item = pqueue_find(pq, 2); in main() 85 item = pqueue_find(pq, 3); in main() 88 pqueue_print(pq); in main() 90 for(item = pqueue_pop(pq); item != NULL; item = pqueue_pop(pq)) in main() [all …]
|
D | pqueue.h | 82 void pqueue_free(pqueue pq); 84 pitem *pqueue_insert(pqueue pq, pitem *item); 85 pitem *pqueue_peek(pqueue pq); 86 pitem *pqueue_pop(pqueue pq); 87 pitem *pqueue_find(pqueue pq, unsigned char *prio64be); 88 pitem *pqueue_iterator(pqueue pq); 91 void pqueue_print(pqueue pq); 92 int pqueue_size(pqueue pq);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_query.c | 52 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 …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_query.c | 52 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 …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_queryobj.c | 57 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 …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_cb_queryobj.c | 57 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 …]
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | pqueue.h | 82 void pqueue_free(pqueue pq); 84 pitem *pqueue_insert(pqueue pq, pitem *item); 85 pitem *pqueue_peek(pqueue pq); 86 pitem *pqueue_pop(pqueue pq); 87 pitem *pqueue_find(pqueue pq, unsigned char *prio64be); 88 pitem *pqueue_iterator(pqueue pq); 91 void pqueue_print(pqueue pq); 92 int pqueue_size(pqueue pq);
|
/external/openssl/include/openssl/ |
D | pqueue.h | 82 void pqueue_free(pqueue pq); 84 pitem *pqueue_insert(pqueue pq, pitem *item); 85 pitem *pqueue_peek(pqueue pq); 86 pitem *pqueue_pop(pqueue pq); 87 pitem *pqueue_find(pqueue pq, unsigned char *prio64be); 88 pitem *pqueue_iterator(pqueue pq); 91 void pqueue_print(pqueue pq); 92 int pqueue_size(pqueue pq);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
D | nv50_query.c | 92 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/nv50/ |
D | nv50_query.c | 92 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/nv30/ |
D | nv30_query.c | 142 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/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
D | nv30_query.c | 142 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/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
D | nvc0_query.c | 91 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/nvc0/ |
D | nvc0_query.c | 91 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/srec/srec/include/ |
D | srec.h | 324 void free_priority_q(priority_q* pq); 325 void clear_priority_q(priority_q *pq); 326 wtokenID get_word_token_list(priority_q *pq, word_token *word_token_array); 327 …wtokenID add_word_token_to_priority_q(priority_q *pq, wtokenID token_index_to_add, word_token *wor… 328 …void remove_non_end_word_from_q(srec *rec, priority_q *pq, word_token *word_token_array, nodeID en… 329 costdata get_priority_q_threshold(priority_q *pq, word_token *word_token_array);
|
/external/ceres-solver/internal/ceres/ |
D | conjugate_gradients_solver.cc | 152 double pq = p.dot(q); in Solve() local 154 if ((pq <= 0) || IsInfinite(pq)) { in Solve() 155 LOG(ERROR) << "Numerical failure. pq = " << pq; in Solve() 160 double alpha = rho / pq; in Solve()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_make_key.c | 63 &key->qP, &key->p, &key->q, &key->pq, NULL)) != CRYPT_OK) { in katja_make_key() 70 …if ((err = mp_mul(key->p, key->q, key->pq)) != CRYPT_OK) { goto error2; } /* tmp1 = pq … in katja_make_key() 71 …if ((err = mp_mul(key->pq, key->p, key->N)) != CRYPT_OK) { goto error2; } /* N = p^2q … in katja_make_key() 90 mp_clear_multi( key->d, key->N, key->dQ, key->dP, key->qP, key->p, key->q, key->pq, NULL); in katja_make_key()
|
D | katja_import.c | 38 &key->dP, &key->qP, &key->p, &key->q, &key->pq, NULL)) != CRYPT_OK) { in katja_import() 59 LTC_ASN1_INTEGER, 1UL, key->pq, in katja_import() 72 key->qP, key->p, key->q, key->pq, NULL); in katja_import()
|