Home
last modified time | relevance | path

Searched refs:pctx (Results 1 - 25 of 524) sorted by relevance

12345678910>>...21

/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dm_sigver.c39 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init() argument
64 if (ctx->pctx == NULL) { in do_sigver_init()
67 ctx->pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, props); in do_sigver_init()
69 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); in do_sigver_init()
71 if (ctx->pctx == NULL) in do_sigver_init()
74 locpctx = ctx->pctx; in do_sigver_init()
213 if (pctx != NULL) in do_sigver_init()
214 *pctx = locpctx; in do_sigver_init()
304 if (ctx->pctx->pmeth == NULL) { in do_sigver_init()
309 if (!(ctx->pctx in do_sigver_init()
374 EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const char *mdname, OSSL_LIB_CTX *libctx, const char *props, EVP_PKEY *pkey, const OSSL_PARAM params[]) EVP_DigestSignInit_ex() argument
383 EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) EVP_DigestSignInit() argument
390 EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const char *mdname, OSSL_LIB_CTX *libctx, const char *props, EVP_PKEY *pkey, const OSSL_PARAM params[]) EVP_DigestVerifyInit_ex() argument
399 EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) EVP_DigestVerifyInit() argument
409 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestSignUpdate() local
439 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestVerifyUpdate() local
472 EVP_PKEY_CTX *dctx, *pctx = ctx->pctx; EVP_DigestSignFinal() local
570 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestSign() local
599 EVP_PKEY_CTX *dctx, *pctx = ctx->pctx; EVP_DigestVerifyFinal() local
663 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestVerify() local
[all...]
/third_party/openssl/crypto/evp/
H A Dm_sigver.c39 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init() argument
64 if (ctx->pctx == NULL) { in do_sigver_init()
67 ctx->pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, props); in do_sigver_init()
69 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); in do_sigver_init()
71 if (ctx->pctx == NULL) in do_sigver_init()
74 locpctx = ctx->pctx; in do_sigver_init()
213 if (pctx != NULL) in do_sigver_init()
214 *pctx = locpctx; in do_sigver_init()
304 if (ctx->pctx->pmeth == NULL) { in do_sigver_init()
309 if (!(ctx->pctx in do_sigver_init()
374 EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const char *mdname, OSSL_LIB_CTX *libctx, const char *props, EVP_PKEY *pkey, const OSSL_PARAM params[]) EVP_DigestSignInit_ex() argument
383 EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) EVP_DigestSignInit() argument
390 EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const char *mdname, OSSL_LIB_CTX *libctx, const char *props, EVP_PKEY *pkey, const OSSL_PARAM params[]) EVP_DigestVerifyInit_ex() argument
399 EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) EVP_DigestVerifyInit() argument
409 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestSignUpdate() local
439 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestVerifyUpdate() local
472 EVP_PKEY_CTX *dctx, *pctx = ctx->pctx; EVP_DigestSignFinal() local
570 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestSign() local
599 EVP_PKEY_CTX *dctx, *pctx = ctx->pctx; EVP_DigestVerifyFinal() local
663 EVP_PKEY_CTX *pctx = ctx->pctx; EVP_DigestVerify() local
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_program.c47 fd_set_patch_vertices(struct pipe_context *pctx, uint8_t patch_vertices) in_dt
49 struct fd_context *ctx = fd_context(pctx);
55 fd_vs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt
57 struct fd_context *ctx = fd_context(pctx);
64 fd_tcs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt
66 struct fd_context *ctx = fd_context(pctx);
73 fd_tes_state_bind(struct pipe_context *pctx, void *hwcso) in_dt
75 struct fd_context *ctx = fd_context(pctx);
82 fd_gs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt
84 struct fd_context *ctx = fd_context(pctx);
113 assemble_tgsi(struct pipe_context *pctx, const char *src, bool frag) assemble_tgsi() argument
131 texcoord_semantic(struct pipe_context *pctx) texcoord_semantic() argument
143 fd_prog_blit_vs(struct pipe_context *pctx) fd_prog_blit_vs() argument
166 fd_prog_blit_fs(struct pipe_context *pctx, int rts, bool depth) fd_prog_blit_fs() argument
195 fd_prog_init(struct pipe_context *pctx) fd_prog_init() argument
239 fd_prog_fini(struct pipe_context *pctx) fd_prog_fini() argument
[all...]
H A Dfreedreno_context.c45 fd_context_flush(struct pipe_context *pctx, struct pipe_fence_handle **fencep,
48 struct fd_context *ctx = fd_context(pctx);
157 fd_texture_barrier(struct pipe_context *pctx, unsigned flags) in_dt
160 struct fd_context *ctx = fd_context(pctx);
173 fd_context_flush(pctx, NULL, 0);
177 fd_memory_barrier(struct pipe_context *pctx, unsigned flags) in fd_memory_barrier() argument
182 fd_context_flush(pctx, NULL, 0); in fd_memory_barrier()
235 fd_emit_string_marker(struct pipe_context *pctx, const char *string,
238 struct fd_context *ctx = fd_context(pctx);
334 fd_context_destroy(struct pipe_context *pctx) in fd_context_destroy() argument
405 fd_set_debug_callback(struct pipe_context *pctx, const struct util_debug_callback *cb) fd_set_debug_callback() argument
430 fd_get_device_reset_status(struct pipe_context *pctx) fd_get_device_reset_status() argument
512 create_solid_vertexbuf(struct pipe_context *pctx) create_solid_vertexbuf() argument
526 create_blit_texcoord_vertexbuf(struct pipe_context *pctx) create_blit_texcoord_vertexbuf() argument
536 struct pipe_context *pctx = &ctx->base; fd_context_setup_common_vbos() local
578 struct pipe_context *pctx = &ctx->base; fd_context_cleanup_common_vbos() local
593 struct pipe_context *pctx; global() variable
650 fd_draw_init(pctx); global() variable
651 fd_resource_context_init(pctx); global() variable
652 fd_query_context_init(pctx); global() variable
653 fd_texture_init(pctx); global() variable
654 fd_state_init(pctx); global() variable
686 fd_context_init_tc(struct pipe_context *pctx, unsigned flags) fd_context_init_tc() argument
[all...]
H A Dfreedreno_state.c64 fd_set_blend_color(struct pipe_context *pctx,
67 struct fd_context *ctx = fd_context(pctx);
73 fd_set_stencil_ref(struct pipe_context *pctx,
76 struct fd_context *ctx = fd_context(pctx);
82 fd_set_clip_state(struct pipe_context *pctx,
85 struct fd_context *ctx = fd_context(pctx);
91 fd_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in_dt
93 struct fd_context *ctx = fd_context(pctx);
99 fd_set_min_samples(struct pipe_context *pctx, unsigned min_samples) in_dt
101 struct fd_context *ctx = fd_context(pctx);
253 fd_set_framebuffer_state(struct pipe_context *pctx, const struct pipe_framebuffer_state *framebuffer) fd_set_framebuffer_state() argument
496 fd_vertex_state_create(struct pipe_context *pctx, unsigned num_elements, const struct pipe_vertex_element *elements) fd_vertex_state_create() argument
525 fd_create_stream_output_target(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned buffer_offset, unsigned buffer_size) fd_create_stream_output_target() argument
554 fd_stream_output_target_destroy(struct pipe_context *pctx, struct pipe_stream_output_target *target) fd_stream_output_target_destroy() argument
701 fd_state_init(struct pipe_context *pctx) fd_state_init() argument
[all...]
H A Dfreedreno_perfetto.cc126 stage_start(struct pipe_context *pctx, uint64_t ts_ns, enum fd_stage_id stage) in stage_start() argument
128 struct fd_context *ctx = fd_context(pctx); in stage_start()
135 stage_end(struct pipe_context *pctx, uint64_t ts_ns, enum fd_stage_id stage) in stage_end() argument
137 struct fd_context *ctx = fd_context(pctx); in stage_end()
163 event->set_context((uintptr_t)pctx); in stage_end()
324 fd_start_render_pass(struct pipe_context *pctx, uint64_t ts_ns, in fd_start_render_pass() argument
328 stage_start(pctx, ts_ns, SURFACE_STAGE_ID); in fd_start_render_pass()
330 struct fd_perfetto_state *p = &fd_context(pctx)->perfetto; in fd_start_render_pass()
345 fd_end_render_pass(struct pipe_context *pctx, uint64_t ts_ns, in fd_end_render_pass() argument
349 stage_end(pctx, ts_n in fd_end_render_pass()
353 fd_start_binning_ib(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_binning_ib *payload) fd_start_binning_ib() argument
361 fd_end_binning_ib(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_binning_ib *payload) fd_end_binning_ib() argument
369 fd_start_draw_ib(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_draw_ib *payload) fd_start_draw_ib() argument
379 fd_end_draw_ib(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_draw_ib *payload) fd_end_draw_ib() argument
389 fd_start_blit(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_blit *payload) fd_start_blit() argument
397 fd_end_blit(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_blit *payload) fd_end_blit() argument
405 fd_start_compute(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_compute *payload) fd_start_compute() argument
413 fd_end_compute(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_compute *payload) fd_end_compute() argument
421 fd_start_clear_restore(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_clear_restore *payload) fd_start_clear_restore() argument
429 fd_end_clear_restore(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_clear_restore *payload) fd_end_clear_restore() argument
437 fd_start_resolve(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_resolve *payload) fd_start_resolve() argument
445 fd_end_resolve(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_resolve *payload) fd_end_resolve() argument
453 fd_start_state_restore(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_state_restore *payload) fd_start_state_restore() argument
461 fd_end_state_restore(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_state_restore *payload) fd_end_state_restore() argument
469 fd_start_vsc_overflow_test(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_vsc_overflow_test *payload) fd_start_vsc_overflow_test() argument
477 fd_end_vsc_overflow_test(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_vsc_overflow_test *payload) fd_end_vsc_overflow_test() argument
485 fd_start_prologue(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_start_prologue *payload) fd_start_prologue() argument
493 fd_end_prologue(struct pipe_context *pctx, uint64_t ts_ns, const void *flush_data, const struct trace_end_prologue *payload) fd_end_prologue() argument
[all...]
H A Dfreedreno_blitter.c121 struct pipe_context *pctx = &ctx->base; in fd_blitter_blit() local
133 pctx->invalidate_resource(pctx, info->dst.resource); in fd_blitter_blit()
188 fd_blitter_clear(struct pipe_context *pctx, unsigned buffers, in fd_blitter_clear() argument
192 struct fd_context *ctx = fd_context(pctx); in fd_blitter_clear()
208 pctx->set_stencil_ref(pctx, sr); in fd_blitter_clear()
214 pctx->set_constant_buffer(pctx, PIPE_SHADER_FRAGMENT, 0, false, &cb); in fd_blitter_clear()
227 ctx->clear_rs_state[rs_idx] = pctx in fd_blitter_clear()
287 fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) fd_blit() argument
331 struct pipe_context *pctx = &ctx->base; global() variable
349 fd_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) fd_resource_copy_region() argument
[all...]
H A Dfreedreno_query.c41 fd_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index) in fd_create_query() argument
43 struct fd_context *ctx = fd_context(pctx); in fd_create_query()
55 fd_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in_dt
58 q->funcs->destroy_query(fd_context(pctx), q);
62 fd_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in_dt
66 q->funcs->begin_query(fd_context(pctx), q);
72 fd_end_query(struct pipe_context *pctx, struct pipe_query *pq) in_dt
80 fd_begin_query(pctx, pq);
82 q->funcs->end_query(fd_context(pctx), q);
88 fd_get_query_result(struct pipe_context *pctx, struc argument
262 fd_query_context_init(struct pipe_context *pctx) fd_query_context_init() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_context.c40 vc4_flush(struct pipe_context *pctx) in vc4_flush() argument
42 struct vc4_context *vc4 = vc4_context(pctx); in vc4_flush()
51 vc4_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in vc4_pipe_flush() argument
54 struct vc4_context *vc4 = vc4_context(pctx); in vc4_pipe_flush()
56 vc4_flush(pctx); in vc4_pipe_flush()
59 struct pipe_screen *screen = pctx->screen; in vc4_pipe_flush()
81 vc4_texture_barrier(struct pipe_context *pctx, unsigned flags) in vc4_texture_barrier() argument
83 vc4_flush(pctx); in vc4_texture_barrier()
87 vc4_set_debug_callback(struct pipe_context *pctx, in vc4_set_debug_callback() argument
90 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_debug_callback()
99 vc4_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) vc4_invalidate_resource() argument
117 vc4_context_destroy(struct pipe_context *pctx) vc4_context_destroy() argument
167 struct pipe_context *pctx = &vc4->base; vc4_context_create() local
[all...]
H A Dvc4_state.c45 vc4_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in vc4_generic_cso_state_delete() argument
51 vc4_set_blend_color(struct pipe_context *pctx, in vc4_set_blend_color() argument
54 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_blend_color()
62 vc4_set_stencil_ref(struct pipe_context *pctx, in vc4_set_stencil_ref() argument
65 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_stencil_ref()
71 vc4_set_clip_state(struct pipe_context *pctx, in vc4_set_clip_state() argument
74 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_clip_state()
80 vc4_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in vc4_set_sample_mask() argument
82 struct vc4_context *vc4 = vc4_context(pctx); in vc4_set_sample_mask()
94 vc4_create_rasterizer_state(struct pipe_context *pctx, in vc4_create_rasterizer_state() argument
156 vc4_create_blend_state(struct pipe_context *pctx, const struct pipe_blend_state *cso) vc4_create_blend_state() argument
207 vc4_create_depth_stencil_alpha_state(struct pipe_context *pctx, const struct pipe_depth_stencil_alpha_state *cso) vc4_create_depth_stencil_alpha_state() argument
282 vc4_set_polygon_stipple(struct pipe_context *pctx, const struct pipe_poly_stipple *stipple) vc4_set_polygon_stipple() argument
291 vc4_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) vc4_set_scissor_states() argument
303 vc4_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewport) vc4_set_viewport_states() argument
314 vc4_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, const struct pipe_vertex_buffer *vb) vc4_set_vertex_buffers() argument
333 vc4_blend_state_bind(struct pipe_context *pctx, void *hwcso) vc4_blend_state_bind() argument
341 vc4_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) vc4_rasterizer_state_bind() argument
356 vc4_zsa_state_bind(struct pipe_context *pctx, void *hwcso) vc4_zsa_state_bind() argument
364 vc4_vertex_state_create(struct pipe_context *pctx, unsigned num_elements, const struct pipe_vertex_element *elements) vc4_vertex_state_create() argument
379 vc4_vertex_state_bind(struct pipe_context *pctx, void *hwcso) vc4_vertex_state_bind() argument
387 vc4_set_constant_buffer(struct pipe_context *pctx, enum pipe_shader_type shader, uint index, bool take_ownership, const struct pipe_constant_buffer *cb) vc4_set_constant_buffer() argument
415 vc4_set_framebuffer_state(struct pipe_context *pctx, const struct pipe_framebuffer_state *framebuffer) vc4_set_framebuffer_state() argument
487 vc4_create_sampler_state(struct pipe_context *pctx, const struct pipe_sampler_state *cso) vc4_create_sampler_state() argument
527 vc4_sampler_states_bind(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, void **hwcso) vc4_sampler_states_bind() argument
552 vc4_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, const struct pipe_sampler_view *cso) vc4_create_sampler_view() argument
641 vc4_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *pview) vc4_sampler_view_destroy() argument
651 vc4_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) vc4_set_sampler_views() argument
684 vc4_state_init(struct pipe_context *pctx) vc4_state_init() argument
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Dkdf.h37 # define EVP_PKEY_CTX_set_tls1_prf_md(pctx, md) \
38 EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
41 # define EVP_PKEY_CTX_set1_tls1_prf_secret(pctx, sec, seclen) \
42 EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
45 # define EVP_PKEY_CTX_add1_tls1_prf_seed(pctx, seed, seedlen) \
46 EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
49 # define EVP_PKEY_CTX_set_hkdf_md(pctx, md) \
50 EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
53 # define EVP_PKEY_CTX_set1_hkdf_salt(pctx, salt, saltlen) \
54 EVP_PKEY_CTX_ctrl(pctx,
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_context.c39 fd2_context_destroy(struct pipe_context *pctx) in_dt
41 fd_context_destroy(pctx); variable
42 free(pctx); variable
46 create_solid_vertexbuf(struct pipe_context *pctx) in create_solid_vertexbuf() argument
66 pipe_buffer_create(pctx->screen, PIPE_BIND_CUSTOM, PIPE_USAGE_IMMUTABLE, in create_solid_vertexbuf()
68 pipe_buffer_write(pctx, prsc, 0, sizeof(init_shader_const), in create_solid_vertexbuf()
78 struct pipe_context *pctx; in fd2_context_create() local
83 pctx = &fd2_ctx->base.base; in fd2_context_create()
84 pctx->screen = pscreen; in fd2_context_create()
90 pctx in fd2_context_create()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_context.c42 fd4_context_destroy(struct pipe_context *pctx) in_dt
44 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx));
49 fd_context_destroy(pctx); variable
57 fd_hw_query_fini(pctx); variable
68 struct pipe_context *pctx; variable
73 pctx = &fd4_ctx->base.base;
74 pctx->screen = pscreen;
81 pctx->destroy = fd4_context_destroy;
82 pctx->create_blend_state = fd4_blend_state_create;
83 pctx
86 fd4_draw_init(pctx); global() variable
87 fd4_compute_init(pctx); global() variable
88 fd4_gmem_init(pctx); global() variable
89 fd4_texture_init(pctx); global() variable
90 fd4_prog_init(pctx); global() variable
91 fd4_emit_init(pctx); global() variable
110 fd4_query_context_init(pctx); global() variable
[all...]
/third_party/openssl/test/
H A Dpkey_meth_kdf_test.c22 EVP_PKEY_CTX *pctx; in test_kdf_tls1_prf() local
26 if ((pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_TLS1_PRF, NULL)) == NULL) { in test_kdf_tls1_prf()
30 if (EVP_PKEY_derive_init(pctx) <= 0) { in test_kdf_tls1_prf()
34 if (EVP_PKEY_CTX_set_tls1_prf_md(pctx, EVP_sha256()) <= 0) { in test_kdf_tls1_prf()
38 if (EVP_PKEY_CTX_set1_tls1_prf_secret(pctx, in test_kdf_tls1_prf()
43 if (EVP_PKEY_CTX_add1_tls1_prf_seed(pctx, in test_kdf_tls1_prf()
48 if (EVP_PKEY_derive(pctx, out, &outlen) <= 0) { in test_kdf_tls1_prf()
64 EVP_PKEY_CTX_free(pctx); in test_kdf_tls1_prf()
71 EVP_PKEY_CTX *pctx; in test_kdf_hkdf() local
75 if ((pctx in test_kdf_hkdf()
125 EVP_PKEY_CTX *pctx; test_kdf_scrypt() local
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_context.c41 fd3_context_destroy(struct pipe_context *pctx) in_dt
43 struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx));
48 fd_context_destroy(pctx); variable
56 fd_hw_query_fini(pctx); variable
67 struct pipe_context *pctx; variable
72 pctx = &fd3_ctx->base.base;
73 pctx->screen = pscreen;
80 pctx->destroy = fd3_context_destroy;
81 pctx->create_blend_state = fd3_blend_state_create;
82 pctx
85 fd3_draw_init(pctx); global() variable
86 fd3_gmem_init(pctx); global() variable
87 fd3_texture_init(pctx); global() variable
88 fd3_prog_init(pctx); global() variable
89 fd3_emit_init(pctx); global() variable
108 fd3_query_context_init(pctx); global() variable
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_context.c44 v3d_flush(struct pipe_context *pctx) in v3d_flush() argument
46 struct v3d_context *v3d = v3d_context(pctx); in v3d_flush()
55 v3d_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in v3d_pipe_flush() argument
58 struct v3d_context *v3d = v3d_context(pctx); in v3d_pipe_flush()
60 v3d_flush(pctx); in v3d_pipe_flush()
63 struct pipe_screen *screen = pctx->screen; in v3d_pipe_flush()
71 v3d_memory_barrier(struct pipe_context *pctx, unsigned int flags) in v3d_memory_barrier() argument
73 struct v3d_context *v3d = v3d_context(pctx); in v3d_memory_barrier()
86 v3d_flush(pctx); in v3d_memory_barrier()
90 v3d_set_debug_callback(struct pipe_context *pctx, in v3d_set_debug_callback() argument
102 v3d_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) v3d_invalidate_resource() argument
277 v3d_context_destroy(struct pipe_context *pctx) v3d_context_destroy() argument
314 v3d_get_sample_position(struct pipe_context *pctx, unsigned sample_count, unsigned sample_index, float *xy) v3d_get_sample_position() argument
347 struct pipe_context *pctx = &v3d->base; v3d_context_create() local
[all...]
H A Dv3d_query.c45 v3d_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index) in v3d_create_query() argument
47 struct v3d_context *v3d = v3d_context(pctx); in v3d_create_query()
53 v3d_create_batch_query(struct pipe_context *pctx, unsigned num_queries, in v3d_create_batch_query() argument
56 return v3d_create_batch_query_perfcnt(v3d_context(pctx), in v3d_create_batch_query()
62 v3d_destroy_query(struct pipe_context *pctx, struct pipe_query *query) in v3d_destroy_query() argument
64 struct v3d_context *v3d = v3d_context(pctx); in v3d_destroy_query()
71 v3d_begin_query(struct pipe_context *pctx, struct pipe_query *query) in v3d_begin_query() argument
73 struct v3d_context *v3d = v3d_context(pctx); in v3d_begin_query()
80 v3d_end_query(struct pipe_context *pctx, struct pipe_query *query) in v3d_end_query() argument
82 struct v3d_context *v3d = v3d_context(pctx); in v3d_end_query()
89 v3d_get_query_result(struct pipe_context *pctx, struct pipe_query *query, bool wait, union pipe_query_result *vresult) v3d_get_query_result() argument
99 v3d_set_active_query_state(struct pipe_context *pctx, bool enable) v3d_set_active_query_state() argument
109 v3d_query_init(struct pipe_context *pctx) v3d_query_init() argument
[all...]
H A Dv3dx_state.c43 v3d_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in v3d_generic_cso_state_delete() argument
49 v3d_set_blend_color(struct pipe_context *pctx, in v3d_set_blend_color() argument
52 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_blend_color()
62 v3d_set_stencil_ref(struct pipe_context *pctx, in v3d_set_stencil_ref() argument
65 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_stencil_ref()
71 v3d_set_clip_state(struct pipe_context *pctx, in v3d_set_clip_state() argument
74 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_clip_state()
80 v3d_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) in v3d_set_sample_mask() argument
82 struct v3d_context *v3d = v3d_context(pctx); in v3d_set_sample_mask()
88 v3d_create_rasterizer_state(struct pipe_context *pctx, in v3d_create_rasterizer_state() argument
130 v3d_create_blend_state(struct pipe_context *pctx, const struct pipe_blend_state *cso) v3d_create_blend_state() argument
174 v3d_create_depth_stencil_alpha_state(struct pipe_context *pctx, const struct pipe_depth_stencil_alpha_state *cso) v3d_create_depth_stencil_alpha_state() argument
266 v3d_set_polygon_stipple(struct pipe_context *pctx, const struct pipe_poly_stipple *stipple) v3d_set_polygon_stipple() argument
275 v3d_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) v3d_set_scissor_states() argument
287 v3d_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewport) v3d_set_viewport_states() argument
298 v3d_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, const struct pipe_vertex_buffer *vb) v3d_set_vertex_buffers() argument
317 v3d_blend_state_bind(struct pipe_context *pctx, void *hwcso) v3d_blend_state_bind() argument
325 v3d_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) v3d_rasterizer_state_bind() argument
333 v3d_zsa_state_bind(struct pipe_context *pctx, void *hwcso) v3d_zsa_state_bind() argument
341 v3d_vertex_state_create(struct pipe_context *pctx, unsigned num_elements, const struct pipe_vertex_element *elements) v3d_vertex_state_create() argument
442 v3d_vertex_state_delete(struct pipe_context *pctx, void *hwcso) v3d_vertex_state_delete() argument
451 v3d_vertex_state_bind(struct pipe_context *pctx, void *hwcso) v3d_vertex_state_bind() argument
459 v3d_set_constant_buffer(struct pipe_context *pctx, uint shader, uint index, bool take_ownership, const struct pipe_constant_buffer *cb) v3d_set_constant_buffer() argument
483 v3d_set_framebuffer_state(struct pipe_context *pctx, const struct pipe_framebuffer_state *framebuffer) v3d_set_framebuffer_state() argument
722 v3d_create_sampler_state(struct pipe_context *pctx, const struct pipe_sampler_state *cso) v3d_create_sampler_state() argument
803 v3d_sampler_states_bind(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, void **hwcso) v3d_sampler_states_bind() argument
830 v3d_sampler_state_delete(struct pipe_context *pctx, void *hwcso) v3d_sampler_state_delete() argument
1034 v3d_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, const struct pipe_sampler_view *cso) v3d_create_sampler_view() argument
1191 v3d_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *psview) v3d_sampler_view_destroy() argument
1203 v3d_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) v3d_set_sampler_views() argument
1250 v3d_create_stream_output_target(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned buffer_offset, unsigned buffer_size) v3d_create_stream_output_target() argument
1272 v3d_stream_output_target_destroy(struct pipe_context *pctx, struct pipe_stream_output_target *target) v3d_stream_output_target_destroy() argument
1280 v3d_set_stream_output_targets(struct pipe_context *pctx, unsigned num_targets, struct pipe_stream_output_target **targets, const unsigned *offsets) v3d_set_stream_output_targets() argument
1319 v3d_set_shader_buffers(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned count, const struct pipe_shader_buffer *buffers, unsigned writable_bitmask) v3d_set_shader_buffers() argument
1414 v3d_set_shader_images(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned count, unsigned unbind_num_trailing_slots, const struct pipe_image_view *images) v3d_set_shader_images() argument
1471 state_init(struct pipe_context *pctx) state_init() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_context.c43 fd5_context_destroy(struct pipe_context *pctx) in_dt
45 struct fd5_context *fd5_ctx = fd5_context(fd_context(pctx));
50 fd_context_destroy(pctx); variable
66 struct pipe_context *pctx; variable
71 pctx = &fd5_ctx->base.base;
72 pctx->screen = pscreen;
79 pctx->destroy = fd5_context_destroy;
80 pctx->create_blend_state = fd5_blend_state_create;
81 pctx->create_rasterizer_state = fd5_rasterizer_state_create;
82 pctx
84 fd5_draw_init(pctx); global() variable
85 fd5_compute_init(pctx); global() variable
86 fd5_gmem_init(pctx); global() variable
87 fd5_texture_init(pctx); global() variable
88 fd5_prog_init(pctx); global() variable
89 fd5_emit_init(pctx); global() variable
108 fd5_query_context_init(pctx); global() variable
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_context.c47 fd6_context_destroy(struct pipe_context *pctx) in_dt
49 struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx));
57 fd_context_destroy(pctx); variable
67 fd6_texture_fini(pctx); variable
73 fd6_vertex_state_create(struct pipe_context *pctx, unsigned num_elements, in fd6_vertex_state_create() argument
76 struct fd_context *ctx = fd_context(pctx); in fd6_vertex_state_create()
109 fd6_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_vertex_state_delete() argument
118 validate_surface(struct pipe_context *pctx, struct pipe_surface *psurf)
121 fd6_validate_format(fd_context(pctx), fd_resource(psurf->texture),
126 fd6_set_framebuffer_state(struct pipe_context *pctx,
206 struct pipe_context *pctx; global() variable
225 fd6_draw_init(pctx); global() variable
226 fd6_compute_init(pctx); global() variable
227 fd6_gmem_init(pctx); global() variable
228 fd6_texture_init(pctx); global() variable
229 fd6_prog_init(pctx); global() variable
230 fd6_emit_init(pctx); global() variable
231 fd6_query_context_init(pctx); global() variable
242 fd6_image_init(pctx); global() variable
267 fd6_blitter_init(pctx); global() variable
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_context.c69 etna_emit_string_marker(struct pipe_context *pctx, const char *string, int len) in etna_emit_string_marker() argument
71 struct etna_context *ctx = etna_context(pctx); in etna_emit_string_marker()
92 etna_set_frontend_noop(struct pipe_context *pctx, bool enable) in etna_set_frontend_noop() argument
94 struct etna_context *ctx = etna_context(pctx); in etna_set_frontend_noop()
96 pctx->flush(pctx, NULL, 0); in etna_set_frontend_noop()
101 etna_context_destroy(struct pipe_context *pctx) in etna_context_destroy() argument
103 struct etna_context *ctx = etna_context(pctx); in etna_context_destroy()
116 if (pctx->stream_uploader) in etna_context_destroy()
117 u_upload_destroy(pctx in etna_context_destroy()
215 etna_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draws, unsigned num_draws) etna_draw_vbo() argument
506 etna_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, enum pipe_flush_flags flags) etna_flush() argument
542 struct pipe_context *pctx = priv; etna_context_force_flush() local
549 etna_set_debug_callback(struct pipe_context *pctx, const struct util_debug_callback *cb) etna_set_debug_callback() argument
568 struct pipe_context *pctx; etna_context_create() local
[all...]
H A Detnaviv_query.c38 etna_create_query(struct pipe_context *pctx, unsigned query_type, in etna_create_query() argument
41 struct etna_context *ctx = etna_context(pctx); in etna_create_query()
52 etna_destroy_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_destroy_query() argument
56 q->funcs->destroy_query(etna_context(pctx), q); in etna_destroy_query()
60 etna_begin_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_begin_query() argument
64 q->funcs->begin_query(etna_context(pctx), q); in etna_begin_query()
70 etna_end_query(struct pipe_context *pctx, struct pipe_query *pq) in etna_end_query() argument
74 q->funcs->end_query(etna_context(pctx), q); in etna_end_query()
80 etna_get_query_result(struct pipe_context *pctx, struct pipe_query *pq, in etna_get_query_result() argument
87 return q->funcs->get_query_result(etna_context(pctx), in etna_get_query_result()
123 etna_set_active_query_state(struct pipe_context *pctx, bool enable) etna_set_active_query_state() argument
144 etna_query_context_init(struct pipe_context *pctx) etna_query_context_init() argument
[all...]
H A Detnaviv_clear_blit.c95 etna_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in etna_blit() argument
97 struct etna_context *ctx = etna_context(pctx); in etna_blit()
100 if (ctx->blit(pctx, &info)) in etna_blit()
103 if (util_try_blit_via_copy_region(pctx, &info, false)) in etna_blit()
123 etna_clear_render_target(struct pipe_context *pctx, struct pipe_surface *dst, in etna_clear_render_target() argument
128 struct etna_context *ctx = etna_context(pctx); in etna_clear_render_target()
137 etna_clear_depth_stencil(struct pipe_context *pctx, struct pipe_surface *dst, in etna_clear_depth_stencil() argument
142 struct etna_context *ctx = etna_context(pctx); in etna_clear_depth_stencil()
152 etna_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst, in etna_resource_copy_region() argument
157 struct etna_context *ctx = etna_context(pctx); in etna_resource_copy_region()
171 etna_flush_resource(struct pipe_context *pctx, struct pipe_resource *prsc) etna_flush_resource() argument
187 etna_copy_resource(struct pipe_context *pctx, struct pipe_resource *dst, struct pipe_resource *src, int first_level, int last_level) etna_copy_resource() argument
227 etna_copy_resource_box(struct pipe_context *pctx, struct pipe_resource *dst, struct pipe_resource *src, int level, struct pipe_box *box) etna_copy_resource_box() argument
254 etna_clear_blit_init(struct pipe_context *pctx) etna_clear_blit_init() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_state.c42 lima_set_framebuffer_state(struct pipe_context *pctx, in lima_set_framebuffer_state() argument
45 struct lima_context *ctx = lima_context(pctx); in lima_set_framebuffer_state()
60 lima_set_polygon_stipple(struct pipe_context *pctx, in lima_set_polygon_stipple() argument
67 lima_create_depth_stencil_alpha_state(struct pipe_context *pctx, in lima_create_depth_stencil_alpha_state() argument
82 lima_bind_depth_stencil_alpha_state(struct pipe_context *pctx, void *hwcso) in lima_bind_depth_stencil_alpha_state() argument
84 struct lima_context *ctx = lima_context(pctx); in lima_bind_depth_stencil_alpha_state()
91 lima_delete_depth_stencil_alpha_state(struct pipe_context *pctx, void *hwcso) in lima_delete_depth_stencil_alpha_state() argument
97 lima_create_rasterizer_state(struct pipe_context *pctx, in lima_create_rasterizer_state() argument
112 lima_bind_rasterizer_state(struct pipe_context *pctx, void *hwcso) in lima_bind_rasterizer_state() argument
114 struct lima_context *ctx = lima_context(pctx); in lima_bind_rasterizer_state()
121 lima_delete_rasterizer_state(struct pipe_context *pctx, void *hwcso) lima_delete_rasterizer_state() argument
127 lima_create_blend_state(struct pipe_context *pctx, const struct pipe_blend_state *cso) lima_create_blend_state() argument
142 lima_bind_blend_state(struct pipe_context *pctx, void *hwcso) lima_bind_blend_state() argument
151 lima_delete_blend_state(struct pipe_context *pctx, void *hwcso) lima_delete_blend_state() argument
157 lima_create_vertex_elements_state(struct pipe_context *pctx, unsigned num_elements, const struct pipe_vertex_element *elements) lima_create_vertex_elements_state() argument
173 lima_bind_vertex_elements_state(struct pipe_context *pctx, void *hwcso) lima_bind_vertex_elements_state() argument
182 lima_delete_vertex_elements_state(struct pipe_context *pctx, void *hwcso) lima_delete_vertex_elements_state() argument
188 lima_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, const struct pipe_vertex_buffer *vb) lima_set_vertex_buffers() argument
207 lima_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewport) lima_set_viewport_states() argument
237 lima_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) lima_set_scissor_states() argument
249 lima_set_blend_color(struct pipe_context *pctx, const struct pipe_blend_color *blend_color) lima_set_blend_color() argument
259 lima_set_stencil_ref(struct pipe_context *pctx, const struct pipe_stencil_ref stencil_ref) lima_set_stencil_ref() argument
269 lima_set_clip_state(struct pipe_context *pctx, const struct pipe_clip_state *clip) lima_set_clip_state() argument
279 lima_set_constant_buffer(struct pipe_context *pctx, enum pipe_shader_type shader, uint index, bool pass_reference, const struct pipe_constant_buffer *cb) lima_set_constant_buffer() argument
305 lima_create_sampler_state(struct pipe_context *pctx, const struct pipe_sampler_state *cso) lima_create_sampler_state() argument
318 lima_sampler_state_delete(struct pipe_context *pctx, void *sstate) lima_sampler_state_delete() argument
324 lima_sampler_states_bind(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, void **hwcso) lima_sampler_states_bind() argument
350 lima_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, const struct pipe_sampler_view *cso) lima_create_sampler_view() argument
374 lima_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *pview) lima_sampler_view_destroy() argument
385 lima_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) lima_set_sampler_views() argument
420 lima_set_sample_mask(struct pipe_context *pctx, unsigned sample_mask) lima_set_sample_mask() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_pstipple.c199 struct pstip_transform_context *pctx = in pstip_transform_decl() local
207 pctx->samplersUsed |= 1u << i; in pstip_transform_decl()
210 else if (decl->Declaration.File == pctx->wincoordFile) { in pstip_transform_decl()
211 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl()
213 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl()
218 pctx->tempsUsed |= (1 << i); in pstip_transform_decl()
230 struct pstip_transform_context *pctx = in pstip_transform_immed() local
232 pctx->numImmed++; in pstip_transform_immed()
263 struct pstip_transform_context *pctx in pstip_transform_prolog() local
[all...]

Completed in 13 milliseconds

12345678910>>...21