Home
last modified time | relevance | path

Searched refs:ctx (Results 5126 - 5150 of 13206) sorted by relevance

1...<<201202203204205206207208209210>>...529

/third_party/mbedtls/library/
H A Dcamellia.c274 void mbedtls_camellia_init(mbedtls_camellia_context *ctx) in mbedtls_camellia_init() argument
276 memset(ctx, 0, sizeof(mbedtls_camellia_context)); in mbedtls_camellia_init()
279 void mbedtls_camellia_free(mbedtls_camellia_context *ctx) in mbedtls_camellia_free() argument
281 if (ctx == NULL) { in mbedtls_camellia_free()
285 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_camellia_context)); in mbedtls_camellia_free()
291 int mbedtls_camellia_setkey_enc(mbedtls_camellia_context *ctx, in mbedtls_camellia_setkey_enc() argument
303 RK = ctx->rk; in mbedtls_camellia_setkey_enc()
306 memset(RK, 0, sizeof(ctx->rk)); in mbedtls_camellia_setkey_enc()
309 case 128: ctx->nr = 3; idx = 0; break; in mbedtls_camellia_setkey_enc()
311 case 256: ctx in mbedtls_camellia_setkey_enc()
403 mbedtls_camellia_setkey_dec(mbedtls_camellia_context *ctx, const unsigned char *key, unsigned int keybits) mbedtls_camellia_setkey_dec() argument
453 mbedtls_camellia_crypt_ecb(mbedtls_camellia_context *ctx, int mode, const unsigned char input[16], unsigned char output[16]) mbedtls_camellia_crypt_ecb() argument
519 mbedtls_camellia_crypt_cbc(mbedtls_camellia_context *ctx, int mode, size_t length, unsigned char iv[16], const unsigned char *input, unsigned char *output) mbedtls_camellia_crypt_cbc() argument
569 mbedtls_camellia_crypt_cfb128(mbedtls_camellia_context *ctx, int mode, size_t length, size_t *iv_off, unsigned char iv[16], const unsigned char *input, unsigned char *output) mbedtls_camellia_crypt_cfb128() argument
622 mbedtls_camellia_crypt_ctr(mbedtls_camellia_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[16], unsigned char stream_block[16], const unsigned char *input, unsigned char *output) mbedtls_camellia_crypt_ctr() argument
879 mbedtls_camellia_context ctx; mbedtls_camellia_self_test() local
[all...]
/third_party/libwebsockets/plugins/acme-client/
H A Dprotocol_lws_acme_client.c346 cb_dir(struct lejp_ctx *ctx, char reason) in cb_dir() argument
349 (struct per_vhost_data__lws_acme_client *)ctx->user; in cb_dir()
351 if (reason == LEJPCB_VAL_STR_START && ctx->path_match) { in cb_dir()
354 s->dest = s->ac->urls[ctx->path_match - 1]; in cb_dir()
358 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in cb_dir()
361 if (s->pos + ctx->npos > s->len) { in cb_dir()
366 memcpy(s->dest + s->pos, ctx->buf, ctx->npos); in cb_dir()
367 s->pos += ctx->npos; in cb_dir()
397 cb_order(struct lejp_ctx *ctx, cha argument
460 cb_authz(struct lejp_ctx *ctx, char reason) cb_authz() argument
532 cb_chac(struct lejp_ctx *ctx, char reason) cb_chac() argument
[all...]
/third_party/python/Modules/
H A D_hashopenssl.c230 EVP_MD_CTX *ctx; /* OpenSSL message digest context */ member
236 HMAC_CTX *ctx; /* OpenSSL hmac context */ member
421 retval->ctx = EVP_MD_CTX_new(); in newEVPobject()
422 if (retval->ctx == NULL) { in newEVPobject()
441 if (!EVP_DigestUpdate(self->ctx, (const void*)cp, process)) { in EVP_hash()
459 EVP_MD_CTX_free(self->ctx); in EVP_dealloc()
469 result = EVP_MD_CTX_copy(new_ctx_p, self->ctx); in locked_EVP_MD_CTX_copy()
491 if (!locked_EVP_MD_CTX_copy(newobj->ctx, self)) { in EVP_copy_impl()
620 block_size = EVP_MD_CTX_block_size(self->ctx); in EVP_get_block_size()
628 size = EVP_MD_CTX_size(self->ctx); in EVP_get_digest_size()
1497 HMAC_CTX *ctx = NULL; _hashlib_hmac_new_impl() local
1620 HMAC_CTX *ctx = HMAC_CTX_new(); _hashlib_HMAC_copy_impl() local
[all...]
/kernel/linux/linux-5.10/drivers/net/team/
H A Dteam.c362 struct team_gsetter_ctx *ctx) in team_option_get()
366 return opt_inst->option->getter(team, ctx); in team_option_get()
371 struct team_gsetter_ctx *ctx) in team_option_set()
375 return opt_inst->option->setter(team, ctx); in team_option_set()
1377 static int team_mode_option_get(struct team *team, struct team_gsetter_ctx *ctx) in team_mode_option_get() argument
1379 ctx->data.str_val = team->mode->kind; in team_mode_option_get()
1383 static int team_mode_option_set(struct team *team, struct team_gsetter_ctx *ctx) in team_mode_option_set() argument
1385 return team_change_mode(team, ctx->data.str_val); in team_mode_option_set()
1389 struct team_gsetter_ctx *ctx) in team_notify_peers_count_get()
1391 ctx in team_notify_peers_count_get()
360 team_option_get(struct team *team, struct team_option_inst *opt_inst, struct team_gsetter_ctx *ctx) team_option_get() argument
369 team_option_set(struct team *team, struct team_option_inst *opt_inst, struct team_gsetter_ctx *ctx) team_option_set() argument
1388 team_notify_peers_count_get(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_count_get() argument
1395 team_notify_peers_count_set(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_count_set() argument
1402 team_notify_peers_interval_get(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_interval_get() argument
1409 team_notify_peers_interval_set(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_interval_set() argument
1416 team_mcast_rejoin_count_get(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_count_get() argument
1423 team_mcast_rejoin_count_set(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_count_set() argument
1430 team_mcast_rejoin_interval_get(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_interval_get() argument
1437 team_mcast_rejoin_interval_set(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_interval_set() argument
1444 team_port_en_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_port_en_option_get() argument
1453 team_port_en_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_port_en_option_set() argument
1465 team_user_linkup_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_option_get() argument
1476 team_user_linkup_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_option_set() argument
1487 team_user_linkup_en_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_en_option_get() argument
1496 team_user_linkup_en_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_en_option_set() argument
1507 team_priority_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_priority_option_get() argument
1516 team_priority_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_priority_option_set() argument
1529 team_queue_id_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_queue_id_option_get() argument
1538 team_queue_id_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_queue_id_option_set() argument
2361 struct team_gsetter_ctx ctx; team_nl_fill_one_option_get() local
2640 struct team_gsetter_ctx ctx; team_nl_cmd_options_set() local
[all...]
/kernel/linux/linux-6.6/drivers/net/team/
H A Dteam.c359 struct team_gsetter_ctx *ctx) in team_option_get()
364 opt_inst->option->getter(team, ctx); in team_option_get()
370 struct team_gsetter_ctx *ctx) in team_option_set()
374 return opt_inst->option->setter(team, ctx); in team_option_set()
1380 static void team_mode_option_get(struct team *team, struct team_gsetter_ctx *ctx) in team_mode_option_get() argument
1382 ctx->data.str_val = team->mode->kind; in team_mode_option_get()
1385 static int team_mode_option_set(struct team *team, struct team_gsetter_ctx *ctx) in team_mode_option_set() argument
1387 return team_change_mode(team, ctx->data.str_val); in team_mode_option_set()
1391 struct team_gsetter_ctx *ctx) in team_notify_peers_count_get()
1393 ctx in team_notify_peers_count_get()
357 team_option_get(struct team *team, struct team_option_inst *opt_inst, struct team_gsetter_ctx *ctx) team_option_get() argument
368 team_option_set(struct team *team, struct team_option_inst *opt_inst, struct team_gsetter_ctx *ctx) team_option_set() argument
1390 team_notify_peers_count_get(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_count_get() argument
1396 team_notify_peers_count_set(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_count_set() argument
1403 team_notify_peers_interval_get(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_interval_get() argument
1409 team_notify_peers_interval_set(struct team *team, struct team_gsetter_ctx *ctx) team_notify_peers_interval_set() argument
1416 team_mcast_rejoin_count_get(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_count_get() argument
1422 team_mcast_rejoin_count_set(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_count_set() argument
1429 team_mcast_rejoin_interval_get(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_interval_get() argument
1435 team_mcast_rejoin_interval_set(struct team *team, struct team_gsetter_ctx *ctx) team_mcast_rejoin_interval_set() argument
1442 team_port_en_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_port_en_option_get() argument
1450 team_port_en_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_port_en_option_set() argument
1462 team_user_linkup_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_option_get() argument
1472 team_user_linkup_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_option_set() argument
1483 team_user_linkup_en_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_en_option_get() argument
1491 team_user_linkup_en_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_user_linkup_en_option_set() argument
1502 team_priority_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_priority_option_get() argument
1510 team_priority_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_priority_option_set() argument
1523 team_queue_id_option_get(struct team *team, struct team_gsetter_ctx *ctx) team_queue_id_option_get() argument
1531 team_queue_id_option_set(struct team *team, struct team_gsetter_ctx *ctx) team_queue_id_option_set() argument
2353 struct team_gsetter_ctx ctx; team_nl_fill_one_option_get() local
2632 struct team_gsetter_ctx ctx; team_nl_cmd_options_set() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.c719 struct rtrs_srv_ctx *ctx = srv->ctx; in rtrs_srv_path_up() local
725 ret = ctx->ops.link_ev(srv, RTRS_SRV_LINK_EV_CONNECTED, NULL); in rtrs_srv_path_up()
738 struct rtrs_srv_ctx *ctx = srv->ctx; in rtrs_srv_path_down() local
747 ctx->ops.link_ev(srv, RTRS_SRV_LINK_EV_DISCONNECTED, srv->priv); in rtrs_srv_path_down()
751 static bool exist_pathname(struct rtrs_srv_ctx *ctx, in exist_pathname() argument
758 mutex_lock(&ctx->srv_mutex); in exist_pathname()
759 list_for_each_entry(srv, &ctx->srv_list, ctx_list) { in exist_pathname()
779 mutex_unlock(&ctx in exist_pathname()
1008 struct rtrs_srv_ctx *ctx = srv->ctx; process_read() local
1066 struct rtrs_srv_ctx *ctx = srv->ctx; process_write() local
1373 get_or_create_srv(struct rtrs_srv_ctx *ctx, const uuid_t *paths_uuid, bool first_conn) get_or_create_srv() argument
1443 struct rtrs_srv_ctx *ctx = srv->ctx; put_srv() local
1835 struct rtrs_srv_ctx *ctx = cm_id->context; rtrs_rdma_connect() local
1998 rtrs_srv_cm_init(struct rtrs_srv_ctx *ctx, struct sockaddr *addr, enum rdma_ucm_port_space ps) rtrs_srv_cm_init() argument
2034 rtrs_srv_rdma_init(struct rtrs_srv_ctx *ctx, u16 port) rtrs_srv_rdma_init() argument
2079 struct rtrs_srv_ctx *ctx; alloc_srv_ctx() local
2092 free_srv_ctx(struct rtrs_srv_ctx *ctx) free_srv_ctx() argument
2101 struct rtrs_srv_ctx *ctx; rtrs_srv_add_one() local
2137 struct rtrs_srv_ctx *ctx; rtrs_srv_remove_one() local
2174 struct rtrs_srv_ctx *ctx; rtrs_srv_open() local
2205 close_ctx(struct rtrs_srv_ctx *ctx) close_ctx() argument
2222 rtrs_srv_close(struct rtrs_srv_ctx *ctx) rtrs_srv_close() argument
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A Dspeed.c491 EVP_CIPHER_CTX *ctx; member
514 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in have_md() local
516 if (ctx != NULL && EVP_DigestInit(ctx, md) > 0) in have_md()
518 EVP_MD_CTX_free(ctx); in have_md()
530 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); in have_cipher() local
532 if (ctx != NULL in have_cipher()
533 && EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) > 0) in have_cipher()
535 EVP_CIPHER_CTX_free(ctx); in have_cipher()
649 if (tempargs->ctx in EVP_Cipher_loop()
680 EVP_CIPHER_CTX *ctx = NULL; init_evp_cipher_ctx() local
728 EVP_CIPHER_CTX *ctx = tempargs->ctx; EVP_Update_loop() local
764 EVP_CIPHER_CTX *ctx = tempargs->ctx; EVP_Update_loop_ccm() local
801 EVP_CIPHER_CTX *ctx = tempargs->ctx; EVP_Update_loop_aead() local
986 EVP_PKEY_CTX *ctx = tempargs->ecdh_ctx[testnum]; ECDH_EVP_derive_key_loop() local
2613 EVP_PKEY_CTX *ctx = NULL; speed_main() local
3638 EVP_CIPHER_CTX *ctx = NULL; multiblock_speed() local
[all...]
/third_party/openssl/apps/
H A Dspeed.c491 EVP_CIPHER_CTX *ctx; member
514 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in have_md() local
516 if (ctx != NULL && EVP_DigestInit(ctx, md) > 0) in have_md()
518 EVP_MD_CTX_free(ctx); in have_md()
530 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); in have_cipher() local
532 if (ctx != NULL in have_cipher()
533 && EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) > 0) in have_cipher()
535 EVP_CIPHER_CTX_free(ctx); in have_cipher()
649 if (tempargs->ctx in EVP_Cipher_loop()
680 EVP_CIPHER_CTX *ctx = NULL; init_evp_cipher_ctx() local
728 EVP_CIPHER_CTX *ctx = tempargs->ctx; EVP_Update_loop() local
764 EVP_CIPHER_CTX *ctx = tempargs->ctx; EVP_Update_loop_ccm() local
801 EVP_CIPHER_CTX *ctx = tempargs->ctx; EVP_Update_loop_aead() local
986 EVP_PKEY_CTX *ctx = tempargs->ecdh_ctx[testnum]; ECDH_EVP_derive_key_loop() local
2599 EVP_PKEY_CTX *ctx = NULL; speed_main() local
3614 EVP_CIPHER_CTX *ctx = NULL; multiblock_speed() local
[all...]
/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dasync_call.cpp49 context_->ctx = context; in AsyncCall()
68 if (context_->ctx == nullptr) { in Call()
69 SCLOCK_HILOGD("context_->ctx is null"); in Call()
73 context_->ctx->exec_ = std::move(exec); in Call()
94 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
95 SCLOCK_HILOGD("context_ or context_->ctx is null"); in SyncCall()
98 context_->ctx->exec_ = std::move(exec); in SyncCall()
115 context->ctx->Exec(); in OnExecute()
123 napi_status runStatus = (*context->ctx)(env, &output); in OnComplete()
137 GenerateBusinessError(env, context->ctx in OnComplete()
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_decision_db_deps_mock.h50 virtual int32_t OpenDatabase(DbContext **ctx);
51 virtual int32_t CloseDatabase(DbContext *ctx);
52 virtual int32_t CreateTable(DbContext *ctx, TableNameID id);
53 virtual int32_t CheckTableExist(DbContext *ctx, TableNameID id, bool *isExist);
54 virtual int32_t RemoveRecordByKey(DbContext *ctx, TableNameID id, uint8_t *data);
55 virtual int32_t GetRecordNumByKey(DbContext *ctx, TableNameID id, uint8_t *data);
56 virtual int32_t EncryptedDb(DbContext *ctx, const uint8_t *password, uint32_t len);
57 virtual int32_t UpdateDbPassword(DbContext *ctx, const uint8_t *password, uint32_t len);
58 virtual int32_t QueryRecordByKey(DbContext *ctx, TableNameID id, uint8_t *data,
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/class_hashstream/
H A Dhashstream_n_exporter.cpp67 MD5_CTX ctx; in SetHsEntity() local
68 MD5_Init(&ctx); in SetHsEntity()
69 hsEntity->md5Ctx = ctx; in SetHsEntity()
73 SHA_CTX ctx; in SetHsEntity() local
74 SHA1_Init(&ctx); in SetHsEntity()
75 hsEntity->shaCtx = ctx; in SetHsEntity()
79 SHA256_CTX ctx; in SetHsEntity() local
80 SHA256_Init(&ctx); in SetHsEntity()
81 hsEntity->sha256Ctx = ctx; in SetHsEntity()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_abm.c49 dce_abm->base.ctx
108 dmub_abm_enable_fractional_pwm(abm->ctx); in dmub_abm_init()
136 struct dc_context *dc = abm->ctx; in dmub_abm_set_level()
155 struct dc_context *dc = abm->ctx; in dmub_abm_init_config()
187 struct dc_context *ctx, in dmub_abm_construct()
194 base->ctx = ctx; in dmub_abm_construct()
204 struct dc_context *ctx, in dmub_abm_create()
216 dmub_abm_construct(abm_dce, ctx, regs, abm_shift, abm_mask); in dmub_abm_create()
185 dmub_abm_construct( struct dce_abm *abm_dce, struct dc_context *ctx, const struct dce_abm_registers *regs, const struct dce_abm_shift *abm_shift, const struct dce_abm_mask *abm_mask) dmub_abm_construct() argument
203 dmub_abm_create( struct dc_context *ctx, const struct dce_abm_registers *regs, const struct dce_abm_shift *abm_shift, const struct dce_abm_mask *abm_mask) dmub_abm_create() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcq.c49 struct mlx5_eq_tasklet *ctx = from_tasklet(ctx, t, task); in mlx5_cq_tasklet_cb() local
53 spin_lock_irqsave(&ctx->lock, flags); in mlx5_cq_tasklet_cb()
54 list_splice_tail_init(&ctx->list, &ctx->process_list); in mlx5_cq_tasklet_cb()
55 spin_unlock_irqrestore(&ctx->lock, flags); in mlx5_cq_tasklet_cb()
57 list_for_each_entry_safe(mcq, temp, &ctx->process_list, in mlx5_cq_tasklet_cb()
66 if (!list_empty(&ctx->process_list)) in mlx5_cq_tasklet_cb()
67 tasklet_schedule(&ctx->task); in mlx5_cq_tasklet_cb()
/kernel/linux/linux-5.10/fs/udf/
H A Ddir.c40 static int udf_readdir(struct file *file, struct dir_context *ctx) in udf_readdir() argument
64 if (ctx->pos == 0) { in udf_readdir()
65 if (!dir_emit_dot(file, ctx)) in udf_readdir()
67 ctx->pos = 1; in udf_readdir()
69 nf_pos = (ctx->pos - 1) << 2; in udf_readdir()
147 ctx->pos = (nf_pos >> 2) + 1; in udf_readdir()
199 if (!dir_emit_dotdot(file, ctx)) in udf_readdir()
210 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
214 ctx->pos = (nf_pos >> 2) + 1; in udf_readdir()
/kernel/linux/linux-6.6/include/linux/
H A Dnetfs.h318 * @ctx: The netfs inode to initialise
324 static inline void netfs_inode_init(struct netfs_inode *ctx, in netfs_inode_init() argument
327 ctx->ops = ops; in netfs_inode_init()
328 ctx->remote_i_size = i_size_read(&ctx->inode); in netfs_inode_init()
330 ctx->cache = NULL; in netfs_inode_init()
336 * @ctx: The netfs inode being resized
341 static inline void netfs_resize_file(struct netfs_inode *ctx, loff_t new_i_size) in netfs_resize_file() argument
343 ctx->remote_i_size = new_i_size; in netfs_resize_file()
348 * @ctx
352 netfs_i_cookie(struct netfs_inode *ctx) netfs_i_cookie() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A Dhealth.c44 struct nsim_dev_dummy_reporter_ctx *ctx = priv_ctx; in nsim_dev_dummy_reporter_recover() local
53 if (ctx) { in nsim_dev_dummy_reporter_recover()
55 health->recovered_break_msg = kstrdup(ctx->break_msg, in nsim_dev_dummy_reporter_recover()
159 struct nsim_dev_dummy_reporter_ctx *ctx = priv_ctx; in nsim_dev_dummy_reporter_dump() local
162 if (ctx) { in nsim_dev_dummy_reporter_dump()
164 ctx->break_msg); in nsim_dev_dummy_reporter_dump()
202 struct nsim_dev_dummy_reporter_ctx ctx; in nsim_dev_health_break_write() local
213 ctx.break_msg = break_msg; in nsim_dev_health_break_write()
214 err = devlink_health_report(health->dummy_reporter, break_msg, &ctx); in nsim_dev_health_break_write()
/kernel/linux/linux-6.6/net/bridge/netfilter/
H A Dnft_meta_bridge.c72 static int nft_meta_bridge_get_init(const struct nft_ctx *ctx, in nft_meta_bridge_get_init() argument
90 return nft_meta_get_init(ctx, expr, tb); in nft_meta_bridge_get_init()
94 return nft_parse_register_store(ctx, tb[NFTA_META_DREG], &priv->dreg, in nft_meta_bridge_get_init()
127 static int nft_meta_bridge_set_init(const struct nft_ctx *ctx, in nft_meta_bridge_set_init() argument
141 return nft_meta_set_init(ctx, expr, tb); in nft_meta_bridge_set_init()
170 static int nft_meta_bridge_set_validate(const struct nft_ctx *ctx, in nft_meta_bridge_set_validate() argument
182 return nft_meta_set_validate(ctx, expr, data); in nft_meta_bridge_set_validate()
185 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_bridge_set_validate()
200 nft_meta_bridge_select_ops(const struct nft_ctx *ctx, in nft_meta_bridge_select_ops() argument
/third_party/ffmpeg/libavfilter/
H A Davfilter.h254 int (*preinit)(AVFilterContext *ctx);
277 int (*init)(AVFilterContext *ctx);
290 int (*init_dict)(AVFilterContext *ctx, AVDictionary **options);
302 void (*uninit)(AVFilterContext *ctx);
392 int (*activate)(AVFilterContext *ctx);
782 * @param ctx uninitialized filter context to initialize
789 int avfilter_init_str(AVFilterContext *ctx, const char *args);
794 * @param ctx uninitialized filter context to initialize
811 int avfilter_init_dict(AVFilterContext *ctx, AVDictionary **options);
846 * @param ctx th
[all...]
/third_party/ffmpeg/libavformat/
H A Dsmush.c46 static int smush_read_header(AVFormatContext *ctx) in smush_read_header() argument
48 SMUSHContext *smush = ctx->priv_data; in smush_read_header()
49 AVIOContext *pb = ctx->pb; in smush_read_header()
138 av_log(ctx, AV_LOG_ERROR, "Wrong magic\n"); in smush_read_header()
142 vst = avformat_new_stream(ctx, 0); in smush_read_header()
170 ast = avformat_new_stream(ctx, 0); in smush_read_header()
188 static int smush_read_packet(AVFormatContext *ctx, AVPacket *pkt) in smush_read_packet() argument
190 SMUSHContext *smush = ctx->priv_data; in smush_read_packet()
191 AVIOContext *pb = ctx->pb; in smush_read_packet()
/third_party/libcoap/tests/
H A Dtest_session.c31 static coap_context_t *ctx; /* Holds the coap context for most tests */ variable
138 CU_ASSERT_PTR_NULL(ctx->sessions); in t_session5()
161 session = coap_new_client_session(ctx, &saddr, &laddr, COAP_PROTO_UDP); in t_session6()
163 CU_ASSERT_PTR_NOT_NULL(ctx->sessions); in t_session6()
182 ctx = coap_new_context(&addr); in t_session_tests_create()
184 if (ctx != NULL) { in t_session_tests_create()
186 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_session_tests_create()
189 return (ctx == NULL) || (session == NULL); in t_session_tests_create()
194 coap_free_context(ctx); in t_session_tests_remove()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/
H A Dminimal-secure-streams.c147 struct lejp_ctx ctx; member
164 lws_httpbin_json_cb(struct lejp_ctx *ctx, char reason) in lws_httpbin_json_cb() argument
166 myss_t *m = (myss_t *)ctx->user; in lws_httpbin_json_cb()
167 const char *p = ctx->buf; in lws_httpbin_json_cb()
168 size_t l = ctx->npos; in lws_httpbin_json_cb()
173 if (ctx->path_match - 1) in lws_httpbin_json_cb()
207 lejp_construct(&m->ctx, lws_httpbin_json_cb, m, in myss_rx()
211 int pr = lejp_parse(&m->ctx, buf, (int)len); in myss_rx()
215 (unsigned int)m->ctx.line, pr, in myss_rx()
/third_party/mesa3d/src/intel/compiler/
H A Dtest_fs_copy_propagation.cpp38 void *ctx; member in copy_propagation_test
58 ctx = ralloc_context(NULL); in SetUp()
59 compiler = rzalloc(ctx, struct brw_compiler); in SetUp()
60 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp()
63 prog_data = ralloc(ctx, struct brw_wm_prog_data); in SetUp()
65 nir_shader_create(ctx, MESA_SHADER_FRAGMENT, NULL, NULL); in SetUp()
67 v = new copy_propagation_fs_visitor(compiler, ctx, prog_data, shader); in SetUp()
78 ralloc_free(ctx); in TearDown()
79 ctx = NULL; in TearDown()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_image.c107 if (!st_finalize_texture(st->ctx, st->pipe, u->TexObj, 0) || in st_convert_image()
146 struct gl_image_unit *u = &st->ctx->ImageUnits[imgUnit]; in st_convert_image_from_unit()
148 if (!_mesa_is_image_unit_valid(st->ctx, u)) { in st_convert_image_from_unit()
187 st->ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in st_bind_vs_images()
195 st->ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in st_bind_fs_images()
203 st->ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in st_bind_gs_images()
211 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in st_bind_tcs_images()
219 st->ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in st_bind_tes_images()
227 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_images()
/third_party/libdrm/tests/exynos/
H A Dexynos_fimg2d_event.c133 static int g2d_work(struct g2d_context *ctx, struct g2d_image *img, in g2d_work() argument
175 g2d_config_event(ctx, j); in g2d_work()
177 ret = g2d_solid_fill(ctx, img, x, y, w, h); in g2d_work()
180 g2d_exec(ctx); in g2d_work()
216 struct g2d_context *ctx; in main() local
284 ctx = g2d_init(fd); in main()
285 if (ctx == NULL) { in main()
313 ret = g2d_work(ctx, &img, njobs, iters); in main()
323 g2d_fini(ctx); in main()
/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpem_local.h44 OSSL_ENCODER_CTX *ctx = \
49 if (OSSL_ENCODER_CTX_get_num_encoders(ctx) == 0) { \
50 OSSL_ENCODER_CTX_free(ctx); \
65 if (OSSL_ENCODER_CTX_set_cipher(ctx, EVP_CIPHER_get0_name(enc), \
69 && !OSSL_ENCODER_CTX_set_passphrase(ctx, kstr, klen)) \
72 && !OSSL_ENCODER_CTX_set_pem_password_cb(ctx, \
78 OSSL_ENCODER_CTX_free(ctx); \
82 ret = OSSL_ENCODER_to_##outtype(ctx, out); \
83 OSSL_ENCODER_CTX_free(ctx); \

Completed in 29 milliseconds

1...<<201202203204205206207208209210>>...529