/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.c | 68 virgl_can_rebind_resource(struct virgl_context *vctx, in virgl_can_rebind_resource() argument 88 virgl_rebind_resource(struct virgl_context *vctx, in virgl_rebind_resource() argument 101 assert(virgl_can_rebind_resource(vctx, res) && in virgl_rebind_resource() 105 for (i = 0; i < vctx->num_vertex_buffers; i++) { in virgl_rebind_resource() 106 if (vctx->vertex_buffer[i].buffer.resource == res) { in virgl_rebind_resource() 107 vctx->vertex_array_dirty = true; in virgl_rebind_resource() 114 uint32_t remaining_mask = vctx->atomic_buffer_enabled_mask; in virgl_rebind_resource() 117 if (vctx->atomic_buffers[i].buffer == res) { in virgl_rebind_resource() 118 const struct pipe_shader_buffer *abo = &vctx->atomic_buffers[i]; in virgl_rebind_resource() 119 virgl_encode_set_hw_atomic_buffers(vctx, i, 1, abo); in virgl_rebind_resource() [all …]
|
D | virgl_streamout.c | 36 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_so_target() local 57 virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size); in virgl_create_so_target() 64 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_so_target() local 68 virgl_encode_delete_object(vctx, t->handle, VIRGL_OBJECT_STREAMOUT_TARGET); in virgl_destroy_so_target() 77 struct virgl_context *vctx = virgl_context(ctx); in virgl_set_so_targets() local 81 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; in virgl_set_so_targets() 84 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets() 86 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_set_so_targets() 88 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets() 91 for (i = num_targets; i < vctx->num_so_targets; i++) in virgl_set_so_targets() [all …]
|
D | virgl_query.c | 87 struct virgl_context *vctx = virgl_context(ctx); in virgl_render_condition() local 92 virgl_encoder_render_condition(vctx, handle, condition, mode); in virgl_render_condition() 98 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_query() local 121 virgl_encoder_create_query(vctx, query->handle, in virgl_create_query() 130 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_query() local 133 virgl_encode_delete_object(vctx, query->handle, VIRGL_OBJECT_QUERY); in virgl_destroy_query() 142 struct virgl_context *vctx = virgl_context(ctx); in virgl_begin_query() local 145 virgl_encoder_begin_query(vctx, query->handle); in virgl_begin_query() 154 struct virgl_context *vctx = virgl_context(ctx); in virgl_end_query() local 165 virgl_encoder_end_query(vctx, query->handle); in virgl_end_query() [all …]
|
D | virgl_resource.c | 57 static bool virgl_res_needs_flush(struct virgl_context *vctx, in virgl_res_needs_flush() argument 60 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; in virgl_res_needs_flush() 66 if (!vws->res_is_referenced(vws, vctx->cbuf, res->hw_res)) in virgl_res_needs_flush() 82 static bool virgl_res_needs_readback(struct virgl_context *vctx, in virgl_res_needs_readback() argument 97 virgl_resource_transfer_prepare(struct virgl_context *vctx, in virgl_resource_transfer_prepare() argument 100 struct virgl_screen *vs = virgl_screen(vctx->base.screen); in virgl_resource_transfer_prepare() 120 flush = virgl_res_needs_flush(vctx, xfer); in virgl_resource_transfer_prepare() 121 readback = virgl_res_needs_readback(vctx, res, xfer->base.usage, in virgl_resource_transfer_prepare() 159 can_realloc = virgl_can_rebind_resource(vctx, &res->b); in virgl_resource_transfer_prepare() 161 can_staging = vctx->supports_staging; in virgl_resource_transfer_prepare() [all …]
|
D | virgl_buffer.c | 34 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_unmap() local 42 virgl_resource_destroy_transfer(vctx, trans); in virgl_buffer_transfer_unmap() 52 virgl_encode_copy_transfer(vctx, trans); in virgl_buffer_transfer_unmap() 53 virgl_resource_destroy_transfer(vctx, trans); in virgl_buffer_transfer_unmap() 55 virgl_transfer_queue_unmap(&vctx->queue, trans); in virgl_buffer_transfer_unmap() 58 virgl_resource_destroy_transfer(vctx, trans); in virgl_buffer_transfer_unmap()
|
D | virgl_context.h | 127 void virgl_init_blit_functions(struct virgl_context *vctx); 128 void virgl_init_query_functions(struct virgl_context *vctx); 129 void virgl_init_so_functions(struct virgl_context *vctx); 134 virgl_can_rebind_resource(struct virgl_context *vctx, 138 virgl_rebind_resource(struct virgl_context *vctx,
|
D | virgl_texture.c | 122 struct virgl_context *vctx = virgl_context(ctx); in texture_transfer_map_resolve() local 127 trans = virgl_resource_create_transfer(vctx, resource, in texture_transfer_map_resolve() 216 virgl_resource_destroy_transfer(vctx, trans); in texture_transfer_map_resolve() 260 struct virgl_context *vctx = virgl_context(ctx); in virgl_texture_transfer_unmap() local 289 virgl_resource_destroy_transfer(vctx, in virgl_texture_transfer_unmap() 295 virgl_encode_copy_transfer(vctx, trans); in virgl_texture_transfer_unmap() 296 virgl_resource_destroy_transfer(vctx, trans); in virgl_texture_transfer_unmap() 298 virgl_transfer_queue_unmap(&vctx->queue, trans); in virgl_texture_transfer_unmap() 301 virgl_resource_destroy_transfer(vctx, trans); in virgl_texture_transfer_unmap()
|
D | virgl_transfer_queue.c | 166 virgl_resource_destroy_transfer(queue->vctx, queued); in remove_transfer() 265 struct virgl_context *vctx) in virgl_transfer_queue_init() argument 267 struct virgl_screen *vs = virgl_screen(vctx->base.screen); in virgl_transfer_queue_init() 270 queue->vctx = vctx; in virgl_transfer_queue_init() 296 queue->vctx = NULL; in virgl_transfer_queue_fini()
|
D | virgl_transfer_queue.h | 38 struct virgl_context *vctx; member 44 struct virgl_context *vctx);
|
D | virgl_resource.h | 185 virgl_resource_create_transfer(struct virgl_context *vctx, 191 void virgl_resource_destroy_transfer(struct virgl_context *vctx,
|
D | virgl_screen.c | 810 struct virgl_context *vctx = virgl_context(ctx); in virgl_fence_finish() local 812 if (vctx && timeout) in virgl_fence_finish() 813 virgl_flush_eq(vctx, NULL, NULL); in virgl_fence_finish() 869 struct virgl_context *vctx = virgl_context(ctx); in virgl_query_memory_info() local 887 virgl_encode_get_memory_info(vctx, res); in virgl_query_memory_info()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | xml_libxml2.c | 59 xmlSchemaValidCtxtPtr vctx; in xml_validate() local 86 vctx = xmlSchemaNewValidCtxt(schema); in xml_validate() 87 xmlSchemaSetValidErrors(vctx, (xmlSchemaValidityErrorFunc) add_str, in xml_validate() 91 ret = xmlSchemaValidateDoc(vctx, doc); in xml_validate() 92 xmlSchemaFreeValidCtxt(vctx); in xml_validate() 120 xmlValidCtxt vctx; in xml_validate_dtd() local 146 os_memset(&vctx, 0, sizeof(vctx)); in xml_validate_dtd() 147 vctx.userData = &errors; in xml_validate_dtd() 148 vctx.error = add_str; in xml_validate_dtd() 149 vctx.warning = add_str; in xml_validate_dtd() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | xml_libxml2.c | 59 xmlSchemaValidCtxtPtr vctx; in xml_validate() local 86 vctx = xmlSchemaNewValidCtxt(schema); in xml_validate() 87 xmlSchemaSetValidErrors(vctx, (xmlSchemaValidityErrorFunc) add_str, in xml_validate() 91 ret = xmlSchemaValidateDoc(vctx, doc); in xml_validate() 92 xmlSchemaFreeValidCtxt(vctx); in xml_validate() 120 xmlValidCtxt vctx; in xml_validate_dtd() local 146 os_memset(&vctx, 0, sizeof(vctx)); in xml_validate_dtd() 147 vctx.userData = &errors; in xml_validate_dtd() 148 vctx.error = add_str; in xml_validate_dtd() 149 vctx.warning = add_str; in xml_validate_dtd() [all …]
|
/third_party/ejdb/src/jbl/ |
D | jbl_json.c | 529 int lvl, JBL_NODE n, const char *key, int klidx, JBN_VCTX *vctx, in _jbl_clone_node_visit() argument 534 JBL_NODE parent = vctx->root; in _jbl_clone_node_visit() 535 if (lvl < vctx->pos) { // Pop in _jbl_clone_node_visit() 536 for ( ; lvl < vctx->pos; --vctx->pos) { in _jbl_clone_node_visit() 540 vctx->root = parent; in _jbl_clone_node_visit() 541 assert(vctx->root); in _jbl_clone_node_visit() 542 } else if (lvl > vctx->pos) { // Push in _jbl_clone_node_visit() 543 vctx->pos = lvl; in _jbl_clone_node_visit() 544 parent = vctx->op; in _jbl_clone_node_visit() 545 vctx->root = parent; in _jbl_clone_node_visit() [all …]
|
D | jbl.c | 1114 iwrc _jbl_visit(binn_iter *iter, int lvl, JBL_VCTX *vctx, JBL_VISITOR visitor) { in _jbl_visit() argument 1116 binn *bn = vctx->bn; in _jbl_visit() 1132 rc = _jbl_visit(&it, 0, vctx, visitor); in _jbl_visit() 1139 while (!vctx->terminate && binn_object_next(iter, key, &bv)) { in _jbl_visit() 1140 cmd = visitor(lvl, &bv, key, -1, vctx, &rc); in _jbl_visit() 1143 vctx->terminate = true; in _jbl_visit() 1151 rc = _jbl_visit(&it, lvl + 1, vctx, visitor); in _jbl_visit() 1158 while (!vctx->terminate && binn_map_next(iter, &idx, &bv)) { in _jbl_visit() 1159 cmd = visitor(lvl, &bv, 0, idx, vctx, &rc); in _jbl_visit() 1162 vctx->terminate = true; in _jbl_visit() [all …]
|
D | jbl_internal.h | 83 …isitor_cmd_t (*JBL_VISITOR)(int lvl, binn *bv, const char *key, int idx, JBL_VCTX *vctx, iwrc *rc); 84 iwrc _jbl_visit(binn_iter *iter, int lvl, JBL_VCTX *vctx, JBL_VISITOR visitor);
|
D | jbl.h | 868 …or_cmd_t (*JBN_VISITOR)(int lvl, JBL_NODE n, const char *key, int klidx, JBN_VCTX *vctx, iwrc *rc); 870 IW_EXPORT iwrc jbn_visit(JBL_NODE node, int lvl, JBN_VCTX *vctx, JBN_VISITOR visitor);
|
/third_party/openssl/crypto/evp/ |
D | m_sigver.c | 179 int vctx = 0; in EVP_DigestVerifyFinal() local 182 vctx = 1; in EVP_DigestVerifyFinal() 184 vctx = 0; in EVP_DigestVerifyFinal() 186 if (vctx) in EVP_DigestVerifyFinal() 198 if (vctx) in EVP_DigestVerifyFinal() 205 if (vctx || !r) in EVP_DigestVerifyFinal()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationEGL.h | 146 ValidationContext vctx(THREAD, epname, OBJ); \ 147 auto ANGLE_LOCAL_VAR = (Validate##EP(&vctx, ##__VA_ARGS__)); \ 158 ValidationContext vctx(THREAD, epname, OBJ); \ 159 auto ANGLE_LOCAL_VAR = (Validate##EP(&vctx, ##__VA_ARGS__)); \
|
/third_party/mesa3d/src/gallium/drivers/virgl/tests/ |
D | virgl_staging_mgr_test.cpp | 88 struct virgl_context *vctx = CALLOC_STRUCT(virgl_context); in fake_virgl_context_create() local 92 vctx->base.screen = &vs->base; in fake_virgl_context_create() 99 return &vctx->base; in fake_virgl_context_create() 105 struct virgl_context *vctx = virgl_context(ctx); in fake_virgl_context_destroy() local 110 FREE(vctx); in fake_virgl_context_destroy()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 16 JBL_VCTX *vctx; member 1351 …_cmd_t _jql_match_visitor(int lvl, binn *bv, const char *key, int idx, JBL_VCTX *vctx, iwrc *rcp) { in _jql_match_visitor() argument 1354 JQL q = vctx->op; in _jql_match_visitor() 1363 .vctx = vctx, in _jql_match_visitor() 1381 JBL_VCTX vctx = { in jql_matched() local 1406 iwrc rc = _jbl_visit(0, 0, &vctx, _jql_match_visitor); in jql_matched() 1407 if (vctx.pool) { in jql_matched() 1408 iwpool_destroy(vctx.pool); in jql_matched() 1509 JBN_VCTX *vctx, JQP_PROJECTION *proj, in _jql_proj_matched() argument 1545 JBN_VCTX *vctx, JQP_PROJECTION *proj, in _jql_proj_join_matched() argument [all …]
|