Home
last modified time | relevance | path

Searched refs:ctx (Results 4051 - 4075 of 7318) sorted by relevance

1...<<161162163164165166167168169170>>...293

/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Drender_frame_buffer.cpp23 RenderFrameBuffer::RenderFrameBuffer(RenderContext *ctx, ResourceCache *cache, int width, int height, in RenderFrameBuffer() argument
24 GLenum interFmt) : texture_(cache->RequestTexture(ctx, width, height, interFmt)) in RenderFrameBuffer()
26 context_ = ctx; in RenderFrameBuffer()
/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_cmd.h53 virtual void operator()(Ctx *ctx) = 0;
76 void operator()(Ctx *ctx) override
83 std::apply(f_, std::tuple_cat(std::make_tuple(ctx), args_));
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/unittest/
H A Dthread_private_data_ctl_test.cpp70 EGLContext ctx = nullptr; in HWTEST_F() local
71 threadPrivateDataCtl.SetContext(ctx); in HWTEST_F()
72 ASSERT_EQ(ctx, threadPrivateDataCtl.GetContext()); in HWTEST_F()
/third_party/elfutils/libasm/
H A Dasm_newscn_ingrp.c40 asm_newscn_ingrp (AsmCtx_t *ctx, const char *scnname, GElf_Word type, in asm_newscn_ingrp() argument
43 AsmScn_t *result = INTUSE (asm_newscn) (ctx, scnname, type, flags); in asm_newscn_ingrp()
64 if (likely (! ctx->textp)) in asm_newscn_ingrp()
/third_party/ffmpeg/libavcodec/
H A Dsipr.h98 void (*decode_frame)(struct SiprContext *ctx, SiprParameters *params,
104 void ff_sipr_init_16k(SiprContext *ctx);
106 void ff_sipr_decode_frame_16k(SiprContext *ctx, SiprParameters *params,
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_common.h83 int ff_check_exec_params(void *ctx, DNNBackendType backend, DNNFunctionType func_type, DNNExecBaseParams *exec_params);
117 * @param ctx pointer to the backend context
122 int ff_dnn_start_inference_async(void *ctx, DNNAsyncExecModule *async_module);
147 * @param ctx pointer to the backend context
151 int ff_dnn_fill_gettingoutput_task(TaskItem *task, DNNExecBaseParams *exec_params, void *backend_model, int input_height, int input_width, void *ctx);
/third_party/mesa3d/src/compiler/glsl/
H A Dhir_field_selection.cpp34 void *ctx = state; in _mesa_ast_field_selection_to_hir() local
50 result = new(ctx) ir_dereference_record(op, in _mesa_ast_field_selection_to_hir()
79 return result ? result : ir_rvalue::error_value(ctx); in _mesa_ast_field_selection_to_hir()
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_buffer.c31 void virgl_buffer_transfer_unmap(struct pipe_context *ctx, in virgl_buffer_transfer_unmap() argument
34 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_unmap()
64 void virgl_buffer_transfer_flush_region(struct pipe_context *ctx, in virgl_buffer_transfer_flush_region() argument
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_composite.h147 xa_composite_prepare(struct xa_context *ctx, const struct xa_composite *comp);
150 xa_composite_rect(struct xa_context *ctx,
154 xa_composite_done(struct xa_context *ctx);
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dsetrlimit.c25 struct ctx { struct
33 struct ctx *c = p; in do_setrlimit()
40 struct ctx c = { .res = resource, .rlim = rlim, .err = -1 }; in setrlimit()
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_layout.c91 bi_block_offset(bi_context *ctx, bi_clause *start, bi_block *target) in bi_block_offset() argument
109 bi_foreach_block_from(ctx, start->block, blk) { in bi_block_offset()
136 bi_foreach_block_from_rev(ctx, start->block, blk) { in bi_block_offset()
/third_party/mesa3d/src/panfrost/perf/
H A Dquick.c13 void *ctx = ralloc_context(NULL); in main() local
14 struct panfrost_perf *perf = rzalloc(ctx, struct panfrost_perf); in main()
17 panfrost_open_device(ctx, fd, &dev); in main()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.h69 /* Note that a fence can outlive the ctx, so we can only assume this is a
73 struct fd_context *ctx; member
84 bool fd_fence_finish(struct pipe_screen *pscreen, struct pipe_context *ctx,
91 void fd_fence_server_signal(struct pipe_context *ctx,
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_trace_gallium.c39 struct pipe_context *ctx = utctx->pctx; in u_trace_pipe_create_ts_buffer() local
51 return ctx->screen->resource_create(ctx->screen, &tmpl); in u_trace_pipe_create_ts_buffer()
/third_party/node/deps/openssl/openssl/providers/common/include/prov/
H A Dprovider_util.h48 OSSL_LIB_CTX *ctx);
77 OSSL_LIB_CTX *ctx);
126 OSSL_LIB_CTX *ctx);
/third_party/openssl/providers/common/include/prov/
H A Dprovider_util.h48 OSSL_LIB_CTX *ctx);
77 OSSL_LIB_CTX *ctx);
126 OSSL_LIB_CTX *ctx);
/third_party/skia/third_party/externals/tint/src/ast/
H A Dinterpolate_decoration.cc39 CloneContext* ctx) const { in Clone()
41 auto src = ctx->Clone(source); in Clone()
42 return ctx->dst->create<InterpolateDecoration>(src, type, sampling); in Clone()
/third_party/skia/tools/sk_app/win/
H A DDawnD3D12WindowContext_win.cpp62 std::unique_ptr<WindowContext> ctx(new DawnD3D12WindowContext(hwnd, params)); in MakeDawnD3D12ForWin()
63 if (!ctx->isValid()) { in MakeDawnD3D12ForWin()
66 return ctx; in MakeDawnD3D12ForWin()
H A DVulkanWindowContext_win.cpp72 std::unique_ptr<WindowContext> ctx( in MakeVulkanForWin()
74 if (!ctx->isValid()) { in MakeVulkanForWin()
77 return ctx; in MakeVulkanForWin()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_resource.c318 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen; in iris_image_view_get_format()
1510 iris_flush_resource(struct pipe_context *ctx, struct pipe_resource *resource) in iris_flush_resource() argument
1512 struct iris_context *ice = (struct iris_context *)ctx; in iris_flush_resource()
1549 struct pipe_screen *pscreen = ice->ctx.screen; in iris_reallocate_resource_inplace()
1591 iris_flush_resource(&ice->ctx, &new_res->base.b); in iris_reallocate_resource_inplace()
1633 struct pipe_context *ctx, in iris_resource_disable_suballoc_on_first_query()
1642 if (ctx) { in iris_resource_disable_suballoc_on_first_query()
1643 ctx = threaded_context_unwrap_sync(ctx); in iris_resource_disable_suballoc_on_first_query()
1654 ctx in iris_resource_disable_suballoc_on_first_query()
1632 iris_resource_disable_suballoc_on_first_query(struct pipe_screen *pscreen, struct pipe_context *ctx, struct iris_resource *res) iris_resource_disable_suballoc_on_first_query() argument
1688 iris_resource_get_param(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_resource *resource, unsigned plane, unsigned layer, unsigned level, enum pipe_resource_param param, unsigned handle_usage, uint64_t *value) iris_resource_get_param() argument
1787 iris_resource_get_handle(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_resource *resource, struct winsys_handle *whandle, unsigned usage) iris_resource_get_handle() argument
1874 iris_replace_buffer_storage(struct pipe_context *ctx, struct pipe_resource *p_dst, struct pipe_resource *p_src, unsigned num_rebinds, uint32_t rebind_mask, uint32_t delete_buffer_id) iris_replace_buffer_storage() argument
1903 iris_invalidate_resource(struct pipe_context *ctx, struct pipe_resource *resource) iris_invalidate_resource() argument
2340 iris_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, enum pipe_map_flags usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) iris_transfer_map() argument
2487 iris_transfer_flush_region(struct pipe_context *ctx, struct pipe_transfer *xfer, const struct pipe_box *box) iris_transfer_flush_region() argument
2509 iris_transfer_unmap(struct pipe_context *ctx, struct pipe_transfer *xfer) iris_transfer_unmap() argument
2544 iris_texture_subdata(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) iris_texture_subdata() argument
2717 iris_init_resource_functions(struct pipe_context *ctx) iris_init_resource_functions() argument
[all...]
H A Diris_state.c906 uint32_t *map = pipe_buffer_map_range(&ice->ctx, ice->state.pixel_hashing_tables, in upload_pixel_hashing_tables()
932 pipe_buffer_unmap(&ice->ctx, transfer); in upload_pixel_hashing_tables()
1297 iris_set_blend_color(struct pipe_context *ctx, in iris_set_blend_color() argument
1300 struct iris_context *ice = (struct iris_context *) ctx; in iris_set_blend_color()
1350 iris_create_blend_state(struct pipe_context *ctx, in iris_create_blend_state() argument
1457 iris_bind_blend_state(struct pipe_context *ctx, void *state) in iris_bind_blend_state() argument
1459 struct iris_context *ice = (struct iris_context *) ctx; in iris_bind_blend_state()
1522 iris_create_zsa_state(struct pipe_context *ctx, in iris_create_zsa_state() argument
1590 iris_bind_zsa_state(struct pipe_context *ctx, void *state) in iris_bind_zsa_state() argument
1592 struct iris_context *ice = (struct iris_context *) ctx; in iris_bind_zsa_state()
1864 iris_create_rasterizer_state(struct pipe_context *ctx, const struct pipe_rasterizer_state *state) iris_create_rasterizer_state() argument
2004 iris_bind_rasterizer_state(struct pipe_context *ctx, void *state) iris_bind_rasterizer_state() argument
2150 iris_create_sampler_state(struct pipe_context *ctx, const struct pipe_sampler_state *state) iris_create_sampler_state() argument
2189 iris_bind_sampler_states(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start, unsigned count, void **states) iris_bind_sampler_states() argument
2531 iris_create_sampler_view(struct pipe_context *ctx, struct pipe_resource *tex, const struct pipe_sampler_view *tmpl) iris_create_sampler_view() argument
2633 iris_sampler_view_destroy(struct pipe_context *ctx, struct pipe_sampler_view *state) iris_sampler_view_destroy() argument
2650 iris_create_surface(struct pipe_context *ctx, struct pipe_resource *tex, const struct pipe_surface *tmpl) iris_create_surface() argument
2851 iris_set_shader_images(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, const struct pipe_image_view *p_images) iris_set_shader_images() argument
2968 iris_set_sampler_views(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) iris_set_sampler_views() argument
3025 iris_set_compute_resources(struct pipe_context *ctx, unsigned start, unsigned count, struct pipe_surface **resources) iris_set_compute_resources() argument
3033 iris_set_global_binding(struct pipe_context *ctx, unsigned start_slot, unsigned count, struct pipe_resource **resources, uint32_t **handles) iris_set_global_binding() argument
3068 iris_set_tess_state(struct pipe_context *ctx, const float default_outer_level[4], const float default_inner_level[2]) iris_set_tess_state() argument
3083 iris_set_patch_vertices(struct pipe_context *ctx, uint8_t patch_vertices) iris_set_patch_vertices() argument
3091 iris_surface_destroy(struct pipe_context *ctx, struct pipe_surface *p_surf) iris_surface_destroy() argument
3103 iris_set_clip_state(struct pipe_context *ctx, const struct pipe_clip_state *state) iris_set_clip_state() argument
3125 iris_set_polygon_stipple(struct pipe_context *ctx, const struct pipe_poly_stipple *state) iris_set_polygon_stipple() argument
3137 iris_set_sample_mask(struct pipe_context *ctx, unsigned sample_mask) iris_set_sample_mask() argument
3155 iris_set_scissor_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *rects) iris_set_scissor_states() argument
3190 iris_set_stencil_ref(struct pipe_context *ctx, const struct pipe_stencil_ref state) iris_set_stencil_ref() argument
3217 iris_set_viewport_states(struct pipe_context *ctx, unsigned start_slot, unsigned count, const struct pipe_viewport_state *states) iris_set_viewport_states() argument
3240 iris_set_framebuffer_state(struct pipe_context *ctx, const struct pipe_framebuffer_state *state) iris_set_framebuffer_state() argument
3369 iris_set_constant_buffer(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned index, bool take_ownership, const struct pipe_constant_buffer *input) iris_set_constant_buffer() argument
3530 iris_set_shader_buffers(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, const struct pipe_shader_buffer *buffers, unsigned writable_bitmask) iris_set_shader_buffers() argument
3581 iris_delete_state(struct pipe_context *ctx, void *state) iris_delete_state() argument
3592 iris_set_vertex_buffers(struct pipe_context *ctx, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, const struct pipe_vertex_buffer *buffers) iris_set_vertex_buffers() argument
3691 iris_create_vertex_elements(struct pipe_context *ctx, unsigned count, const struct pipe_vertex_element *state) iris_create_vertex_elements() argument
3795 iris_bind_vertex_elements_state(struct pipe_context *ctx, void *state) iris_bind_vertex_elements_state() argument
3820 iris_create_stream_output_target(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned buffer_offset, unsigned buffer_size) iris_create_stream_output_target() argument
3845 iris_stream_output_target_destroy(struct pipe_context *ctx, struct pipe_stream_output_target *state) iris_stream_output_target_destroy() argument
3864 iris_set_stream_output_targets(struct pipe_context *ctx, unsigned num_targets, struct pipe_stream_output_target **targets, const unsigned *offsets) iris_set_stream_output_targets() argument
7468 struct pipe_context *ctx = &ice->ctx; iris_rebind_buffer() local
8390 iris_set_frontend_noop(struct pipe_context *ctx, bool enable) iris_set_frontend_noop() argument
8445 struct pipe_context *ctx = &ice->ctx; init_state() local
[all...]
/third_party/curl/lib/vtls/
H A Dvtls.c458 struct ssl_connect_data *ctx; in cf_ctx_new() local
461 ctx = calloc(1, sizeof(*ctx)); in cf_ctx_new()
462 if(!ctx) in cf_ctx_new()
465 ctx->alpn = alpn; in cf_ctx_new()
466 ctx->backend = calloc(1, Curl_ssl->sizeof_ssl_backend_data); in cf_ctx_new()
467 if(!ctx->backend) { in cf_ctx_new()
468 free(ctx); in cf_ctx_new()
471 return ctx; in cf_ctx_new()
474 static void cf_ctx_free(struct ssl_connect_data *ctx) in cf_ctx_free() argument
1888 struct ssl_connect_data *ctx; cf_ssl_create() local
1941 struct ssl_connect_data *ctx; cf_ssl_proxy_create() local
[all...]
/third_party/astc-encoder/Source/
H A Dastcenc_compress_symbolic.cpp1388 const astcenc_contexti& ctx, in compress_block()
1400 astcenc_profile decode_mode = ctx.config.profile; in compress_block()
1402 const block_size_descriptor& bsd = *ctx.bsd; in compress_block()
1420 if (ctx.config.privateProfile == HIGH_SPEED_PROFILE) in compress_block()
1425 else if (ctx.config.privateProfile == CUSTOMIZED_PROFILE) in compress_block()
1438 max_partitions = ctx.config.tune_partition_count_limit; in compress_block()
1442 ctx.config.tune_2partition_index_limit, in compress_block()
1443 ctx.config.tune_3partition_index_limit, in compress_block()
1444 ctx.config.tune_4partition_index_limit in compress_block()
1448 ctx in compress_block()
1387 compress_block( const astcenc_contexti& ctx, const image_block& blk, uint8_t pcb[16], compression_working_buffers& tmpbuf, bool calQualityEnable, int32_t *mseBlock[RGBA_COM] ) compress_block() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_query.c449 struct pipe_context *ctx = squery->b.flushed ? NULL : &sctx->b; in si_query_sw_get_result() local
451 result->b = screen->fence_finish(screen, ctx, query->fence, wait ? PIPE_TIMEOUT_INFINITE : 0); in si_query_sw_get_result()
1037 static void emit_set_predicate(struct si_context *ctx, struct si_resource *buf, uint64_t va, in emit_set_predicate() argument
1040 struct radeon_cmdbuf *cs = &ctx->gfx_cs; in emit_set_predicate()
1044 if (ctx->gfx_level >= GFX9) { in emit_set_predicate()
1056 radeon_add_to_buffer_list(ctx, &ctx->gfx_cs, buf, RADEON_USAGE_READ | RADEON_PRIO_QUERY); in emit_set_predicate()
1059 static void si_emit_query_predication(struct si_context *ctx) in si_emit_query_predication() argument
1064 struct si_query_hw *query = (struct si_query_hw *)ctx->render_cond; in si_emit_query_predication()
1068 invert = ctx in si_emit_query_predication()
1191 si_create_query(struct pipe_context *ctx, unsigned query_type, unsigned index) si_create_query() argument
1210 si_destroy_query(struct pipe_context *ctx, struct pipe_query *query) si_destroy_query() argument
1218 si_begin_query(struct pipe_context *ctx, struct pipe_query *query) si_begin_query() argument
1249 si_end_query(struct pipe_context *ctx, struct pipe_query *query) si_end_query() argument
1464 si_get_query_result(struct pipe_context *ctx, struct pipe_query *query, bool wait, union pipe_query_result *result) si_get_query_result() argument
1473 si_get_query_result_resource(struct pipe_context *ctx, struct pipe_query *query, enum pipe_query_flags flags, enum pipe_query_value_type result_type, int index, struct pipe_resource *resource, unsigned offset) si_get_query_result_resource() argument
1666 si_render_condition(struct pipe_context *ctx, struct pipe_query *query, bool condition, enum pipe_render_cond_flag mode) si_render_condition() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_chromanr.c56 int (*filter_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
79 static int distance ## _slice##name(AVFilterContext *ctx, void *arg, \
82 ChromaNRContext *s = ctx->priv; \
183 AVFilterContext *ctx = inlink->dst; in filter_frame() local
184 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame()
185 ChromaNRContext *s = ctx->priv; in filter_frame()
210 ff_filter_execute(ctx, s->filter_slice, in, NULL, in filter_frame()
213 ff_filter_get_nb_threads(ctx))); in filter_frame()
221 AVFilterContext *ctx = inlink->dst; in config_input() local
222 ChromaNRContext *s = ctx in config_input()
[all...]

Completed in 22 milliseconds

1...<<161162163164165166167168169170>>...293