/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce100/ |
H A D | dce100_resource.c | 408 #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 D | core.c | 215 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 D | smacker.c | 143 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...] |
H A D | imm5.c | 53 IMM5Context *ctx = avctx->priv_data; in imm5_init() local 60 ctx->h264_avctx = avcodec_alloc_context3(codec); in imm5_init() 61 if (!ctx->h264_avctx) in imm5_init() 63 ctx->h264_avctx->thread_count = 1; in imm5_init() 64 ctx->h264_avctx->flags = avctx->flags; in imm5_init() 65 ctx->h264_avctx->flags2 = avctx->flags2; in imm5_init() 66 ret = avcodec_open2(ctx->h264_avctx, codec, NULL); in imm5_init() 73 ctx->hevc_avctx = avcodec_alloc_context3(codec); in imm5_init() 74 if (!ctx->hevc_avctx) in imm5_init() 76 ctx in imm5_init() 89 IMM5Context *ctx = avctx->priv_data; imm5_decode_frame() local 164 IMM5Context *ctx = avctx->priv_data; imm5_flush() local 172 IMM5Context *ctx = avctx->priv_data; imm5_close() local [all...] |
/third_party/mbedtls/library/ |
H A D | chacha20.c | 155 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 D | st_cb_bitmap.c | 120 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 D | metrics.c | 150 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 D | tasn_dec.c | 30 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 D | ec_key.c | 39 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 D | ec_key.c | 39 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 D | langsvr.go | 85 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 D | langsvr.go | 85 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 D | tasn_dec.c | 30 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 D | langsvr.go | 85 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/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ibss_rsn.c | 48 static void supp_set_state(void *ctx, enum wpa_states state) in supp_set_state() argument 50 struct ibss_rsn_peer *peer = ctx; in supp_set_state() 55 static enum wpa_states supp_get_state(void *ctx) in supp_get_state() argument 57 struct ibss_rsn_peer *peer = ctx; in supp_get_state() 62 static int supp_ether_send(void *ctx, const u8 *dest, u16 proto, const u8 *buf, in supp_ether_send() argument 65 struct ibss_rsn_peer *peer = ctx; in supp_ether_send() 85 static u8 * supp_alloc_eapol(void *ctx, u8 type, const void *data, in supp_alloc_eapol() argument 114 static int supp_get_beacon_ie(void *ctx) in supp_get_beacon_ie() argument 116 struct ibss_rsn_peer *peer = ctx; in supp_get_beacon_ie() 145 static int supp_set_key(void *ctx, in supp_set_key() argument 188 supp_get_network_ctx(void *ctx) supp_get_network_ctx() argument 195 supp_mlme_setprotection(void *ctx, const u8 *addr, int protection_type, int key_type) supp_mlme_setprotection() argument 205 supp_cancel_auth_timeout(void *ctx) supp_cancel_auth_timeout() argument 211 supp_deauthenticate(void *ctx, u16 reason_code) supp_deauthenticate() argument 217 supp_reconnect(void *ctx) supp_reconnect() argument 226 struct wpa_sm_ctx *ctx = os_zalloc(sizeof(*ctx)); ibss_rsn_supp_init() local 272 auth_logger(void *ctx, const u8 *addr, logger_level level, const char *txt) auth_logger() argument 283 auth_get_psk(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) auth_get_psk() argument 301 auth_send_eapol(void *ctx, const u8 *addr, const u8 *data, size_t data_len, int encrypt) auth_send_eapol() argument 323 auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len, enum key_flag key_flag) auth_set_key() argument 372 ibss_rsn_disconnect(void *ctx, const u8 *addr, u16 reason) ibss_rsn_disconnect() argument 379 auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) auth_for_each_sta() argument 423 auth_set_eapol(void *ctx, const u8 *addr, wpa_eapol_variable var, int value) auth_set_eapol() argument [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | parse.c | 52 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...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_openssl.c | 63 EVP_CIPHER_CTX *ctx = NULL; in CreateCryptCtx() local 64 ctx = EVP_CIPHER_CTX_new(); in CreateCryptCtx() 65 return ctx; in CreateCryptCtx() 68 void ClearCryptCtx(EVP_CIPHER_CTX *ctx) in ClearCryptCtx() argument 70 if (ctx != NULL) { in ClearCryptCtx() 71 EVP_CIPHER_CTX_free(ctx); in ClearCryptCtx() 100 if (cipher == NULL ||cryptPara->aadLen == 0 || cryptPara->ctx == NULL) { in InitEncryptCtx() 111 if (EVP_EncryptInit_ex(cryptPara->ctx, cipher, NULL, cryptPara->key, cryptPara->iv) == 0) { in InitEncryptCtx() 115 if (EVP_EncryptUpdate(cryptPara->ctx, NULL, &length, cryptPara->aad, (int32_t)cryptPara->aadLen) == 0) { in InitEncryptCtx() 142 if (EVP_EncryptUpdate(cryptPara->ctx, outBu in AesGcmEncryptVec() 299 EVP_CIPHER_CTX *ctx = NULL; CreateCryptCtx() local 303 ClearCryptCtx(EVP_CIPHER_CTX *ctx) ClearCryptCtx() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
H A D | sdi.c | 52 struct sdi_clk_calc_ctx *ctx = data; in dpi_calc_dispc_cb() local 54 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 55 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb() 56 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb() 57 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb() 64 struct sdi_clk_calc_ctx *ctx = data; in dpi_calc_dss_cb() local 66 ctx->fck = fck; in dpi_calc_dss_cb() 68 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb() 69 ctx->pck_min, ctx in dpi_calc_dss_cb() 78 struct sdi_clk_calc_ctx ctx; sdi_calc_clock_div() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
H A D | sdi.c | 52 struct sdi_clk_calc_ctx *ctx = data; in dpi_calc_dispc_cb() local 54 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 55 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb() 56 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb() 57 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb() 64 struct sdi_clk_calc_ctx *ctx = data; in dpi_calc_dss_cb() local 66 ctx->fck = fck; in dpi_calc_dss_cb() 68 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb() 69 ctx->pck_min, ctx in dpi_calc_dss_cb() 78 struct sdi_clk_calc_ctx ctx; sdi_calc_clock_div() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | pyperf.h | 175 static int process_frame_callback(__u32 i, struct process_frame_ctx *ctx) in process_frame_callback() argument 178 void *frame_ptr = ctx->frame_ptr; in process_frame_callback() 179 PidData *pidData = ctx->pidData; in process_frame_callback() 180 FrameData *frame = ctx->frame; in process_frame_callback() 181 int32_t *symbol_counter = ctx->symbol_counter; in process_frame_callback() 182 int cur_cpu = ctx->cur_cpu; in process_frame_callback() 183 Event *event = ctx->event; in process_frame_callback() 184 Symbol *sym = ctx->sym; in process_frame_callback() 194 ctx->done = true; in process_frame_callback() 221 int __on_event(struct bpf_raw_tracepoint_args *ctx) argument 284 struct process_frame_ctx ctx = { global() local 346 on_event(struct bpf_raw_tracepoint_args* ctx) global() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | fflcms2.c | 25 static void log_cb(cmsContext ctx, cmsUInt32Number error, const char *str) in log_cb() argument 27 FFIccContext *s = cmsGetContextUserData(ctx); in log_cb() 35 s->ctx = cmsCreateContext(NULL, s); in ff_icc_context_init() 36 if (!s->ctx) in ff_icc_context_init() 39 cmsSetLogErrorHandlerTHR(s->ctx, log_cb); in ff_icc_context_init() 47 cmsDeleteContext(s->ctx); in ff_icc_context_uninit() 62 s->curves[trc] = cmsBuildGamma(s->ctx, 1.0); in get_curve() 65 s->curves[trc] = cmsBuildGamma(s->ctx, 2.2); in get_curve() 68 s->curves[trc] = cmsBuildGamma(s->ctx, 2.8); in get_curve() 74 s->curves[trc] = cmsBuildParametricToneCurve(s->ctx, in get_curve() [all...] |
H A D | af_atilt.c | 47 int (*filter_channels)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 87 static void set_filter(AVFilterContext *ctx, in set_filter() argument 91 ATiltContext *s = ctx->priv; in set_filter() 106 static int get_coeffs(AVFilterContext *ctx) in get_coeffs() argument 108 ATiltContext *s = ctx->priv; in get_coeffs() 109 AVFilterLink *inlink = ctx->inputs[0]; in get_coeffs() 111 set_filter(ctx, s->order, inlink->sample_rate, s->freq, s->width, s->slope); in get_coeffs() 121 static int filter_channels_## name(AVFilterContext *ctx, void *arg, \ 124 ATiltContext *s = ctx->priv; \ 164 AVFilterContext *ctx in config_input() local 181 AVFilterContext *ctx = inlink->dst; filter_frame() local 207 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument 219 uninit(AVFilterContext *ctx) uninit() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | subpicture.c | 49 vlVaQuerySubpictureFormats(VADriverContextP ctx, VAImageFormat *format_list, in vlVaQuerySubpictureFormats() argument 52 if (!ctx) in vlVaQuerySubpictureFormats() 65 vlVaCreateSubpicture(VADriverContextP ctx, VAImageID image, in vlVaCreateSubpicture() argument 72 if (!ctx) in vlVaCreateSubpicture() 75 drv = VL_VA_DRIVER(ctx); in vlVaCreateSubpicture() 90 *subpicture = handle_table_add(VL_VA_DRIVER(ctx)->htab, sub); in vlVaCreateSubpicture() 97 vlVaDestroySubpicture(VADriverContextP ctx, VASubpictureID subpicture) in vlVaDestroySubpicture() argument 102 if (!ctx) in vlVaDestroySubpicture() 105 drv = VL_VA_DRIVER(ctx); in vlVaDestroySubpicture() 122 vlVaSubpictureImage(VADriverContextP ctx, VASubpictureI argument 151 vlVaSetSubpictureChromakey(VADriverContextP ctx, VASubpictureID subpicture, unsigned int chromakey_min, unsigned int chromakey_max, unsigned int chromakey_mask) vlVaSetSubpictureChromakey() argument 161 vlVaSetSubpictureGlobalAlpha(VADriverContextP ctx, VASubpictureID subpicture, float global_alpha) vlVaSetSubpictureGlobalAlpha() argument 170 vlVaAssociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces, short src_x, short src_y, unsigned short src_width, unsigned short src_height, short dest_x, short dest_y, unsigned short dest_width, unsigned short dest_height, unsigned int flags) vlVaAssociateSubpicture() argument 247 vlVaDeassociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces) vlVaDeassociateSubpicture() argument [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_opt_push_ubo.c | 64 bi_analyze_ranges(bi_context *ctx) in bi_analyze_ranges() argument 67 .nr_blocks = ctx->nir->info.num_ubos + 1, in bi_analyze_ranges() 72 bi_foreach_instr_global(ctx, ins) { in bi_analyze_ranges() 129 bi_opt_push_ubo(bi_context *ctx) in bi_opt_push_ubo() argument 131 struct bi_ubo_analysis analysis = bi_analyze_ranges(ctx); in bi_opt_push_ubo() 132 bi_pick_ubo(ctx->info.push, &analysis); in bi_opt_push_ubo() 134 ctx->ubo_mask = 0; in bi_opt_push_ubo() 136 bi_foreach_instr_global_safe(ctx, ins) { in bi_opt_push_ubo() 146 ctx->ubo_mask |= BITSET_BIT(ubo); in bi_opt_push_ubo() 148 ctx in bi_opt_push_ubo() 229 bi_create_fau_interference_graph(bi_context *ctx, adjacency_row *adjacency) bi_create_fau_interference_graph() argument 279 bi_opt_reorder_push(bi_context *ctx) bi_opt_reorder_push() argument [all...] |
H A D | bi_pressure_schedule.c | 51 label_index(bi_context *ctx, bi_index idx) in label_index() argument 54 assert(idx.value < ctx->reg_alloc); in label_index() 55 return idx.value + ctx->ssa_alloc; in label_index() 57 assert(idx.value < ctx->ssa_alloc); in label_index() 70 create_dag(bi_context *ctx, bi_block *block, void *memctx) in create_dag() argument 72 struct dag *dag = dag_create(ctx); in create_dag() 74 unsigned count = ctx->ssa_alloc + ctx->reg_alloc; in create_dag() 104 add_dep(node, last_write[label_index(ctx, src)]); in create_dag() 110 add_dep(node, last_read[label_index(ctx, sr in create_dag() 286 pressure_schedule_block(bi_context *ctx, bi_block *block, struct sched_ctx *s) pressure_schedule_block() argument 337 bi_pressure_schedule(bi_context *ctx) bi_pressure_schedule() argument [all...] |