Home
last modified time | relevance | path

Searched refs:ctx (Results 2876 - 2900 of 12943) sorted by relevance

1...<<111112113114115116117118119120>>...518

/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_image.c42 ir3_ssbo_to_ibo(struct ir3_context *ctx, nir_src src) in ir3_ssbo_to_ibo() argument
45 ctx->so->bindless_ibo = true; in ir3_ssbo_to_ibo()
46 return ir3_get_src(ctx, &src)[0]; in ir3_ssbo_to_ibo()
61 ir3_image_to_ibo(struct ir3_context *ctx, nir_src src) in ir3_image_to_ibo() argument
64 ctx->so->bindless_ibo = true; in ir3_image_to_ibo()
65 return ir3_get_src(ctx, &src)[0]; in ir3_image_to_ibo()
70 return create_immed(ctx->block, ctx->s->info.num_ssbos + image_idx); in ir3_image_to_ibo()
72 struct ir3_instruction *image_idx = ir3_get_src(ctx, &src)[0]; in ir3_image_to_ibo()
73 if (ctx in ir3_image_to_ibo()
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_opt_dce.c34 can_cull_mask(compiler_context *ctx, midgard_instruction *ins) in can_cull_mask() argument
36 if (ins->dest >= ctx->temp_count) in can_cull_mask()
39 if (ins->dest == ctx->blend_src1) in can_cull_mask()
70 midgard_opt_dead_code_eliminate_block(compiler_context *ctx, midgard_block *block) in midgard_opt_dead_code_eliminate_block() argument
74 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in midgard_opt_dead_code_eliminate_block()
77 if (can_cull_mask(ctx, ins)) { in midgard_opt_dead_code_eliminate_block()
93 mir_liveness_ins_update(live, ins, ctx->temp_count); in midgard_opt_dead_code_eliminate_block()
109 midgard_opt_dead_code_eliminate(compiler_context *ctx) in midgard_opt_dead_code_eliminate() argument
117 mir_invalidate_liveness(ctx); in midgard_opt_dead_code_eliminate()
118 mir_compute_liveness(ctx); in midgard_opt_dead_code_eliminate()
134 midgard_opt_dead_move_eliminate(compiler_context *ctx, midgard_block *block) midgard_opt_dead_move_eliminate() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/io_submit/
H A Dio_submit01.c13 * - io_submit fails and returns -EINVAL if ctx is invalid.
31 static io_context_t ctx; variable
56 io_context_t *ctx; member
62 /* Invalid ctx */
63 {&invalid_ctx, 1, iocbs, -EINVAL, "invalid ctx"},
65 {&ctx, -1, iocbs, -EINVAL, "invalid nr"},
67 {&ctx, 1, (void*)-1, -EFAULT, "invalid iocbpp pointer"},
68 {&ctx, 1, zero_iocbs, -EFAULT, "NULL iocb pointers"},
70 {&ctx, 1, inv_fd_iocbs, -EBADF, "invalid fd"},
71 {&ctx,
[all...]
/third_party/mesa3d/src/gallium/tests/graw/
H A Dclear.c22 struct pipe_context *ctx; variable
31 ctx->clear(ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
32 ctx->flush(ctx, NULL, 0); in draw()
34 graw_save_surface_to_file(ctx, surf, NULL); in draw()
36 screen->flush_frontbuffer(screen, ctx, tex, 0, 0, window, NULL); in draw()
64 ctx = screen->context_create(screen, NULL, 0); in init()
65 if (ctx == NULL) in init()
88 surf = ctx in init()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Drk3399_vpu_hw_vp8_dec.c276 static void cfg_lf(struct hantro_ctx *ctx, in cfg_lf() argument
281 struct hantro_dev *vpu = ctx->dev; in cfg_lf()
315 static void cfg_qp(struct hantro_ctx *ctx, in cfg_qp() argument
320 struct hantro_dev *vpu = ctx->dev; in cfg_qp()
345 static void cfg_parts(struct hantro_ctx *ctx, in cfg_parts() argument
348 struct hantro_dev *vpu = ctx->dev; in cfg_parts()
358 vb2_src = hantro_get_src_buf(ctx); in cfg_parts()
428 static void cfg_tap(struct hantro_ctx *ctx, in cfg_tap() argument
431 struct hantro_dev *vpu = ctx->dev; in cfg_tap()
447 static void cfg_ref(struct hantro_ctx *ctx, in cfg_ref() argument
485 cfg_buffers(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp8_frame_header *hdr) cfg_buffers() argument
514 rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx) rk3399_vpu_vp8_dec_run() argument
[all...]
/kernel/linux/linux-6.6/drivers/cxl/
H A Dacpi.c81 struct cxl_cxims_context *ctx = arg; in cxl_parse_cxims() local
82 struct cxl_root_decoder *cxlrd = ctx->cxlrd; in cxl_parse_cxims()
84 struct device *dev = ctx->dev; in cxl_parse_cxims()
198 struct cxl_cfmws_context *ctx) in __cxl_parse_cfmws()
201 struct cxl_port *root_port = ctx->root_port; in __cxl_parse_cfmws()
202 struct resource *cxl_res = ctx->cxl_res; in __cxl_parse_cfmws()
205 struct device *dev = ctx->dev; in __cxl_parse_cfmws()
233 res->name = kasprintf(GFP_KERNEL, "CXL Window %d", ctx->id++); in __cxl_parse_cfmws()
307 struct cxl_cfmws_context *ctx = arg; in cxl_parse_cfmws() local
308 struct device *dev = ctx in cxl_parse_cfmws()
197 __cxl_parse_cfmws(struct acpi_cedt_cfmws *cfmws, struct cxl_cfmws_context *ctx) __cxl_parse_cfmws() argument
350 struct cxl_chbs_context *ctx = arg; cxl_get_chbs_iter() local
374 cxl_get_chbs(struct device *dev, struct acpi_device *hb, struct cxl_chbs_context *ctx) cxl_get_chbs() argument
404 struct cxl_chbs_context ctx; add_host_bridge_dport() local
466 struct cxl_chbs_context ctx; add_host_bridge_uport() local
669 struct cxl_cfmws_context ctx; cxl_acpi_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c112 struct virtio_crypto_skcipher_ctx *ctx, in virtio_crypto_alg_skcipher_init_session()
118 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_init_session()
181 ctx->enc_sess_info.session_id = le64_to_cpu(input->session_id); in virtio_crypto_alg_skcipher_init_session()
183 ctx->dec_sess_info.session_id = le64_to_cpu(input->session_id); in virtio_crypto_alg_skcipher_init_session()
193 struct virtio_crypto_skcipher_ctx *ctx, in virtio_crypto_alg_skcipher_close_session()
198 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_close_session()
220 destroy_session->session_id = cpu_to_le64(ctx->enc_sess_info.session_id); in virtio_crypto_alg_skcipher_close_session()
222 destroy_session->session_id = cpu_to_le64(ctx->dec_sess_info.session_id); in virtio_crypto_alg_skcipher_close_session()
250 struct virtio_crypto_skcipher_ctx *ctx, in virtio_crypto_alg_skcipher_init_sessions()
255 struct virtio_crypto *vcrypto = ctx in virtio_crypto_alg_skcipher_init_sessions()
111 virtio_crypto_alg_skcipher_init_session( struct virtio_crypto_skcipher_ctx *ctx, uint32_t alg, const uint8_t *key, unsigned int keylen, int encrypt) virtio_crypto_alg_skcipher_init_session() argument
192 virtio_crypto_alg_skcipher_close_session( struct virtio_crypto_skcipher_ctx *ctx, int encrypt) virtio_crypto_alg_skcipher_close_session() argument
249 virtio_crypto_alg_skcipher_init_sessions( struct virtio_crypto_skcipher_ctx *ctx, const uint8_t *key, unsigned int keylen) virtio_crypto_alg_skcipher_init_sessions() argument
285 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); virtio_crypto_skcipher_setkey() local
328 struct virtio_crypto_skcipher_ctx *ctx = vc_sym_req->skcipher_ctx; __virtio_crypto_skcipher_do_req() local
469 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); virtio_crypto_skcipher_encrypt() local
494 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); virtio_crypto_skcipher_decrypt() local
518 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); virtio_crypto_skcipher_init() local
528 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); virtio_crypto_skcipher_exit() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_vpp_qsv.c164 static int eval_expr(AVFilterContext *ctx) in eval_expr() argument
167 ret = av_expr_parse(&e, s, var_names, NULL, NULL, NULL, NULL, 0, ctx); \ in eval_expr()
169 av_log(ctx, AV_LOG_ERROR, "Error when passing '%s'.\n", s);\ in eval_expr()
176 VPPContext *vpp = ctx->priv; in eval_expr()
193 var_values[VAR_IN_W] = ctx->inputs[0]->w; in eval_expr()
196 var_values[VAR_IN_H] = ctx->inputs[0]->h; in eval_expr()
240 static av_cold int vpp_init(AVFilterContext *ctx) in vpp_init() argument
242 VPPContext *vpp = ctx->priv; in vpp_init()
249 av_log(ctx, AV_LOG_ERROR, "Unrecognized output pixel format: %s\n", vpp->output_format_str); in vpp_init()
259 AVFilterContext *ctx in config_input() local
293 get_mfx_version(const AVFilterContext *ctx, mfxVersion *mfx_version) get_mfx_version() argument
321 AVFilterContext *ctx = outlink->src; config_output() local
521 activate(AVFilterContext *ctx) activate() argument
592 query_formats(AVFilterContext *ctx) query_formats() argument
618 vpp_uninit(AVFilterContext *ctx) vpp_uninit() argument
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Drsa.h95 # define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \
96 RSA_pkey_ctx_ctrl(ctx, -1, EVP_PKEY_CTRL_RSA_PADDING, pad, NULL)
98 # define EVP_PKEY_CTX_get_rsa_padding(ctx, ppad) \
99 RSA_pkey_ctx_ctrl(ctx, -1, EVP_PKEY_CTRL_GET_RSA_PADDING, 0, ppad)
101 # define EVP_PKEY_CTX_set_rsa_pss_saltlen(ctx, len) \
102 RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \
113 # define EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(ctx, len) \
114 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, \
117 # define EVP_PKEY_CTX_get_rsa_pss_saltlen(ctx, plen) \
118 RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIG
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/
H A Ddcn321_resource.c111 #define BASE_INNER(seg) ctx->dcn_reg_offsets[seg]
182 #define NBIO_BASE_INNER(seg) ctx->nbio_reg_offsets[seg]
194 #define CTX ctx
196 (ctx->dcn_reg_offsets[reg ## reg_name ## _BASE_IDX] + reg ## reg_name)
738 struct dc_context *ctx, in dcn321_aux_engine_create()
755 dce110_aux_engine_construct(aux_engine, ctx, inst, in dcn321_aux_engine_create()
760 ctx->dc->caps.extended_aux_timeout_support); in dcn321_aux_engine_create()
778 struct dc_context *ctx, in dcn321_i2c_hw_create()
795 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn321_i2c_hw_create()
802 struct dc_context *ctx, in dcn321_clock_source_create()
737 dcn321_aux_engine_create( struct dc_context *ctx, uint32_t inst) dcn321_aux_engine_create() argument
777 dcn321_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dcn321_i2c_hw_create() argument
801 dcn321_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dcn321_clock_source_create() argument
825 dcn321_hubbub_create(struct dc_context *ctx) dcn321_hubbub_create() argument
880 dcn321_hubp_create( struct dc_context *ctx, uint32_t inst) dcn321_hubp_create() argument
912 dcn321_dpp_create( struct dc_context *ctx, uint32_t inst) dcn321_dpp_create() argument
938 dcn321_mpc_create( struct dc_context *ctx, int num_mpcc, int num_rmu) dcn321_mpc_create() argument
963 dcn321_opp_create( struct dc_context *ctx, uint32_t inst) dcn321_opp_create() argument
987 dcn321_timing_generator_create( struct dc_context *ctx, uint32_t instance) dcn321_timing_generator_create() argument
1028 dcn321_link_encoder_create( struct dc_context *ctx, const struct encoder_init_data *enc_init_data) dcn321_link_encoder_create() argument
1074 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
1083 dcn321_create_audio( struct dc_context *ctx, unsigned int inst) dcn321_create_audio() argument
1099 dcn321_vpg_create( struct dc_context *ctx, uint32_t inst) dcn321_vpg_create() argument
1129 dcn321_afmt_create( struct dc_context *ctx, uint32_t inst) dcn321_afmt_create() argument
1155 dcn321_apg_create( struct dc_context *ctx, uint32_t inst) dcn321_apg_create() argument
1179 dcn321_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dcn321_stream_encoder_create() argument
1223 dcn321_hpo_dp_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dcn321_hpo_dp_stream_encoder_create() argument
1280 dcn321_hpo_dp_link_encoder_create( uint8_t inst, struct dc_context *ctx) dcn321_hpo_dp_link_encoder_create() argument
1301 dcn321_hwseq_create( struct dc_context *ctx) dcn321_hwseq_create() argument
1480 dcn321_dwbc_create(struct dc_context *ctx, struct resource_pool *pool) dcn321_dwbc_create() argument
1509 dcn321_mmhubbub_create(struct dc_context *ctx, struct resource_pool *pool) dcn321_mmhubbub_create() argument
1538 dcn321_dsc_create( struct dc_context *ctx, uint32_t inst) dcn321_dsc_create() argument
1610 read_pipe_fuses(struct dc_context *ctx) read_pipe_fuses() argument
1625 struct dc_context *ctx = dc->ctx; dcn321_resource_construct() local
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dparse.c52 static struct token *handle_attributes(struct token *token, struct decl_state *ctx);
674 static void apply_modifiers(struct position pos, struct decl_state *ctx) in apply_modifiers() argument
677 if (!ctx->mode) in apply_modifiers()
679 ctype = ctx->mode->to_mode(ctx->ctype.base_type); in apply_modifiers()
682 show_typename(ctx->ctype.base_type)); in apply_modifiers()
684 ctx->ctype.base_type = ctype; in apply_modifiers()
719 struct token *token, struct decl_state *ctx, in struct_union_enum_specifier()
739 ctx->ctype.base_type = sym; in struct_union_enum_specifier()
758 ctx in struct_union_enum_specifier()
718 struct_union_enum_specifier(enum type type, struct token *token, struct decl_state *ctx, struct token *(*parse)(struct token *, struct symbol *)) struct_union_enum_specifier() argument
800 struct_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) struct_specifier() argument
805 union_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) union_specifier() argument
923 struct decl_state ctx = { }; parse_enum_declaration() local
1039 enum_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) enum_specifier() argument
1050 typeof_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) typeof_specifier() argument
1076 autotype_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) autotype_specifier() argument
1083 ignore_attribute(struct token *token, struct symbol *attr, struct decl_state *ctx) ignore_attribute() argument
1091 attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_packed() argument
1100 attribute_aligned(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_aligned() argument
1125 apply_qualifier(struct position *pos, struct ctype *ctx, unsigned long qual) apply_qualifier() argument
1130 attribute_modifier(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_modifier() argument
1136 attribute_function(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_function() argument
1142 attribute_bitwise(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_bitwise() argument
1159 attribute_address_space(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_address_space() argument
1253 attribute_mode(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_mode() argument
1269 attribute_context(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_context() argument
1294 attribute_designated_init(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_designated_init() argument
1303 attribute_transparent_union(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_transparent_union() argument
1327 attribute_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) attribute_specifier() argument
1349 decl_modifiers(struct decl_state *ctx) decl_modifiers() argument
1356 storage_specifier(struct token *next, struct symbol *sym, struct decl_state *ctx) storage_specifier() argument
1374 thread_specifier(struct token *next, struct symbol *sym, struct decl_state *ctx) thread_specifier() argument
1387 attribute_force(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_force() argument
1393 alignas_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) alignas_specifier() argument
1428 generic_qualifier(struct token *next, struct symbol *sym, struct decl_state *ctx) generic_qualifier() argument
1505 handle_qualifiers(struct token *t, struct decl_state *ctx) handle_qualifiers() argument
1520 declaration_specifiers(struct token *token, struct decl_state *ctx) declaration_specifiers() argument
1627 handle_asm_name(struct token *token, struct decl_state *ctx) handle_asm_name() argument
1697 handle_attributes(struct token *token, struct decl_state *ctx) handle_attributes() argument
1773 direct_declarator(struct token *token, struct decl_state *ctx) direct_declarator() argument
1820 pointer(struct token *token, struct decl_state *ctx) pointer() argument
1840 declarator(struct token *token, struct decl_state *ctx) declarator() argument
1846 handle_bitfield(struct token *token, struct decl_state *ctx) handle_bitfield() argument
1894 struct decl_state ctx = {.prefer_abstract = 0}; declaration_list() local
1944 struct decl_state ctx = {.prefer_abstract = 1}; parameter_declaration() local
1960 struct decl_state ctx = {.prefer_abstract = 1}; typename() local
2442 struct decl_state ctx = { }; handle_label_attributes() local
2892 struct decl_state ctx = { .ident = &ident }; external_declaration() local
[all...]
/third_party/node/lib/
H A Dfs.js252 const ctx = { path };
253 binding.access(pathModule.toNamespacedPath(path), mode, undefined, ctx);
254 handleErrorFromBinding(ctx);
301 const ctx = { path };
303 binding.access(nPath, F_OK, undefined, ctx);
308 if (isWindows && ctx.errno === undefined) {
309 binding.stat(nPath, false, undefined, ctx);
312 return ctx.errno === undefined;
416 const ctx = {};
417 const stats = binding.fstat(fd, false, undefined, ctx);
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.c408 #define CTX ctx
444 struct dc_context *ctx, in read_dce_straps()
455 struct dc_context *ctx, unsigned int inst) in create_audio()
457 return dce_audio_create(ctx, inst, in create_audio()
462 struct dc_context *ctx, in dce100_timing_generator_create()
472 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce100_timing_generator_create()
478 struct dc_context *ctx) in dce100_stream_encoder_create()
486 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce100_stream_encoder_create()
507 struct dc_context *ctx) in dce100_hwseq_create()
443 read_dce_straps( struct dc_context *ctx, struct resource_straps *straps) read_dce_straps() argument
454 create_audio( struct dc_context *ctx, unsigned int inst) create_audio() argument
461 dce100_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) dce100_timing_generator_create() argument
476 dce100_stream_encoder_create( enum engine_id eng_id, struct dc_context *ctx) dce100_stream_encoder_create() argument
506 dce100_hwseq_create( struct dc_context *ctx) dce100_hwseq_create() argument
558 dce100_mem_input_create( struct dc_context *ctx, uint32_t inst) dce100_mem_input_create() argument
581 dce100_transform_create( struct dc_context *ctx, uint32_t inst) dce100_transform_create() argument
596 dce100_ipp_create( struct dc_context *ctx, uint32_t inst) dce100_ipp_create() argument
618 dce100_link_encoder_create( struct dc_context *ctx, const struct encoder_init_data *enc_init_data) dce100_link_encoder_create() argument
658 dce100_opp_create( struct dc_context *ctx, uint32_t inst) dce100_opp_create() argument
673 dce100_aux_engine_create( struct dc_context *ctx, uint32_t inst) dce100_aux_engine_create() argument
711 dce100_i2c_hw_create( struct dc_context *ctx, uint32_t inst) dce100_i2c_hw_create() argument
726 dce100_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) dce100_clock_source_create() argument
988 struct dc_context *ctx = dc->ctx; dce100_resource_construct() local
[all...]
/kernel/linux/linux-6.6/kernel/kcsan/
H A Dcore.c215 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses() local
218 if (ctx->disable_scoped) in kcsan_check_scoped_accesses()
221 ctx->disable_scoped++; in kcsan_check_scoped_accesses()
222 list_for_each_entry(scoped_access, &ctx->scoped_accesses, list) { in kcsan_check_scoped_accesses()
226 ctx->disable_scoped--; in kcsan_check_scoped_accesses()
231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic() argument
249 if (ctx->atomic_next > 0) { in is_atomic()
260 --ctx->atomic_next; /* in task, or outer interrupt */ in is_atomic()
264 return ctx->atomic_nest_count > 0 || ctx in is_atomic()
268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) should_watch() argument
315 kcsan_is_enabled(struct kcsan_ctx *ctx) kcsan_is_enabled() argument
391 get_reorder_access(struct kcsan_ctx *ctx) get_reorder_access() argument
401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type, unsigned long ip) find_reorder_access() argument
418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type, unsigned long ip) set_reorder_access() argument
463 struct kcsan_ctx *ctx = get_ctx(); kcsan_found_watchpoint() local
536 struct kcsan_ctx *ctx = get_ctx(); kcsan_setup_watchpoint() local
750 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ check_access() local
910 struct kcsan_ctx *ctx = get_ctx(); kcsan_begin_scoped_access() local
933 struct kcsan_ctx *ctx = get_ctx(); kcsan_end_scoped_access() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsmacker.c143 static int smacker_decode_bigtree(GetBitContext *gb, DBCtx *ctx, int length) in smacker_decode_bigtree() argument
151 if (ctx->current >= ctx->length) { in smacker_decode_bigtree()
159 i1 = ctx->v1->table ? get_vlc2(gb, ctx->v1->table, SMKTREE_BITS, 3) in smacker_decode_bigtree()
160 : ctx->vals[0]; in smacker_decode_bigtree()
161 i2 = ctx->v2->table ? get_vlc2(gb, ctx->v2->table, SMKTREE_BITS, 3) in smacker_decode_bigtree()
162 : ctx->vals[1]; in smacker_decode_bigtree()
164 if(val == ctx in smacker_decode_bigtree()
203 DBCtx ctx; smacker_decode_header_tree() local
[all...]
/third_party/mbedtls/library/
H A Dchacha20.c155 void mbedtls_chacha20_init(mbedtls_chacha20_context *ctx) in mbedtls_chacha20_init() argument
157 mbedtls_platform_zeroize(ctx->state, sizeof(ctx->state)); in mbedtls_chacha20_init()
158 mbedtls_platform_zeroize(ctx->keystream8, sizeof(ctx->keystream8)); in mbedtls_chacha20_init()
161 ctx->keystream_bytes_used = CHACHA20_BLOCK_SIZE_BYTES; in mbedtls_chacha20_init()
164 void mbedtls_chacha20_free(mbedtls_chacha20_context *ctx) in mbedtls_chacha20_free() argument
166 if (ctx != NULL) { in mbedtls_chacha20_free()
167 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_chacha20_context)); in mbedtls_chacha20_free()
171 int mbedtls_chacha20_setkey(mbedtls_chacha20_context *ctx, in mbedtls_chacha20_setkey() argument
193 mbedtls_chacha20_starts(mbedtls_chacha20_context *ctx, const unsigned char nonce[12], uint32_t counter) mbedtls_chacha20_starts() argument
213 mbedtls_chacha20_update(mbedtls_chacha20_context *ctx, size_t size, const unsigned char *input, unsigned char *output) mbedtls_chacha20_update() argument
264 mbedtls_chacha20_context ctx; mbedtls_chacha20_crypt() local
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_bitmap.c120 make_bitmap_texture(struct gl_context *ctx, GLsizei width, GLsizei height, in make_bitmap_texture() argument
124 struct st_context *st = st_context(ctx); in make_bitmap_texture()
131 bitmap = _mesa_map_pbo_source(ctx, unpack, bitmap); in make_bitmap_texture()
143 _mesa_unmap_pbo_source(ctx, unpack); in make_bitmap_texture()
156 _mesa_unmap_pbo_source(ctx, unpack); in make_bitmap_texture()
168 setup_render_state(struct gl_context *ctx, in setup_render_state() argument
173 struct st_context *st = st_context(ctx); in setup_render_state()
183 ctx->Color._ClampFragmentColor; in setup_render_state()
197 COPY_4V(colorSave, ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); in setup_render_state()
198 COPY_4V(ctx in setup_render_state()
273 restore_render_state(struct gl_context *ctx) restore_render_state() argument
294 draw_bitmap_quad(struct gl_context *ctx, GLint x, GLint y, GLfloat z, GLsizei width, GLsizei height, struct pipe_sampler_view *sv, const GLfloat *color) draw_bitmap_quad() argument
472 accum_bitmap(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) accum_bitmap() argument
600 st_Bitmap(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap) st_Bitmap() argument
647 st_DrawAtlasBitmaps(struct gl_context *ctx, const struct gl_bitmap_atlas *atlas, GLuint count, const GLubyte *ids) st_DrawAtlasBitmaps() argument
[all...]
/third_party/libwebsockets/lib/system/metrics/
H A Dmetrics.c150 lws_metrics_report_and_maybe_clear(struct lws_context *ctx, lws_metric_pub_t *pub) in lws_metrics_report_and_maybe_clear() argument
155 lws_metrics_dump_cb(pub, ctx); in lws_metrics_report_and_maybe_clear()
163 struct lws_context *ctx = lws_container_of(dmp->list.owner, in lws_metrics_periodic_cb() local
166 if (!ctx->system_ops || !ctx->system_ops->metric_report) in lws_metrics_periodic_cb()
173 lws_metrics_report_and_maybe_clear(ctx, pub); in lws_metrics_periodic_cb()
178 (void)lws_smd_msg_printf(ctx, LWSSMDCL_METRICS, in lws_metrics_periodic_cb()
181 (long)ctx->last_policy); in lws_metrics_periodic_cb()
185 lws_sul_schedule(ctx, 0, &dmp->sul, in lws_metrics_periodic_cb()
201 lws_metrics_policy_dyn_create(struct lws_context *ctx, in lws_metrics_policy_dyn_create() argument
226 lws_metrics_policy_get_dyn(struct lws_context *ctx, const lws_metric_policy_t *po) lws_metrics_policy_get_dyn() argument
279 lws_metrics_find_policy(struct lws_context *ctx, const char *name) lws_metrics_find_policy() argument
310 lws_metric_create(struct lws_context *ctx, uint8_t flags, const char *name) lws_metric_create() argument
411 lws_metric_rebind_policies(struct lws_context *ctx) lws_metric_rebind_policies() argument
526 lws_metrics_destroy(struct lws_context *ctx) lws_metrics_destroy() argument
646 lws_metrics_foreach(struct lws_context *ctx, void *user, int (*cb)(lws_metric_pub_t *pub, void *user)) lws_metrics_foreach() argument
685 struct lws_context *ctx = (struct lws_context *)user; lws_metrics_dump_cb() local
725 lws_metrics_dump(struct lws_context *ctx) lws_metrics_dump() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dtasn_dec.c30 int tag, int aclass, char opt, ASN1_TLC *ctx,
45 int exptag, int expclass, char opt, ASN1_TLC *ctx);
50 ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx,
55 ASN1_TLC *ctx, int depth,
61 ASN1_TLC *ctx);
109 int aclass, char opt, ASN1_TLC *ctx, in asn1_item_ex_d2i_intern()
118 rv = asn1_item_embed_d2i(pval, in, len, it, tag, aclass, opt, ctx, 0, in asn1_item_ex_d2i_intern()
127 int tag, int aclass, char opt, ASN1_TLC *ctx) in ASN1_item_ex_d2i()
129 return asn1_item_ex_d2i_intern(pval, in, len, it, tag, aclass, opt, ctx, in ASN1_item_ex_d2i()
164 int tag, int aclass, char opt, ASN1_TLC *ctx, in asn1_item_embed_d2i()
107 asn1_item_ex_d2i_intern(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, OSSL_LIB_CTX *libctx, const char *propq) asn1_item_ex_d2i_intern() argument
125 ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) ASN1_item_ex_d2i() argument
162 asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) asn1_item_embed_d2i() argument
496 asn1_template_ex_d2i(ASN1_VALUE **val, const unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) asn1_template_ex_d2i() argument
568 asn1_template_noexp_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) asn1_template_noexp_d2i() argument
698 asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) asn1_d2i_ex_primitive() argument
1135 asn1_check_tlen(long *olen, int *otag, unsigned char *oclass, char *inf, char *cst, const unsigned char **in, long len, int exptag, int expclass, char opt, ASN1_TLC *ctx) asn1_check_tlen() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_key.c39 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq) in EC_KEY_new_ex() argument
41 return ossl_ec_key_new_method_int(ctx, propq, NULL); in EC_KEY_new_ex()
44 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq, in EC_KEY_new_by_curve_name_ex() argument
47 EC_KEY *ret = EC_KEY_new_ex(ctx, propq); in EC_KEY_new_by_curve_name_ex()
50 ret->group = EC_GROUP_new_by_curve_name_ex(ctx, propq, nid); in EC_KEY_new_by_curve_name_ex()
259 BN_CTX *ctx = BN_CTX_secure_new_ex(eckey->libctx); in ec_generate_key() local
262 if (ctx == NULL) in ec_generate_key()
303 if (!BN_priv_rand_range_ex(priv_key, order, 0, ctx)) in ec_generate_key()
315 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, ctx)) in ec_generate_key()
348 BN_CTX_free(ctx); in ec_generate_key()
361 BN_CTX *ctx = BN_CTX_new_ex(eckey->libctx); ossl_ec_key_simple_generate_public_key() local
404 ec_key_public_range_check(BN_CTX *ctx, const EC_KEY *key) ec_key_public_range_check() argument
441 ossl_ec_key_public_check_quick(const EC_KEY *eckey, BN_CTX *ctx) ossl_ec_key_public_check_quick() argument
472 ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx) ossl_ec_key_public_check() argument
529 ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx) ossl_ec_key_pairwise_check() argument
575 BN_CTX *ctx = NULL; ossl_ec_key_simple_check_key() local
601 BN_CTX *ctx = NULL; EC_KEY_set_public_key_affine_coordinates() local
835 EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) EC_KEY_precompute_mult() argument
867 EC_KEY_key2buf(const EC_KEY *key, point_conversion_form_t form, unsigned char **pbuf, BN_CTX *ctx) EC_KEY_key2buf() argument
875 EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf, size_t len, BN_CTX *ctx) EC_KEY_oct2key() argument
[all...]
/third_party/openssl/crypto/ec/
H A Dec_key.c39 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq) in EC_KEY_new_ex() argument
41 return ossl_ec_key_new_method_int(ctx, propq, NULL); in EC_KEY_new_ex()
44 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq, in EC_KEY_new_by_curve_name_ex() argument
47 EC_KEY *ret = EC_KEY_new_ex(ctx, propq); in EC_KEY_new_by_curve_name_ex()
50 ret->group = EC_GROUP_new_by_curve_name_ex(ctx, propq, nid); in EC_KEY_new_by_curve_name_ex()
259 BN_CTX *ctx = BN_CTX_secure_new_ex(eckey->libctx); in ec_generate_key() local
262 if (ctx == NULL) in ec_generate_key()
303 if (!BN_priv_rand_range_ex(priv_key, order, 0, ctx)) in ec_generate_key()
315 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, ctx)) in ec_generate_key()
348 BN_CTX_free(ctx); in ec_generate_key()
361 BN_CTX *ctx = BN_CTX_new_ex(eckey->libctx); ossl_ec_key_simple_generate_public_key() local
404 ec_key_public_range_check(BN_CTX *ctx, const EC_KEY *key) ec_key_public_range_check() argument
441 ossl_ec_key_public_check_quick(const EC_KEY *eckey, BN_CTX *ctx) ossl_ec_key_public_check_quick() argument
472 ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx) ossl_ec_key_public_check() argument
529 ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx) ossl_ec_key_pairwise_check() argument
575 BN_CTX *ctx = NULL; ossl_ec_key_simple_check_key() local
601 BN_CTX *ctx = NULL; EC_KEY_set_public_key_affine_coordinates() local
835 EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) EC_KEY_precompute_mult() argument
867 EC_KEY_key2buf(const EC_KEY *key, point_conversion_form_t form, unsigned char **pbuf, BN_CTX *ctx) EC_KEY_key2buf() argument
875 EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf, size_t len, BN_CTX *ctx) EC_KEY_oct2key() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/
H A Dlangsvr.go85 s.ctx, s.conn, s.client = lsp.NewServer(context.Background(), stream, &s)
86 if err := s.conn.Run(s.ctx); err != nil {
95 ctx context.Context
123 func (s *server) DidChangeWorkspaceFolders(ctx context.Context, p *lsp.DidChangeWorkspaceFoldersParams) error {
127 func (s *server) Initialized(ctx context.Context, p *lsp.InitializedParams) error {
131 func (s *server) Exit(ctx context.Context) error {
135 func (s *server) DidChangeConfiguration(ctx context.Context, p *lsp.DidChangeConfigurationParams) error {
139 func (s *server) DidOpen(ctx context.Context, p *lsp.DidOpenTextDocumentParams) error {
141 return s.processFile(ctx, p.TextDocument.URI, p.TextDocument.Text)
143 func (s *server) DidChange(ctx contex
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
H A Dlangsvr.go85 s.ctx, s.conn, s.client = lsp.NewServer(context.Background(), stream, &s)
86 if err := s.conn.Run(s.ctx); err != nil {
95 ctx context.Context
123 func (s *server) DidChangeWorkspaceFolders(ctx context.Context, p *lsp.DidChangeWorkspaceFoldersParams) error {
127 func (s *server) Initialized(ctx context.Context, p *lsp.InitializedParams) error {
131 func (s *server) Exit(ctx context.Context) error {
135 func (s *server) DidChangeConfiguration(ctx context.Context, p *lsp.DidChangeConfigurationParams) error {
139 func (s *server) DidOpen(ctx context.Context, p *lsp.DidOpenTextDocumentParams) error {
141 return s.processFile(ctx, p.TextDocument.URI, p.TextDocument.Text)
143 func (s *server) DidChange(ctx contex
[all...]
/third_party/openssl/crypto/asn1/
H A Dtasn_dec.c30 int tag, int aclass, char opt, ASN1_TLC *ctx,
45 int exptag, int expclass, char opt, ASN1_TLC *ctx);
50 ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx,
55 ASN1_TLC *ctx, int depth,
61 ASN1_TLC *ctx);
109 int aclass, char opt, ASN1_TLC *ctx, in asn1_item_ex_d2i_intern()
118 rv = asn1_item_embed_d2i(pval, in, len, it, tag, aclass, opt, ctx, 0, in asn1_item_ex_d2i_intern()
127 int tag, int aclass, char opt, ASN1_TLC *ctx) in ASN1_item_ex_d2i()
129 return asn1_item_ex_d2i_intern(pval, in, len, it, tag, aclass, opt, ctx, in ASN1_item_ex_d2i()
164 int tag, int aclass, char opt, ASN1_TLC *ctx, in asn1_item_embed_d2i()
107 asn1_item_ex_d2i_intern(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, OSSL_LIB_CTX *libctx, const char *propq) asn1_item_ex_d2i_intern() argument
125 ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) ASN1_item_ex_d2i() argument
162 asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) asn1_item_embed_d2i() argument
496 asn1_template_ex_d2i(ASN1_VALUE **val, const unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) asn1_template_ex_d2i() argument
568 asn1_template_noexp_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) asn1_template_noexp_d2i() argument
698 asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) asn1_d2i_ex_primitive() argument
1135 asn1_check_tlen(long *olen, int *otag, unsigned char *oclass, char *inf, char *cst, const unsigned char **in, long len, int exptag, int expclass, char opt, ASN1_TLC *ctx) asn1_check_tlen() argument
[all...]
/third_party/spirv-tools/utils/vscode/src/
H A Dlangsvr.go85 s.ctx, s.conn, s.client = lsp.NewServer(context.Background(), stream, &s)
86 if err := s.conn.Run(s.ctx); err != nil {
95 ctx context.Context
123 func (s *server) DidChangeWorkspaceFolders(ctx context.Context, p *lsp.DidChangeWorkspaceFoldersParams) error {
127 func (s *server) Initialized(ctx context.Context, p *lsp.InitializedParams) error {
131 func (s *server) Exit(ctx context.Context) error {
135 func (s *server) DidChangeConfiguration(ctx context.Context, p *lsp.DidChangeConfigurationParams) error {
139 func (s *server) DidOpen(ctx context.Context, p *lsp.DidOpenTextDocumentParams) error {
141 return s.processFile(ctx, p.TextDocument.URI, p.TextDocument.Text)
143 func (s *server) DidChange(ctx contex
[all...]

Completed in 21 milliseconds

1...<<111112113114115116117118119120>>...518