/third_party/node/deps/openssl/openssl/crypto/ |
H A D | LPdir_win.c | 69 WIN32_FIND_DATA ctx; member 74 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument 76 if (ctx == NULL || directory == NULL) { in LP_find_file() 82 if (*ctx == NULL) { in LP_find_file() 90 *ctx = malloc(sizeof(**ctx)); in LP_find_file() 91 if (*ctx == NULL) { in LP_find_file() 95 memset(*ctx, 0, sizeof(**ctx)); in LP_find_file() 126 free(*ctx); in LP_find_file() 204 LP_find_file_end(LP_DIR_CTX **ctx) LP_find_file_end() argument [all...] |
/third_party/openssl/crypto/ |
H A D | LPdir_win.c | 69 WIN32_FIND_DATA ctx; member 74 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument 76 if (ctx == NULL || directory == NULL) { in LP_find_file() 82 if (*ctx == NULL) { in LP_find_file() 90 *ctx = malloc(sizeof(**ctx)); in LP_find_file() 91 if (*ctx == NULL) { in LP_find_file() 95 memset(*ctx, 0, sizeof(**ctx)); in LP_find_file() 126 free(*ctx); in LP_find_file() 204 LP_find_file_end(LP_DIR_CTX **ctx) LP_find_file_end() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/ |
H A D | osu_client.c | 31 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) in write_result() argument 40 write_summary(ctx, "%s", buf); in write_result() 42 if (!ctx->result_file) in write_result() 45 f = fopen(ctx->result_file, "w"); in write_result() 57 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...) in write_summary() argument 62 if (!ctx->summary_file) in write_summary() 65 f = fopen(ctx->summary_file, "a"); in write_summary() 77 void debug_dump_node(struct hs20_osu_client *ctx, const char *title, in debug_dump_node() argument 80 char *str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 137 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_ argument 218 process_est_cert(struct hs20_osu_client *ctx, xml_node_t *cert, const char *fqdn) process_est_cert() argument 304 download_cert(struct hs20_osu_client *ctx, xml_node_t *params, const char *fname) download_cert() argument 395 cmd_dl_osu_ca(struct hs20_osu_client *ctx, const char *pps_fname, const char *ca_fname) cmd_dl_osu_ca() argument 422 cmd_dl_polupd_ca(struct hs20_osu_client *ctx, const char *pps_fname, const char *ca_fname) cmd_dl_polupd_ca() argument 449 cmd_dl_aaa_ca(struct hs20_osu_client *ctx, const char *pps_fname, const char *ca_fname) cmd_dl_aaa_ca() argument 483 download_trust_roots(struct hs20_osu_client *ctx, const char *pps_fname) download_trust_roots() argument 517 server_dnsname_suffix_match(struct hs20_osu_client *ctx, const char *fqdn) server_dnsname_suffix_match() argument 552 hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri, xml_node_t *add_mo, char *fname, size_t fname_len) hs20_add_pps_mo() argument 694 update_pps_file(struct hs20_osu_client *ctx, const char *pps_fname, xml_node_t *pps) update_pps_file() argument 740 get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps, const char *alt_loc, char **user, char **pw) get_user_pw() argument 776 remove_sp_creds(struct hs20_osu_client *ctx, const char *fqdn) remove_sp_creds() argument 785 set_pps_cred_policy_spe(struct hs20_osu_client *ctx, int id, xml_node_t *spe) set_pps_cred_policy_spe() argument 804 set_pps_cred_policy_spel(struct hs20_osu_client *ctx, int id, xml_node_t *spel) set_pps_cred_policy_spel() argument 816 set_pps_cred_policy_prp(struct hs20_osu_client *ctx, int id, xml_node_t *prp) set_pps_cred_policy_prp() argument 871 set_pps_cred_policy_prpl(struct hs20_osu_client *ctx, int id, xml_node_t *prpl) set_pps_cred_policy_prpl() argument 883 set_pps_cred_policy_min_backhaul(struct hs20_osu_client *ctx, int id, xml_node_t *min_backhaul) set_pps_cred_policy_min_backhaul() argument 955 set_pps_cred_policy_min_backhaul_list(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_min_backhaul_list() argument 969 set_pps_cred_policy_update(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_update() argument 977 set_pps_cred_policy_required_proto_port(struct hs20_osu_client *ctx, int id, xml_node_t *tuple) set_pps_cred_policy_required_proto_port() argument 1027 set_pps_cred_policy_required_proto_ports(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_required_proto_ports() argument 1041 set_pps_cred_policy_max_bss_load(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_max_bss_load() argument 1054 set_pps_cred_policy(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy() argument 1083 set_pps_cred_priority(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_priority() argument 1096 set_pps_cred_aaa_server_trust_root(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_aaa_server_trust_root() argument 1103 set_pps_cred_sub_update(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_sub_update() argument 1111 set_pps_cred_home_sp_network_id(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_network_id() argument 1141 set_pps_cred_home_sp_network_ids(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_network_ids() argument 1155 set_pps_cred_home_sp_friendly_name(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_friendly_name() argument 1167 set_pps_cred_home_sp_icon_url(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_icon_url() argument 1179 set_pps_cred_home_sp_fqdn(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_fqdn() argument 1194 set_pps_cred_home_sp_oi(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_oi() argument 1244 set_pps_cred_home_sp_oi_list(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_oi_list() argument 1258 set_pps_cred_home_sp_other_partner(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_other_partner() argument 1289 set_pps_cred_home_sp_other_partners(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_other_partners() argument 1304 set_pps_cred_home_sp_roaming_consortium_oi( struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_roaming_consortium_oi() argument 1318 set_pps_cred_home_sp(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp() argument 1350 set_pps_cred_sub_params(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_sub_params() argument 1358 set_pps_cred_creation_date(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_creation_date() argument 1370 set_pps_cred_expiration_date(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_expiration_date() argument 1382 set_pps_cred_username(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_username() argument 1396 set_pps_cred_password(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_password() argument 1427 set_pps_cred_machine_managed(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_machine_managed() argument 1440 set_pps_cred_soft_token_app(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_soft_token_app() argument 1453 set_pps_cred_able_to_share(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_able_to_share() argument 1466 set_pps_cred_eap_method_eap_type(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_eap_method_eap_type() argument 1503 set_pps_cred_eap_method_inner_method(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_eap_method_inner_method() argument 1533 set_pps_cred_eap_method(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_eap_method() argument 1555 set_pps_cred_username_password(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_username_password() argument 1585 set_pps_cred_digital_cert(struct hs20_osu_client *ctx, int id, xml_node_t *node, const char *fqdn) set_pps_cred_digital_cert() argument 1623 set_pps_cred_realm(struct hs20_osu_client *ctx, int id, xml_node_t *node, const char *fqdn, int sim) set_pps_cred_realm() argument 1654 set_pps_cred_check_aaa_cert_status(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_check_aaa_cert_status() argument 1670 set_pps_cred_sim(struct hs20_osu_client *ctx, int id, xml_node_t *sim, xml_node_t *realm) set_pps_cred_sim() argument 1760 set_pps_cred_credential(struct hs20_osu_client *ctx, int id, xml_node_t *node, const char *fqdn) set_pps_cred_credential() argument 1795 set_pps_credential(struct hs20_osu_client *ctx, int id, xml_node_t *cred, const char *fqdn) set_pps_credential() argument 1825 set_pps(struct hs20_osu_client *ctx, xml_node_t *pps, const char *fqdn) set_pps() argument 1881 cmd_set_pps(struct hs20_osu_client *ctx, const char *pps_fname) cmd_set_pps() argument 1914 cmd_get_fqdn(struct hs20_osu_client *ctx, const char *pps_fname) cmd_get_fqdn() argument 1946 cmd_to_tnds(struct hs20_osu_client *ctx, const char *in_fname, const char *out_fname, const char *urn, int use_path) cmd_to_tnds() argument 1967 cmd_from_tnds(struct hs20_osu_client *ctx, const char *in_fname, const char *out_fname) cmd_from_tnds() argument 2153 osu_connect(struct hs20_osu_client *ctx, const char *bssid, const char *ssid, const char *ssid2, const char *url, unsigned int methods, int no_prod_assoc, const char *osu_nai, const char *osu_nai2) osu_connect() argument 2285 cmd_osu_select(struct hs20_osu_client *ctx, const char *dir, int connect, int no_prod_assoc, const char *friendly_name) cmd_osu_select() argument 2491 cmd_signup(struct hs20_osu_client *ctx, int no_prod_assoc, const char *friendly_name) cmd_signup() argument 2550 cmd_sub_rem(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *ca_fname) cmd_sub_rem() argument 2708 cmd_pol_upd(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *ca_fname) cmd_pol_upd() argument 2907 struct hs20_osu_client *ctx = _ctx; osu_cert_cb() local 3075 init_ctx(struct hs20_osu_client *ctx) init_ctx() argument 3111 deinit_ctx(struct hs20_osu_client *ctx) deinit_ctx() argument 3127 check_workarounds(struct hs20_osu_client *ctx) check_workarounds() argument 3184 struct hs20_osu_client ctx; main() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | file.c | 47 struct cxl_context *ctx; in __afu_open() local 82 if (!(ctx = cxl_context_alloc())) { in __afu_open() 87 rc = cxl_context_init(ctx, afu, master); in __afu_open() 91 cxl_context_set_mapping(ctx, inode->i_mapping); in __afu_open() 93 pr_devel("afu_open pe: %i\n", ctx->pe); in __afu_open() 94 file->private_data = ctx; in __afu_open() 119 struct cxl_context *ctx = file->private_data; in afu_release() local 122 __func__, ctx->pe); in afu_release() 123 cxl_context_detach(ctx); in afu_release() 130 if (!ctx in afu_release() 147 afu_ioctl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work __user *uwork) afu_ioctl_start_work() argument 280 afu_ioctl_process_element(struct cxl_context *ctx, int __user *upe) afu_ioctl_process_element() argument 291 afu_ioctl_get_afu_id(struct cxl_context *ctx, struct cxl_afu_id __user *upafuid) afu_ioctl_get_afu_id() argument 312 struct cxl_context *ctx = file->private_data; afu_ioctl() local 341 struct cxl_context *ctx = file->private_data; afu_mmap() local 353 ctx_event_pending(struct cxl_context *ctx) ctx_event_pending() argument 366 struct cxl_context *ctx = file->private_data; afu_poll() local 389 afu_driver_event_copy(struct cxl_context *ctx, char __user *buf, struct cxl_event *event, struct cxl_event_afu_driver_reserved *pl) afu_driver_event_copy() argument 427 struct cxl_context *ctx = file->private_data; afu_read() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/cxl/ |
H A D | file.c | 47 struct cxl_context *ctx; in __afu_open() local 82 if (!(ctx = cxl_context_alloc())) { in __afu_open() 87 rc = cxl_context_init(ctx, afu, master); in __afu_open() 91 cxl_context_set_mapping(ctx, inode->i_mapping); in __afu_open() 93 pr_devel("afu_open pe: %i\n", ctx->pe); in __afu_open() 94 file->private_data = ctx; in __afu_open() 119 struct cxl_context *ctx = file->private_data; in afu_release() local 122 __func__, ctx->pe); in afu_release() 123 cxl_context_detach(ctx); in afu_release() 130 if (!ctx in afu_release() 147 afu_ioctl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work __user *uwork) afu_ioctl_start_work() argument 280 afu_ioctl_process_element(struct cxl_context *ctx, int __user *upe) afu_ioctl_process_element() argument 291 afu_ioctl_get_afu_id(struct cxl_context *ctx, struct cxl_afu_id __user *upafuid) afu_ioctl_get_afu_id() argument 312 struct cxl_context *ctx = file->private_data; afu_ioctl() local 341 struct cxl_context *ctx = file->private_data; afu_mmap() local 353 ctx_event_pending(struct cxl_context *ctx) ctx_event_pending() argument 366 struct cxl_context *ctx = file->private_data; afu_poll() local 389 afu_driver_event_copy(struct cxl_context *ctx, char __user *buf, struct cxl_event *event, struct cxl_event_afu_driver_reserved *pl) afu_driver_event_copy() argument 427 struct cxl_context *ctx = file->private_data; afu_read() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec.c | 36 static bool mtk_vdec_get_cap_fmt(struct mtk_vcodec_dec_ctx *ctx, int format_index) in mtk_vdec_get_cap_fmt() argument 38 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in mtk_vdec_get_cap_fmt() 52 if (num_frame_count == 1 || (!ctx->is_10bit_bitstream && fmt->fourcc == V4L2_PIX_FMT_MM21)) in mtk_vdec_get_cap_fmt() 55 q_data = &ctx->q_data[MTK_Q_DATA_SRC]; in mtk_vdec_get_cap_fmt() 58 if (ctx->is_10bit_bitstream && fmt->fourcc == V4L2_PIX_FMT_MT2110R) in mtk_vdec_get_cap_fmt() 64 if (ctx->is_10bit_bitstream && fmt->fourcc == V4L2_PIX_FMT_MT2110T) in mtk_vdec_get_cap_fmt() 74 static struct mtk_q_data *mtk_vdec_get_q_data(struct mtk_vcodec_dec_ctx *ctx, in mtk_vdec_get_q_data() argument 78 return &ctx->q_data[MTK_Q_DATA_SRC]; in mtk_vdec_get_q_data() 80 return &ctx->q_data[MTK_Q_DATA_DST]; in mtk_vdec_get_q_data() 93 struct mtk_vcodec_dec_ctx *ctx in vidioc_decoder_cmd() local 131 mtk_vdec_unlock(struct mtk_vcodec_dec_ctx *ctx) mtk_vdec_unlock() argument 136 mtk_vdec_lock(struct mtk_vcodec_dec_ctx *ctx) mtk_vdec_lock() argument 141 mtk_vcodec_dec_release(struct mtk_vcodec_dec_ctx *ctx) mtk_vcodec_dec_release() argument 147 mtk_vcodec_dec_set_default_params(struct mtk_vcodec_dec_ctx *ctx) mtk_vcodec_dec_set_default_params() argument 188 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_qbuf() local 201 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_dqbuf() local 213 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); mtk_vcodec_dec_get_chip_name() local 235 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_querycap() local 248 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(fh); vidioc_vdec_subscribe_evt() local 263 vidioc_try_fmt(struct mtk_vcodec_dec_ctx *ctx, struct v4l2_format *f, const struct mtk_video_fmt *fmt) vidioc_try_fmt() argument 331 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_try_fmt_vid_cap_mplane() local 349 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_try_fmt_vid_out_mplane() local 370 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_g_selection() local 419 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_s_selection() local 441 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_s_fmt() local 571 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_enum_framesizes() local 603 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_enum_fmt() local 649 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv); vidioc_vdec_g_fmt() local 738 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vq); vb2ops_vdec_queue_setup() local 780 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vb2ops_vdec_buf_prepare() local 804 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vb2ops_vdec_buf_finish() local 842 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(q); vb2ops_vdec_start_streaming() local 853 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(q); vb2ops_vdec_stop_streaming() local 908 struct mtk_vcodec_dec_ctx *ctx = priv; m2mops_vdec_device_run() local 916 struct mtk_vcodec_dec_ctx *ctx = m2m_priv; m2mops_vdec_job_ready() local 935 struct mtk_vcodec_dec_ctx *ctx = priv; m2mops_vdec_job_abort() local 983 struct mtk_vcodec_dec_ctx *ctx = priv; mtk_vcodec_dec_queue_init() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_nir.c | 151 load_const(struct ir2_context *ctx, float *value_f, unsigned ncomp) in load_const() argument 153 struct fd2_shader_stateobj *so = ctx->so; in load_const() 184 if (value[i] == ctx->so->immediates[idx].val[j]) in load_const() 203 ir2_zero(struct ir2_context *ctx) in ir2_zero() argument 205 return load_const(ctx, (float[]){0.0f}, 1); in ir2_zero() 209 update_range(struct ir2_context *ctx, struct ir2_reg *reg) in update_range() argument 213 reg->loop_depth = ctx->loop_depth; in update_range() 216 if (ctx->loop_depth > reg->loop_depth) { in update_range() 217 reg->block_idx_free = ctx->loop_last_block[reg->loop_depth + 1]; in update_range() 219 reg->loop_depth = ctx in update_range() 231 make_src(struct ir2_context *ctx, nir_src src) make_src() argument 261 set_index(struct ir2_context *ctx, nir_dest *dst, struct ir2_instr *instr) set_index() argument 278 ir2_instr_create(struct ir2_context *ctx, int type) ir2_instr_create() argument 292 instr_create_alu(struct ir2_context *ctx, nir_op opcode, unsigned ncomp) instr_create_alu() argument 351 instr_create_alu_reg(struct ir2_context *ctx, nir_op opcode, uint8_t write_mask, struct ir2_instr *share_reg) instr_create_alu_reg() argument 368 instr_create_alu_dest(struct ir2_context *ctx, nir_op opcode, nir_dest *dst) instr_create_alu_dest() argument 377 ir2_instr_create_fetch(struct ir2_context *ctx, nir_dest *dst, instr_fetch_opc_t opc) ir2_instr_create_fetch() argument 389 make_src_noconst(struct ir2_context *ctx, nir_src src) make_src_noconst() argument 404 emit_alu(struct ir2_context *ctx, nir_alu_instr *alu) emit_alu() argument 493 load_input(struct ir2_context *ctx, nir_dest *dst, unsigned idx) load_input() argument 546 output_slot(struct ir2_context *ctx, nir_intrinsic_instr *intr) output_slot() argument 561 store_output(struct ir2_context *ctx, nir_src src, unsigned slot, unsigned ncomp) store_output() argument 596 emit_intrinsic(struct ir2_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic() argument 661 emit_tex(struct ir2_context *ctx, nir_tex_instr *tex) emit_tex() argument 760 setup_input(struct ir2_context *ctx, nir_variable *in) setup_input() argument 793 emit_undef(struct ir2_context *ctx, nir_ssa_undef_instr *undef) emit_undef() argument 805 emit_instr(struct ir2_context *ctx, nir_instr *instr) emit_instr() argument 836 extra_position_exports(struct ir2_context *ctx, bool binning) extra_position_exports() argument 899 emit_block(struct ir2_context *ctx, nir_block *block) emit_block() argument 929 emit_if(struct ir2_context *ctx, nir_if *nif) emit_if() argument 1020 emit_loop(struct ir2_context *ctx, nir_loop *nloop) emit_loop() argument 1028 emit_cf_list(struct ir2_context *ctx, struct exec_list *list) emit_cf_list() argument 1052 cleanup_binning(struct ir2_context *ctx) cleanup_binning() argument 1098 ir2_nir_compile(struct ir2_context *ctx, bool binning) ir2_nir_compile() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/ |
H A D | osu_client.c | 31 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) in write_result() argument 40 write_summary(ctx, "%s", buf); in write_result() 42 if (!ctx->result_file) in write_result() 45 f = fopen(ctx->result_file, "w"); in write_result() 57 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...) in write_summary() argument 62 if (!ctx->summary_file) in write_summary() 65 f = fopen(ctx->summary_file, "a"); in write_summary() 77 void debug_dump_node(struct hs20_osu_client *ctx, const char *title, in debug_dump_node() argument 80 char *str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 137 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_ argument 218 process_est_cert(struct hs20_osu_client *ctx, xml_node_t *cert, const char *fqdn) process_est_cert() argument 304 download_cert(struct hs20_osu_client *ctx, xml_node_t *params, const char *fname) download_cert() argument 395 cmd_dl_osu_ca(struct hs20_osu_client *ctx, const char *pps_fname, const char *ca_fname) cmd_dl_osu_ca() argument 422 cmd_dl_polupd_ca(struct hs20_osu_client *ctx, const char *pps_fname, const char *ca_fname) cmd_dl_polupd_ca() argument 449 cmd_dl_aaa_ca(struct hs20_osu_client *ctx, const char *pps_fname, const char *ca_fname) cmd_dl_aaa_ca() argument 483 download_trust_roots(struct hs20_osu_client *ctx, const char *pps_fname) download_trust_roots() argument 517 server_dnsname_suffix_match(struct hs20_osu_client *ctx, const char *fqdn) server_dnsname_suffix_match() argument 552 hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri, xml_node_t *add_mo, char *fname, size_t fname_len) hs20_add_pps_mo() argument 694 update_pps_file(struct hs20_osu_client *ctx, const char *pps_fname, xml_node_t *pps) update_pps_file() argument 740 get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps, const char *alt_loc, char **user, char **pw) get_user_pw() argument 776 remove_sp_creds(struct hs20_osu_client *ctx, const char *fqdn) remove_sp_creds() argument 785 set_pps_cred_policy_spe(struct hs20_osu_client *ctx, int id, xml_node_t *spe) set_pps_cred_policy_spe() argument 804 set_pps_cred_policy_spel(struct hs20_osu_client *ctx, int id, xml_node_t *spel) set_pps_cred_policy_spel() argument 816 set_pps_cred_policy_prp(struct hs20_osu_client *ctx, int id, xml_node_t *prp) set_pps_cred_policy_prp() argument 872 set_pps_cred_policy_prpl(struct hs20_osu_client *ctx, int id, xml_node_t *prpl) set_pps_cred_policy_prpl() argument 884 set_pps_cred_policy_min_backhaul(struct hs20_osu_client *ctx, int id, xml_node_t *min_backhaul) set_pps_cred_policy_min_backhaul() argument 956 set_pps_cred_policy_min_backhaul_list(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_min_backhaul_list() argument 970 set_pps_cred_policy_update(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_update() argument 978 set_pps_cred_policy_required_proto_port(struct hs20_osu_client *ctx, int id, xml_node_t *tuple) set_pps_cred_policy_required_proto_port() argument 1028 set_pps_cred_policy_required_proto_ports(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_required_proto_ports() argument 1042 set_pps_cred_policy_max_bss_load(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy_max_bss_load() argument 1055 set_pps_cred_policy(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_policy() argument 1084 set_pps_cred_priority(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_priority() argument 1097 set_pps_cred_aaa_server_trust_root(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_aaa_server_trust_root() argument 1104 set_pps_cred_sub_update(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_sub_update() argument 1112 set_pps_cred_home_sp_network_id(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_network_id() argument 1143 set_pps_cred_home_sp_network_ids(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_network_ids() argument 1157 set_pps_cred_home_sp_friendly_name(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_friendly_name() argument 1169 set_pps_cred_home_sp_icon_url(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_icon_url() argument 1181 set_pps_cred_home_sp_fqdn(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_fqdn() argument 1196 set_pps_cred_home_sp_oi(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_oi() argument 1246 set_pps_cred_home_sp_oi_list(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_oi_list() argument 1260 set_pps_cred_home_sp_other_partner(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_other_partner() argument 1291 set_pps_cred_home_sp_other_partners(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_other_partners() argument 1306 set_pps_cred_home_sp_roaming_consortium_oi( struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp_roaming_consortium_oi() argument 1320 set_pps_cred_home_sp(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_home_sp() argument 1352 set_pps_cred_sub_params(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_sub_params() argument 1360 set_pps_cred_creation_date(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_creation_date() argument 1372 set_pps_cred_expiration_date(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_expiration_date() argument 1384 set_pps_cred_username(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_username() argument 1398 set_pps_cred_password(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_password() argument 1429 set_pps_cred_machine_managed(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_machine_managed() argument 1442 set_pps_cred_soft_token_app(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_soft_token_app() argument 1455 set_pps_cred_able_to_share(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_able_to_share() argument 1468 set_pps_cred_eap_method_eap_type(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_eap_method_eap_type() argument 1505 set_pps_cred_eap_method_inner_method(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_eap_method_inner_method() argument 1535 set_pps_cred_eap_method(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_eap_method() argument 1557 set_pps_cred_username_password(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_username_password() argument 1587 set_pps_cred_digital_cert(struct hs20_osu_client *ctx, int id, xml_node_t *node, const char *fqdn) set_pps_cred_digital_cert() argument 1625 set_pps_cred_realm(struct hs20_osu_client *ctx, int id, xml_node_t *node, const char *fqdn, int sim) set_pps_cred_realm() argument 1656 set_pps_cred_check_aaa_cert_status(struct hs20_osu_client *ctx, int id, xml_node_t *node) set_pps_cred_check_aaa_cert_status() argument 1672 set_pps_cred_sim(struct hs20_osu_client *ctx, int id, xml_node_t *sim, xml_node_t *realm) set_pps_cred_sim() argument 1762 set_pps_cred_credential(struct hs20_osu_client *ctx, int id, xml_node_t *node, const char *fqdn) set_pps_cred_credential() argument 1797 set_pps_credential(struct hs20_osu_client *ctx, int id, xml_node_t *cred, const char *fqdn) set_pps_credential() argument 1827 set_pps(struct hs20_osu_client *ctx, xml_node_t *pps, const char *fqdn) set_pps() argument 1883 cmd_set_pps(struct hs20_osu_client *ctx, const char *pps_fname) cmd_set_pps() argument 1916 cmd_get_fqdn(struct hs20_osu_client *ctx, const char *pps_fname) cmd_get_fqdn() argument 1948 cmd_to_tnds(struct hs20_osu_client *ctx, const char *in_fname, const char *out_fname, const char *urn, int use_path) cmd_to_tnds() argument 1969 cmd_from_tnds(struct hs20_osu_client *ctx, const char *in_fname, const char *out_fname) cmd_from_tnds() argument 2155 osu_connect(struct hs20_osu_client *ctx, const char *bssid, const char *ssid, const char *ssid2, const char *url, unsigned int methods, int no_prod_assoc, const char *osu_nai, const char *osu_nai2) osu_connect() argument 2287 cmd_osu_select(struct hs20_osu_client *ctx, const char *dir, int connect, int no_prod_assoc, const char *friendly_name) cmd_osu_select() argument 2493 cmd_signup(struct hs20_osu_client *ctx, int no_prod_assoc, const char *friendly_name) cmd_signup() argument 2552 cmd_sub_rem(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *ca_fname) cmd_sub_rem() argument 2710 cmd_pol_upd(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *ca_fname) cmd_pol_upd() argument 2909 struct hs20_osu_client *ctx = _ctx; osu_cert_cb() local 3077 init_ctx(struct hs20_osu_client *ctx) init_ctx() argument 3113 deinit_ctx(struct hs20_osu_client *ctx) deinit_ctx() argument 3129 check_workarounds(struct hs20_osu_client *ctx) check_workarounds() argument 3186 struct hs20_osu_client ctx; main() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | elsdec.c | 249 void ff_els_decoder_init(ElsDecCtx *ctx, const uint8_t *in, size_t data_size) in ff_els_decoder_init() argument 255 ctx->x = AV_RB24(in); in ff_els_decoder_init() 258 ctx->x = AV_RB16(in); in ff_els_decoder_init() 261 ctx->x = *in; in ff_els_decoder_init() 265 ctx->in_buf = in + nbytes; in ff_els_decoder_init() 266 ctx->data_size = data_size - nbytes; in ff_els_decoder_init() 267 ctx->err = 0; in ff_els_decoder_init() 268 ctx->j = ELS_JOTS_PER_BYTE; in ff_els_decoder_init() 269 ctx->t = ELS_MAX; in ff_els_decoder_init() 270 ctx in ff_els_decoder_init() 279 els_import_byte(ElsDecCtx *ctx) els_import_byte() argument 293 ff_els_decode_bit(ElsDecCtx *ctx, uint8_t *rung) ff_els_decode_bit() argument 352 ff_els_decode_unsigned(ElsDecCtx *ctx, ElsUnsignedRung *ur) ff_els_decode_unsigned() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.c | 77 check_resource_for_batch_ref(struct zink_context *ctx, struct zink_resource *res) in check_resource_for_batch_ref() argument 87 zink_batch_reference_resource_rw(&ctx->batch, res, !!res->obj->bo->writes); in check_resource_for_batch_ref() 89 zink_batch_reference_resource(&ctx->batch, res); in check_resource_for_batch_ref() 96 struct zink_context *ctx = zink_context(pctx); in zink_context_destroy() local 101 if (ctx->batch.state && !screen->device_lost) { in zink_context_destroy() 108 for (unsigned i = 0; i < ARRAY_SIZE(ctx->program_cache); i++) { in zink_context_destroy() 109 hash_table_foreach(&ctx->program_cache[i], entry) { in zink_context_destroy() 112 screen->descriptor_program_deinit(ctx, pg); in zink_context_destroy() 115 hash_table_foreach(&ctx->compute_program_cache, entry) { in zink_context_destroy() 118 screen->descriptor_program_deinit(ctx, p in zink_context_destroy() 190 check_device_lost(struct zink_context *ctx) check_device_lost() argument 203 struct zink_context *ctx = zink_context(pctx); zink_get_device_reset_status() local 225 struct zink_context *ctx = zink_context(pctx); zink_set_device_reset_callback() local 246 struct zink_context *ctx = zink_context(pctx); zink_set_context_param() local 483 get_layout_for_binding(const struct zink_context *ctx, struct zink_resource *res, enum zink_descriptor_type type, bool is_compute) get_layout_for_binding() argument 499 get_imageview_for_binding(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_descriptor_type type, unsigned idx) get_imageview_for_binding() argument 523 get_bufferview_for_binding(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_descriptor_type type, unsigned idx) get_bufferview_for_binding() argument 542 update_descriptor_state_ubo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) update_descriptor_state_ubo() argument 568 update_descriptor_state_ssbo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) update_descriptor_state_ssbo() argument 587 update_descriptor_state_sampler(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) update_descriptor_state_sampler() argument 636 update_descriptor_state_image(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) update_descriptor_state_image() argument 672 update_nonseamless_shader_key(struct zink_context *ctx, enum pipe_shader_type pstage) update_nonseamless_shader_key() argument 693 struct zink_context *ctx = zink_context(pctx); zink_bind_sampler_states() local 779 create_bvci(struct zink_context *ctx, struct zink_resource *res, enum pipe_format format, uint32_t offset, uint32_t range) create_bvci() argument 811 get_buffer_view(struct zink_context *ctx, struct zink_resource *res, VkBufferViewCreateInfo *bvci) get_buffer_view() argument 890 struct zink_context *ctx = zink_context(pctx); zink_create_sampler_view() local 1013 zink_get_sample_position(struct pipe_context *ctx, unsigned sample_count, unsigned sample_index, float *out_value) zink_get_sample_position() argument 1091 update_res_bind_count(struct zink_context *ctx, struct zink_resource *res, bool is_compute, bool decrement) update_res_bind_count() argument 1103 update_existing_vbo(struct zink_context *ctx, unsigned slot) update_existing_vbo() argument 1125 struct zink_context *ctx = zink_context(pctx); zink_set_vertex_buffers() local 1192 struct zink_context *ctx = zink_context(pctx); zink_set_viewport_states() local 1205 struct zink_context *ctx = zink_context(pctx); zink_set_scissor_states() local 1217 struct zink_context *ctx = (struct zink_context *)pctx; zink_set_inlinable_constants() local 1252 unbind_ubo(struct zink_context *ctx, struct zink_resource *res, enum pipe_shader_type pstage, unsigned slot) unbind_ubo() argument 1265 invalidate_inlined_uniforms(struct zink_context *ctx, enum pipe_shader_type pstage) invalidate_inlined_uniforms() argument 1285 struct zink_context *ctx = zink_context(pctx); zink_set_constant_buffer() local 1371 unbind_ssbo(struct zink_context *ctx, struct zink_resource *res, enum pipe_shader_type pstage, unsigned slot, bool writable) unbind_ssbo() argument 1393 struct zink_context *ctx = zink_context(pctx); zink_set_shader_buffers() local 1454 update_binds_for_samplerviews(struct zink_context *ctx, struct zink_resource *res, bool is_compute) update_binds_for_samplerviews() argument 1477 flush_pending_clears(struct zink_context *ctx, struct zink_resource *res) flush_pending_clears() argument 1484 unbind_shader_image_counts(struct zink_context *ctx, struct zink_resource *res, bool is_compute, bool writable) unbind_shader_image_counts() argument 1496 check_for_layout_update(struct zink_context *ctx, struct zink_resource *res, bool is_compute) check_for_layout_update() argument 1507 unbind_shader_image(struct zink_context *ctx, enum pipe_shader_type stage, unsigned slot) unbind_shader_image() argument 1539 create_image_bufferview(struct zink_context *ctx, const struct pipe_image_view *view) create_image_bufferview() argument 1552 finalize_image_bind(struct zink_context *ctx, struct zink_resource *res, bool is_compute) finalize_image_bind() argument 1564 create_image_surface(struct zink_context *ctx, const struct pipe_image_view *view, bool is_compute) create_image_surface() argument 1614 struct zink_context *ctx = zink_context(pctx); zink_set_shader_images() local 1687 check_samplerview_for_batch_ref(struct zink_context *ctx, struct zink_sampler_view *sv) check_samplerview_for_batch_ref() argument 1696 unbind_samplerview(struct zink_context *ctx, enum pipe_shader_type stage, unsigned slot) unbind_samplerview() argument 1724 struct zink_context *ctx = zink_context(pctx); zink_set_sampler_views() local 1823 struct zink_context *ctx = zink_context(pctx); zink_create_texture_handle() local 1853 struct zink_context *ctx = zink_context(pctx); zink_delete_texture_handle() local 1878 rebind_bindless_bufferview(struct zink_context *ctx, struct zink_resource *res, struct zink_descriptor_surface *ds) rebind_bindless_bufferview() argument 1895 zero_bindless_descriptor(struct zink_context *ctx, uint32_t handle, bool is_buffer, bool is_image) zero_bindless_descriptor() argument 1923 struct zink_context *ctx = zink_context(pctx); zink_make_texture_handle_resident() local 1973 struct zink_context *ctx = zink_context(pctx); zink_create_image_handle() local 2001 struct zink_context *ctx = zink_context(pctx); zink_delete_image_handle() local 2026 struct zink_context *ctx = zink_context(pctx); zink_make_image_handle_resident() local 2096 struct zink_context *ctx = zink_context(pctx); zink_set_stencil_ref() local 2112 struct zink_context *ctx = zink_context(pctx); zink_set_tess_state() local 2120 struct zink_context *ctx = zink_context(pctx); zink_set_patch_vertices() local 2131 zink_update_fbfetch(struct zink_context *ctx) zink_update_fbfetch() argument 2172 zink_update_vk_sample_locations(struct zink_context *ctx) zink_update_vk_sample_locations() argument 2194 find_rp_state(struct zink_context *ctx) find_rp_state() argument 2211 begin_rendering(struct zink_context *ctx) begin_rendering() argument 2368 zink_batch_rp(struct zink_context *ctx) zink_batch_rp() argument 2399 zink_batch_no_rp(struct zink_context *ctx) zink_batch_no_rp() argument 2415 update_res_sampler_layouts(struct zink_context *ctx, struct zink_resource *res) update_res_sampler_layouts() argument 2430 zink_prep_fb_attachment(struct zink_context *ctx, struct zink_surface *surf, unsigned i) zink_prep_fb_attachment() argument 2514 zink_init_vk_sample_locations(struct zink_context *ctx, VkSampleLocationsInfoEXT *loc) zink_init_vk_sample_locations() argument 2529 struct zink_context *ctx = zink_context(pctx); zink_evaluate_depth_buffer() local 2541 sync_flush(struct zink_context *ctx, struct zink_batch_state *bs) sync_flush() argument 2548 get_access_flags_for_binding(struct zink_context *ctx, enum zink_descriptor_type type, enum pipe_shader_type stage, unsigned idx) get_access_flags_for_binding() argument 2578 update_resource_refs_for_stage(struct zink_context *ctx, enum pipe_shader_type stage) update_resource_refs_for_stage() argument 2627 zink_update_descriptor_refs(struct zink_context *ctx, bool compute) zink_update_descriptor_refs() argument 2665 reapply_color_write(struct zink_context *ctx) reapply_color_write() argument 2679 stall(struct zink_context *ctx) stall() argument 2688 flush_batch(struct zink_context *ctx, bool sync) flush_batch() argument 2730 zink_flush_queue(struct zink_context *ctx) zink_flush_queue() argument 2736 rebind_fb_surface(struct zink_context *ctx, struct pipe_surface **surf, struct zink_resource *match_res) rebind_fb_surface() argument 2747 rebind_fb_state(struct zink_context *ctx, struct zink_resource *match_res, bool from_set_fb) rebind_fb_state() argument 2760 unbind_fb_surface(struct zink_context *ctx, struct pipe_surface *surf, unsigned idx, bool changed) unbind_fb_surface() argument 2786 zink_set_color_write_enables(struct zink_context *ctx) zink_set_color_write_enables() argument 2809 struct zink_context *ctx = zink_context(pctx); zink_set_framebuffer_state() local 2966 struct zink_context *ctx = zink_context(pctx); zink_set_blend_color() local 2973 struct zink_context *ctx = zink_context(pctx); zink_set_sample_mask() local 2981 struct zink_context *ctx = zink_context(pctx); zink_set_sample_locations() local 3166 resource_check_defer_buffer_barrier(struct zink_context *ctx, struct zink_resource *res, VkPipelineStageFlags pipeline) resource_check_defer_buffer_barrier() argument 3181 unordered_res_exec(const struct zink_context *ctx, const struct zink_resource *res, bool is_write) unordered_res_exec() argument 3194 zink_get_cmdbuf(struct zink_context *ctx, struct zink_resource *src, struct zink_resource *dst) zink_get_cmdbuf() argument 3214 resource_check_defer_image_barrier(struct zink_context *ctx, struct zink_resource *res, VkImageLayout layout, VkPipelineStageFlags pipeline) resource_check_defer_image_barrier() argument 3240 zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline) zink_resource_image_barrier() argument 3334 zink_resource_buffer_barrier(struct zink_context *ctx, struct zink_resource *res, VkAccessFlags flags, VkPipelineStageFlags pipeline) zink_resource_buffer_barrier() argument 3394 struct zink_context *ctx = zink_context(pctx); zink_flush() local 3483 struct zink_context *ctx = zink_context(pctx); zink_fence_wait() local 3492 zink_wait_on_batch(struct zink_context *ctx, uint64_t batch_id) zink_wait_on_batch() argument 3508 zink_check_batch_completion(struct zink_context *ctx, uint64_t batch_id) zink_check_batch_completion() argument 3527 struct zink_context *ctx = zink_context(pctx); zink_texture_barrier() local 3585 mem_barrier(struct zink_context *ctx, VkPipelineStageFlags src_stage, VkPipelineStageFlags dst_stage, VkAccessFlags src, VkAccessFlags dst) mem_barrier() argument 3598 zink_flush_memory_barrier(struct zink_context *ctx, bool is_compute) zink_flush_memory_barrier() argument 3648 struct zink_context *ctx = zink_context(pctx); zink_memory_barrier() local 3665 struct zink_context *ctx = zink_context(pctx); zink_flush_resource() local 3727 struct zink_context *ctx = zink_context(pctx); zink_set_stream_output_targets() local 3778 zink_rebind_framebuffer(struct zink_context *ctx, struct zink_resource *res) zink_rebind_framebuffer() argument 3810 rebind_ubo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot) rebind_ubo() argument 3819 rebind_ssbo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot) rebind_ssbo() argument 3833 rebind_tbo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot) rebind_tbo() argument 3851 rebind_ibo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot) rebind_ibo() argument 3877 rebind_buffer(struct zink_context *ctx, struct zink_resource *res, uint32_t rebind_mask, const unsigned expected_num_rebinds) rebind_buffer() argument 3985 zink_copy_buffer(struct zink_context *ctx, struct zink_resource *dst, struct zink_resource *src, unsigned dst_offset, unsigned src_offset, unsigned size) zink_copy_buffer() argument 4004 zink_copy_image_buffer(struct zink_context *ctx, struct zink_resource *dst, struct zink_resource *src, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned src_level, const struct pipe_box *src_box, enum pipe_map_flags map_flags) zink_copy_image_buffer() argument 4120 struct zink_context *ctx = zink_context(pctx); zink_resource_copy_region() local 4224 struct zink_context *ctx = zink_context(pctx); zink_resource_commit() local 4245 rebind_image(struct zink_context *ctx, struct zink_resource *res) rebind_image() argument 4276 zink_resource_rebind(struct zink_context *ctx, struct zink_resource *res) zink_resource_rebind() argument 4288 zink_rebind_all_buffers(struct zink_context *ctx) zink_rebind_all_buffers() argument 4321 zink_rebind_all_images(struct zink_context *ctx) zink_rebind_all_images() argument 4361 struct zink_context *ctx = zink_context(pctx); zink_context_replace_buffer_storage() local 4422 struct zink_context *ctx = rzalloc(NULL, struct zink_context); zink_context_create() local 4676 struct zink_context *ctx = zink_context(pctx); zink_tc_context_unwrap() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_pad_opencl.c | 83 PadOpenCLContext *ctx = avctx->priv; in pad_opencl_init() local 91 ctx->is_rgb = !!(desc->flags & AV_PIX_FMT_FLAG_RGB); in pad_opencl_init() 92 ctx->is_packed = !(desc->flags & AV_PIX_FMT_FLAG_PLANAR); in pad_opencl_init() 93 ctx->hsub = desc->log2_chroma_w; in pad_opencl_init() 94 ctx->vsub = desc->log2_chroma_h; in pad_opencl_init() 100 ctx->command_queue = clCreateCommandQueue( in pad_opencl_init() 101 ctx->ocf.hwctx->context, in pad_opencl_init() 102 ctx->ocf.hwctx->device_id, in pad_opencl_init() 107 if (ctx->is_rgb) { in pad_opencl_init() 108 ctx in pad_opencl_init() 229 PadOpenCLContext *ctx = avctx->priv; pad_opencl_uninit() local 253 PadOpenCLContext *ctx = avctx->priv; pad_opencl_config_output() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeShaderDirectiveTests.cpp | 47 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources, ExpectResult expect) in verifyProgram() argument 51 tcu::TestLog& log = ctx.getLog(); in verifyProgram() 52 const glu::ShaderProgram program (ctx.getRenderContext(), sources); in verifyProgram() 72 ctx.fail(message); in verifyProgram() 76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) in verifyShader() argument 80 tcu::TestLog& log = ctx.getLog(); in verifyShader() 84 glu::Shader shader (ctx.getRenderContext(), shaderType); in verifyShader() 106 ctx.fail(message); in verifyShader() 110 void primitive_bounding_box (NegativeTestContext& ctx) in primitive_bounding_box() argument 112 if (ctx in primitive_bounding_box() 169 blend_equation_advanced(NegativeTestContext& ctx) blend_equation_advanced() argument 204 sample_variables(NegativeTestContext& ctx) sample_variables() argument 234 shader_image_atomic(NegativeTestContext& ctx) shader_image_atomic() argument 264 shader_multisample_interpolation(NegativeTestContext& ctx) shader_multisample_interpolation() argument 311 texture_storage_multisample_2d_array(NegativeTestContext& ctx) texture_storage_multisample_2d_array() argument 335 geometry_shader(NegativeTestContext& ctx) geometry_shader() argument 358 gpu_shader_5(NegativeTestContext& ctx) gpu_shader_5() argument 406 shader_io_blocks(NegativeTestContext& ctx) shader_io_blocks() argument 424 tessellation_shader(NegativeTestContext& ctx) tessellation_shader() argument 453 texture_buffer(NegativeTestContext& ctx) texture_buffer() argument 480 texture_cube_map_array(NegativeTestContext& ctx) texture_cube_map_array() argument 507 executeAccessingBoundingBoxType(NegativeTestContext& ctx, const std::string builtInTypeName, glu::GLSLVersion glslVersion) executeAccessingBoundingBoxType() argument 600 accessing_bounding_box_type(NegativeTestContext& ctx) accessing_bounding_box_type() argument [all...] |
/kernel/linux/linux-5.10/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 65 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit() argument 67 if (ctx->image != NULL) in emit() 68 ctx->image[ctx->idx] = cpu_to_le32(insn); in emit() 70 ctx->idx++; in emit() 74 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i() 81 emit(A64_MOVN(is64, reg, (u16)~lo, 0), ctx); in emit_a64_mov_i() local 83 emit(A64_MOVN(is64, reg, (u16)~hi, 16), ctx); in emit_a64_mov_i() local 85 emit(A64_MOVK(is64, reg, lo, 0), ctx); in emit_a64_mov_i() 88 emit(A64_MOVZ(is64, reg, lo, 0), ctx); in emit_a64_mov_i() 73 emit_a64_mov_i(const int is64, const int reg, const s32 val, struct jit_ctx *ctx) emit_a64_mov_i() argument 102 emit_a64_mov_i64(const int reg, const u64 val, struct jit_ctx *ctx) emit_a64_mov_i64() argument 132 emit_addr_mov_i64(const int reg, const u64 val, struct jit_ctx *ctx) emit_addr_mov_i64() argument 146 bpf2a64_offset(int bpf_insn, int off, const struct jit_ctx *ctx) bpf2a64_offset() argument 167 epilogue_offset(const struct jit_ctx *ctx) epilogue_offset() argument 191 build_prologue(struct jit_ctx *ctx, bool ebpf_from_cbpf) build_prologue() argument 231 emit(A64_PUSH(A64_FP, A64_LR, A64_SP), ctx); build_prologue() local 235 emit(A64_PUSH(r6, r7, A64_SP), ctx); build_prologue() local 236 emit(A64_PUSH(r8, r9, A64_SP), ctx); build_prologue() local 237 emit(A64_PUSH(fp, tcc, A64_SP), ctx); build_prologue() local 266 emit_bpf_tail_call(struct jit_ctx *ctx) emit_bpf_tail_call() argument 285 emit(A64_LDR32(tmp, r2, tmp), ctx); emit_bpf_tail_call() local 288 emit(A64_B_(A64_COND_CS, jmp_offset), ctx); emit_bpf_tail_call() local 296 emit(A64_B_(A64_COND_HI, jmp_offset), ctx); emit_bpf_tail_call() local 307 emit(A64_LDR64(prg, tmp, prg), ctx); emit_bpf_tail_call() local 313 emit(A64_LDR64(tmp, prg, tmp), ctx); emit_bpf_tail_call() local 316 emit(A64_BR(tmp), ctx); emit_bpf_tail_call() local 331 build_epilogue(struct jit_ctx *ctx) build_epilogue() argument 344 emit(A64_POP(fp, A64_R(26), A64_SP), ctx); build_epilogue() local 347 emit(A64_POP(r8, r9, A64_SP), ctx); build_epilogue() local 348 emit(A64_POP(r6, r7, A64_SP), ctx); build_epilogue() local 351 emit(A64_POP(A64_FP, A64_LR, A64_SP), ctx); build_epilogue() local 356 emit(A64_RET(A64_LR), ctx); build_epilogue() local 374 add_exception_handler(const struct bpf_insn *insn, struct jit_ctx *ctx, int dst_reg) add_exception_handler() argument 426 build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) build_insn() argument 461 emit(A64_MOV(is64, dst, src), ctx); build_insn() local 466 emit(A64_ADD(is64, dst, dst, src), ctx); build_insn() local 470 emit(A64_SUB(is64, dst, dst, src), ctx); build_insn() local 474 emit(A64_AND(is64, dst, dst, src), ctx); build_insn() local 478 emit(A64_ORR(is64, dst, dst, src), ctx); build_insn() local 482 emit(A64_EOR(is64, dst, dst, src), ctx); build_insn() local 486 emit(A64_MUL(is64, dst, dst, src), ctx); build_insn() local 494 emit(A64_UDIV(is64, dst, dst, src), ctx); build_insn() local 497 emit(A64_UDIV(is64, tmp, dst, src), ctx); build_insn() local 498 emit(A64_MSUB(is64, dst, dst, tmp, src), ctx); build_insn() local 504 emit(A64_LSLV(is64, dst, dst, src), ctx); build_insn() local 508 emit(A64_LSRV(is64, dst, dst, src), ctx); build_insn() local 512 emit(A64_ASRV(is64, dst, dst, src), ctx); build_insn() local 517 emit(A64_NEG(is64, dst, dst), ctx); build_insn() local 531 emit(A64_REV16(is64, dst, dst), ctx); build_insn() local 533 emit(A64_UXTH(is64, dst, dst), ctx); build_insn() local 536 emit(A64_REV32(is64, dst, dst), ctx); build_insn() local 540 emit(A64_REV64(dst, dst), ctx); build_insn() local 548 emit(A64_UXTH(is64, dst, dst), ctx); build_insn() local 552 emit(A64_UXTW(is64, dst, dst), ctx); build_insn() local 568 emit(A64_ADD_I(is64, dst, dst, imm), ctx); build_insn() local 573 emit(A64_ADD(is64, dst, dst, tmp), ctx); build_insn() local 579 emit(A64_SUB_I(is64, dst, dst, imm), ctx); build_insn() local 584 emit(A64_SUB(is64, dst, dst, tmp), ctx); build_insn() local 594 emit(A64_AND(is64, dst, dst, tmp), ctx); build_insn() local 604 emit(A64_ORR(is64, dst, dst, tmp), ctx); build_insn() local 614 emit(A64_EOR(is64, dst, dst, tmp), ctx); build_insn() local 620 emit(A64_MUL(is64, dst, dst, tmp), ctx); build_insn() local 625 emit(A64_UDIV(is64, dst, dst, tmp), ctx); build_insn() local 630 emit(A64_UDIV(is64, tmp, dst, tmp2), ctx); build_insn() local 631 emit(A64_MSUB(is64, dst, dst, tmp, tmp2), ctx); build_insn() local 635 emit(A64_LSL(is64, dst, dst, imm), ctx); build_insn() local 639 emit(A64_LSR(is64, dst, dst, imm), ctx); build_insn() local 643 emit(A64_ASR(is64, dst, dst, imm), ctx); build_insn() local 650 emit(A64_B(jmp_offset), ctx); build_insn() local 673 emit(A64_CMP(is64, dst, src), ctx); build_insn() local 712 emit(A64_B_(jmp_cond, jmp_offset), ctx); build_insn() local 716 emit(A64_TST(is64, dst, src), ctx); build_insn() local 740 emit(A64_CMP_I(is64, dst, imm), ctx); build_insn() local 745 emit(A64_CMP(is64, dst, tmp), ctx); build_insn() local 755 emit(A64_TST(is64, dst, tmp), ctx); build_insn() local 770 emit(A64_BLR(tmp), ctx); build_insn() local 787 emit(A64_B(jmp_offset), ctx); build_insn() local 814 emit(A64_LDR32(dst, src, tmp), ctx); build_insn() local 817 emit(A64_LDRH(dst, src, tmp), ctx); build_insn() local 820 emit(A64_LDRB(dst, src, tmp), ctx); build_insn() local 823 emit(A64_LDR64(dst, src, tmp), ctx); build_insn() local 855 emit(A64_STR32(tmp, dst, tmp2), ctx); build_insn() local 858 emit(A64_STRH(tmp, dst, tmp2), ctx); build_insn() local 861 emit(A64_STRB(tmp, dst, tmp2), ctx); build_insn() local 864 emit(A64_STR64(tmp, dst, tmp2), ctx); build_insn() local 877 emit(A64_STR32(src, dst, tmp), ctx); build_insn() local 880 emit(A64_STRH(src, dst, tmp), ctx); build_insn() local 883 emit(A64_STRB(src, dst, tmp), ctx); build_insn() local 886 emit(A64_STR64(src, dst, tmp), ctx); build_insn() local 903 emit(A64_STADD(isdw, reg, src), ctx); build_insn() local 905 emit(A64_LDXR(isdw, tmp2, reg), ctx); build_insn() local 906 emit(A64_ADD(isdw, tmp2, tmp2, src), ctx); build_insn() local 907 emit(A64_STXR(isdw, tmp2, reg, tmp3), ctx); build_insn() local 922 build_body(struct jit_ctx *ctx, bool extra_pass) build_body() argument 963 validate_code(struct jit_ctx *ctx) validate_code() argument 988 struct jit_ctx ctx; global() member 1000 struct jit_ctx ctx; bpf_int_jit_compile() local [all...] |
/foundation/communication/dsoftbus/core/common/utils/ |
H A D | sqlite3_utils.c | 32 typedef int32_t (*BindParaCb)(DbContext *ctx, int32_t paraNum, uint8_t *data); 33 typedef int32_t (*QueryDataCb)(DbContext *ctx, uint8_t *data, int32_t idx); 73 static int32_t BindInsertTrustedDevInfoCb(DbContext *ctx, int32_t paraNum, uint8_t *data); 74 static int32_t BindSelectTrustedDevInfoCb(DbContext *ctx, int32_t paraNum, uint8_t *data); 75 static int32_t GetTrustedDevInfoByIdCb(DbContext *ctx, uint8_t *data, int32_t idx); 91 static int32_t GetTrustedDevInfoByIdCb(DbContext *ctx, uint8_t *data, int32_t idx) in GetTrustedDevInfoByIdCb() argument 96 if (GetQueryResultColText(ctx, i, info, UDID_BUF_LEN) != SOFTBUS_OK) { in GetTrustedDevInfoByIdCb() 103 static int32_t BindInsertTrustedDevInfoCb(DbContext *ctx, int32_t paraNum, uint8_t *data) in BindInsertTrustedDevInfoCb() argument 112 rc = BindParaText(ctx, idx, record->accountHexHash, strlen(record->accountHexHash)); in BindInsertTrustedDevInfoCb() 116 return BindParaText(ctx, in BindInsertTrustedDevInfoCb() 119 BindSelectTrustedDevInfoCb(DbContext *ctx, int32_t paraNum, uint8_t *data) BindSelectTrustedDevInfoCb() argument 130 ExecuteSql(DbContext *ctx, const char *sql, uint32_t len, BindParaCb cb, uint8_t *data) ExecuteSql() argument 172 QueryData(DbContext *ctx, const char *sql, uint32_t len, BindParaCb cb, uint8_t *data) QueryData() argument 187 QueryDataNext(DbContext *ctx) QueryDataNext() argument 201 CheckDbContextParam(const DbContext *ctx) CheckDbContextParam() argument 214 CheckBindOrQueryParam(const DbContext *ctx) CheckBindOrQueryParam() argument 227 OpenDatabase(DbContext **ctx) OpenDatabase() argument 255 CloseDatabase(DbContext *ctx) CloseDatabase() argument 266 CreateTable(DbContext *ctx, TableNameID id) CreateTable() argument 288 DeleteTable(DbContext *ctx, TableNameID id) DeleteTable() argument 314 CheckTableExist(DbContext *ctx, TableNameID id, bool *isExist) CheckTableExist() argument 338 InsertRecord(DbContext *ctx, TableNameID id, uint8_t *data) InsertRecord() argument 360 RemoveRecordByKey(DbContext *ctx, TableNameID id, uint8_t *data) RemoveRecordByKey() argument 382 RemoveAllRecord(DbContext *ctx, TableNameID id) RemoveAllRecord() argument 409 GetRecordNumByKey(DbContext *ctx, TableNameID id, uint8_t *data) GetRecordNumByKey() argument 435 QueryRecordByKey(DbContext *ctx, TableNameID id, uint8_t *data, uint8_t **replyInfo, int32_t infoNum) QueryRecordByKey() argument 469 OpenTransaction(DbContext *ctx) OpenTransaction() argument 494 CloseTransaction(DbContext *ctx, CloseTransactionType type) CloseTransaction() argument 523 EncryptedDb(DbContext *ctx, const uint8_t *password, uint32_t len) EncryptedDb() argument 539 UpdateDbPassword(DbContext *ctx, const uint8_t *password, uint32_t len) UpdateDbPassword() argument 555 BindParaInt(DbContext *ctx, int32_t idx, int32_t value) BindParaInt() argument 570 BindParaInt64(DbContext *ctx, int32_t idx, int64_t value) BindParaInt64() argument 585 BindParaText(DbContext *ctx, int32_t idx, const char *value, uint32_t valueLen) BindParaText() argument 600 BindParaDouble(DbContext *ctx, int32_t idx, double value) BindParaDouble() argument 615 GetQueryResultColCount(DbContext *ctx, int32_t *count) GetQueryResultColCount() argument 629 GetQueryResultColText(DbContext *ctx, int32_t iCol, char *text, uint32_t len) GetQueryResultColText() argument 653 GetQueryResultColInt(DbContext *ctx, int32_t iCol, int32_t *value) GetQueryResultColInt() argument 671 GetQueryResultColInt64(DbContext *ctx, int32_t iCol, int64_t *value) GetQueryResultColInt64() argument 689 GetQueryResultColDouble(DbContext *ctx, int32_t iCol, double *value) GetQueryResultColDouble() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
H A D | gsc-m2m.c | 27 static int gsc_m2m_ctx_stop_req(struct gsc_ctx *ctx) in gsc_m2m_ctx_stop_req() argument 30 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_m2m_ctx_stop_req() 34 if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) in gsc_m2m_ctx_stop_req() 37 gsc_ctx_state_lock_set(GSC_CTX_STOP_REQ, ctx); in gsc_m2m_ctx_stop_req() 39 !gsc_ctx_state_is_set(GSC_CTX_STOP_REQ, ctx), in gsc_m2m_ctx_stop_req() 45 static void __gsc_m2m_job_abort(struct gsc_ctx *ctx) in __gsc_m2m_job_abort() argument 49 ret = gsc_m2m_ctx_stop_req(ctx); in __gsc_m2m_job_abort() 50 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort() 51 gsc_ctx_state_lock_clear(GSC_CTX_STOP_REQ | GSC_CTX_ABORT, ctx); in __gsc_m2m_job_abort() 52 gsc_m2m_job_finish(ctx, VB2_BUF_STATE_ERRO in __gsc_m2m_job_abort() 58 struct gsc_ctx *ctx = q->drv_priv; gsc_m2m_start_streaming() local 63 __gsc_m2m_cleanup_queue(struct gsc_ctx *ctx) __gsc_m2m_cleanup_queue() argument 80 struct gsc_ctx *ctx = q->drv_priv; gsc_m2m_stop_streaming() local 89 gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) gsc_m2m_job_finish() argument 120 gsc_get_bufs(struct gsc_ctx *ctx) gsc_get_bufs() argument 146 struct gsc_ctx *ctx = priv; gsc_m2m_device_run() local 229 struct gsc_ctx *ctx = vb2_get_drv_priv(vq); gsc_m2m_queue_setup() local 248 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); gsc_m2m_buf_prepare() local 267 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); gsc_m2m_buf_queue() local 288 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_querycap() local 307 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_g_fmt_mplane() local 315 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_try_fmt_mplane() local 323 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_s_fmt_mplane() local 369 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_reqbufs() local 384 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_expbuf() local 391 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_querybuf() local 398 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_qbuf() local 405 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_dqbuf() local 412 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_streamon() local 428 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_streamoff() local 451 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_g_selection() local 488 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_s_selection() local 579 struct gsc_ctx *ctx = priv; queue_init() local 614 struct gsc_ctx *ctx = NULL; gsc_m2m_open() local 676 struct gsc_ctx *ctx = fh_to_ctx(file->private_data); gsc_m2m_release() local 700 struct gsc_ctx *ctx = fh_to_ctx(file->private_data); gsc_m2m_poll() local 715 struct gsc_ctx *ctx = fh_to_ctx(file->private_data); gsc_m2m_mmap() local [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_sched.c | 175 static void sched_node_init(struct ir3_sched_ctx *ctx, 191 struct ir3_sched_ctx *ctx) in sched_check_src_cond() 198 if (sched_check_src_cond(src, cond, ctx)) in sched_check_src_cond() 201 if (cond(src, ctx)) in sched_check_src_cond() 212 is_outstanding_sy(struct ir3_instruction *instr, struct ir3_sched_ctx *ctx) in is_outstanding_sy() argument 220 if (instr->block != ctx->block) in is_outstanding_sy() 224 return n->sy_index >= ctx->first_outstanding_sy_index; in is_outstanding_sy() 228 is_outstanding_ss(struct ir3_instruction *instr, struct ir3_sched_ctx *ctx) in is_outstanding_ss() argument 236 if (instr->block != ctx->block) in is_outstanding_ss() 240 return n->ss_index >= ctx in is_outstanding_ss() 188 sched_check_src_cond(struct ir3_instruction *instr, bool (*cond)(struct ir3_instruction *, struct ir3_sched_ctx *), struct ir3_sched_ctx *ctx) sched_check_src_cond() argument 262 schedule(struct ir3_sched_ctx *ctx, struct ir3_instruction *instr) schedule() argument 375 should_skip(struct ir3_sched_ctx *ctx, struct ir3_instruction *instr) should_skip() argument 394 could_sched(struct ir3_sched_ctx *ctx, struct ir3_instruction *instr, struct ir3_instruction *src) could_sched() argument 416 check_instr(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes, struct ir3_instruction *instr) check_instr() argument 615 should_defer(struct ir3_sched_ctx *ctx, struct ir3_instruction *instr) should_defer() argument 676 node_delay(struct ir3_sched_ctx *ctx, struct ir3_sched_node *n) node_delay() argument 689 choose_instr_dec(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes, bool defer) choose_instr_dec() argument 773 choose_instr_inc(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes, bool defer, bool avoid_output) choose_instr_inc() argument 828 choose_instr_prio(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes) choose_instr_prio() argument 858 dump_state(struct ir3_sched_ctx *ctx) dump_state() argument 877 choose_instr(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes) choose_instr() argument 903 split_instr(struct ir3_sched_ctx *ctx, struct ir3_instruction *orig_instr) split_instr() argument 916 split_addr(struct ir3_sched_ctx *ctx, struct ir3_instruction **addr, struct ir3_instruction **users, unsigned users_count) split_addr() argument 963 split_pred(struct ir3_sched_ctx *ctx) split_pred() argument 1021 sched_node_init(struct ir3_sched_ctx *ctx, struct ir3_instruction *instr) sched_node_init() argument 1157 sched_dag_init(struct ir3_sched_ctx *ctx) sched_dag_init() argument 1171 sched_dag_destroy(struct ir3_sched_ctx *ctx) sched_dag_destroy() argument 1178 sched_block(struct ir3_sched_ctx *ctx, struct ir3_block *block) sched_block() argument 1289 struct ir3_sched_ctx *ctx = rzalloc(NULL, struct ir3_sched_ctx); ir3_sched() local [all...] |
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIAttr1/ |
H A D | index.js | 21 var ctx = canvasRef.getContext("2d"); variable 22 ctx.fillStyle = "#000000"; 23 ctx.fillRect(20,20,100,150); 27 var ctx = canvasRef.getContext("2d"); variable 28 ctx.fillStyle = "#FFFFFF"; 29 ctx.fillRect(20,20,100,150); 33 var ctx = canvasRef.getContext("2d"); variable 34 ctx.fillStyle = "abcdef"; 35 ctx.fillRect(20,20,100,150); 39 var ctx variable 45 var ctx = canvasRef.getContext("2d"); global() variable 51 var ctx = canvasRef.getContext("2d"); global() variable 57 var ctx = canvasRef.getContext("2d"); global() variable 64 var ctx = canvasRef.getContext("2d"); global() variable 71 var ctx = canvasRef.getContext("2d"); global() variable [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | vdpau.c | 61 GET_CURRENT_CONTEXT(ctx); in _mesa_VDPAUInitNV() 64 _mesa_error(ctx, GL_INVALID_VALUE, "vdpDevice"); in _mesa_VDPAUInitNV() 69 _mesa_error(ctx, GL_INVALID_VALUE, "getProcAddress"); in _mesa_VDPAUInitNV() 73 if (ctx->vdpDevice || ctx->vdpGetProcAddress || ctx->vdpSurfaces) { in _mesa_VDPAUInitNV() 74 _mesa_error(ctx, GL_INVALID_OPERATION, "VDPAUInitNV"); in _mesa_VDPAUInitNV() 78 ctx->vdpDevice = vdpDevice; in _mesa_VDPAUInitNV() 79 ctx->vdpGetProcAddress = getProcAddress; in _mesa_VDPAUInitNV() 80 ctx in _mesa_VDPAUInitNV() 117 register_surface(struct gl_context *ctx, GLboolean isOutput, const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames) register_surface() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/comp/ |
H A D | c_zlib.c | 38 static int zlib_stateful_init(COMP_CTX *ctx); 39 static void zlib_stateful_finish(COMP_CTX *ctx); 40 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, 43 static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, 123 static int zlib_stateful_init(COMP_CTX *ctx) in zlib_stateful_init() argument 150 ctx->data = state; in zlib_stateful_init() 157 static void zlib_stateful_finish(COMP_CTX *ctx) in zlib_stateful_finish() argument 159 struct zlib_state *state = ctx->data; in zlib_stateful_finish() 165 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, in zlib_stateful_compress_block() argument 170 struct zlib_state *state = ctx in zlib_stateful_compress_block() 186 zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) zlib_stateful_expand_block() argument 315 BIO_ZLIB_CTX *ctx; bio_zlib_new() local 343 BIO_ZLIB_CTX *ctx; bio_zlib_free() local 367 BIO_ZLIB_CTX *ctx; bio_zlib_read() local 429 BIO_ZLIB_CTX *ctx; bio_zlib_write() local 500 BIO_ZLIB_CTX *ctx; bio_zlib_flush() local 549 BIO_ZLIB_CTX *ctx; bio_zlib_ctrl() local [all...] |
/third_party/openssl/crypto/comp/ |
H A D | c_zlib.c | 38 static int zlib_stateful_init(COMP_CTX *ctx); 39 static void zlib_stateful_finish(COMP_CTX *ctx); 40 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, 43 static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, 123 static int zlib_stateful_init(COMP_CTX *ctx) in zlib_stateful_init() argument 150 ctx->data = state; in zlib_stateful_init() 157 static void zlib_stateful_finish(COMP_CTX *ctx) in zlib_stateful_finish() argument 159 struct zlib_state *state = ctx->data; in zlib_stateful_finish() 165 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, in zlib_stateful_compress_block() argument 170 struct zlib_state *state = ctx in zlib_stateful_compress_block() 186 zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) zlib_stateful_expand_block() argument 315 BIO_ZLIB_CTX *ctx; bio_zlib_new() local 343 BIO_ZLIB_CTX *ctx; bio_zlib_free() local 367 BIO_ZLIB_CTX *ctx; bio_zlib_read() local 429 BIO_ZLIB_CTX *ctx; bio_zlib_write() local 500 BIO_ZLIB_CTX *ctx; bio_zlib_flush() local 549 BIO_ZLIB_CTX *ctx; bio_zlib_ctrl() local [all...] |
/third_party/mbedtls/library/ |
H A D | lms.c | 225 void mbedtls_lms_public_init(mbedtls_lms_public_t *ctx) in mbedtls_lms_public_init() argument 227 memset(ctx, 0, sizeof(*ctx)); in mbedtls_lms_public_init() 230 void mbedtls_lms_public_free(mbedtls_lms_public_t *ctx) in mbedtls_lms_public_free() argument 232 mbedtls_platform_zeroize(ctx, sizeof(*ctx)); in mbedtls_lms_public_free() 235 int mbedtls_lms_import_public_key(mbedtls_lms_public_t *ctx, in mbedtls_lms_import_public_key() argument 245 ctx->params.type = type; in mbedtls_lms_import_public_key() 247 if (key_size != MBEDTLS_LMS_PUBLIC_KEY_LEN(ctx->params.type)) { in mbedtls_lms_import_public_key() 256 ctx in mbedtls_lms_import_public_key() 269 mbedtls_lms_export_public_key(const mbedtls_lms_public_t *ctx, unsigned char *key, size_t key_size, size_t *key_len) mbedtls_lms_export_public_key() argument 297 mbedtls_lms_verify(const mbedtls_lms_public_t *ctx, const unsigned char *msg, size_t msg_size, const unsigned char *sig, size_t sig_size) mbedtls_lms_verify() argument 427 calculate_merkle_tree(const mbedtls_lms_private_t *ctx, unsigned char *tree) calculate_merkle_tree() argument 483 get_merkle_path(mbedtls_lms_private_t *ctx, unsigned int leaf_node_id, unsigned char *path) get_merkle_path() argument 524 mbedtls_lms_private_init(mbedtls_lms_private_t *ctx) mbedtls_lms_private_init() argument 529 mbedtls_lms_private_free(mbedtls_lms_private_t *ctx) mbedtls_lms_private_free() argument 554 mbedtls_lms_generate_private_key(mbedtls_lms_private_t *ctx, mbedtls_lms_algorithm_type_t type, mbedtls_lmots_algorithm_type_t otstype, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, const unsigned char *seed, size_t seed_size) mbedtls_lms_generate_private_key() argument 637 mbedtls_lms_calculate_public_key(mbedtls_lms_public_t *ctx, const mbedtls_lms_private_t *priv_ctx) mbedtls_lms_calculate_public_key() argument 687 mbedtls_lms_sign(mbedtls_lms_private_t *ctx, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, const unsigned char *msg, unsigned int msg_size, unsigned char *sig, size_t sig_size, size_t *sig_len) mbedtls_lms_sign() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
H A D | cal-video.c | 149 static const struct cal_fmt *find_format_by_pix(struct cal_ctx *ctx, in find_format_by_pix() argument 155 for (k = 0; k < ctx->num_active_fmt; k++) { in find_format_by_pix() 156 fmt = ctx->active_fmt[k]; in find_format_by_pix() 164 static const struct cal_fmt *find_format_by_code(struct cal_ctx *ctx, in find_format_by_code() argument 170 for (k = 0; k < ctx->num_active_fmt; k++) { in find_format_by_code() 171 fmt = ctx->active_fmt[k]; in find_format_by_code() 182 struct cal_ctx *ctx = video_drvdata(file); in cal_querycap() local 188 "platform:%s", dev_name(ctx->cal->dev)); in cal_querycap() 195 struct cal_ctx *ctx = video_drvdata(file); in cal_enum_fmt_vid_cap() local 198 if (f->index >= ctx in cal_enum_fmt_vid_cap() 208 __subdev_get_format(struct cal_ctx *ctx, struct v4l2_mbus_framefmt *fmt) __subdev_get_format() argument 230 __subdev_set_format(struct cal_ctx *ctx, struct v4l2_mbus_framefmt *fmt) __subdev_set_format() argument 251 cal_calc_format_size(struct cal_ctx *ctx, const struct cal_fmt *fmt, struct v4l2_format *f) cal_calc_format_size() argument 288 struct cal_ctx *ctx = video_drvdata(file); cal_g_fmt_vid_cap() local 298 struct cal_ctx *ctx = video_drvdata(file); cal_try_fmt_vid_cap() local 357 struct cal_ctx *ctx = video_drvdata(file); cal_s_fmt_vid_cap() local 402 struct cal_ctx *ctx = video_drvdata(file); cal_enum_framesizes() local 462 struct cal_ctx *ctx = video_drvdata(file); cal_enum_frameintervals() local 531 struct cal_ctx *ctx = vb2_get_drv_priv(vq); cal_queue_setup() local 553 struct cal_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); cal_buffer_prepare() local 575 struct cal_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); cal_buffer_queue() local 589 struct cal_ctx *ctx = vb2_get_drv_priv(vq); cal_start_streaming() local 648 struct cal_ctx *ctx = vb2_get_drv_priv(vq); cal_stop_streaming() local 720 cal_ctx_v4l2_init_formats(struct cal_ctx *ctx) cal_ctx_v4l2_init_formats() argument 789 cal_ctx_v4l2_register(struct cal_ctx *ctx) cal_ctx_v4l2_register() argument 818 cal_ctx_v4l2_unregister(struct cal_ctx *ctx) cal_ctx_v4l2_unregister() argument 826 cal_ctx_v4l2_init(struct cal_ctx *ctx) cal_ctx_v4l2_init() argument 882 cal_ctx_v4l2_cleanup(struct cal_ctx *ctx) cal_ctx_v4l2_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 27 static int gsc_m2m_ctx_stop_req(struct gsc_ctx *ctx) in gsc_m2m_ctx_stop_req() argument 30 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_m2m_ctx_stop_req() 34 if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) in gsc_m2m_ctx_stop_req() 37 gsc_ctx_state_lock_set(GSC_CTX_STOP_REQ, ctx); in gsc_m2m_ctx_stop_req() 39 !gsc_ctx_state_is_set(GSC_CTX_STOP_REQ, ctx), in gsc_m2m_ctx_stop_req() 45 static void __gsc_m2m_job_abort(struct gsc_ctx *ctx) in __gsc_m2m_job_abort() argument 49 ret = gsc_m2m_ctx_stop_req(ctx); in __gsc_m2m_job_abort() 50 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort() 51 gsc_ctx_state_lock_clear(GSC_CTX_STOP_REQ | GSC_CTX_ABORT, ctx); in __gsc_m2m_job_abort() 52 gsc_m2m_job_finish(ctx, VB2_BUF_STATE_ERRO in __gsc_m2m_job_abort() 58 struct gsc_ctx *ctx = q->drv_priv; gsc_m2m_start_streaming() local 63 __gsc_m2m_cleanup_queue(struct gsc_ctx *ctx) __gsc_m2m_cleanup_queue() argument 80 struct gsc_ctx *ctx = q->drv_priv; gsc_m2m_stop_streaming() local 89 gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) gsc_m2m_job_finish() argument 120 gsc_get_bufs(struct gsc_ctx *ctx) gsc_get_bufs() argument 146 struct gsc_ctx *ctx = priv; gsc_m2m_device_run() local 229 struct gsc_ctx *ctx = vb2_get_drv_priv(vq); gsc_m2m_queue_setup() local 248 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); gsc_m2m_buf_prepare() local 267 struct gsc_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); gsc_m2m_buf_queue() local 302 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_g_fmt_mplane() local 310 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_try_fmt_mplane() local 318 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_s_fmt_mplane() local 364 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_reqbufs() local 379 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_expbuf() local 386 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_querybuf() local 393 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_qbuf() local 400 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_dqbuf() local 407 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_streamon() local 423 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_streamoff() local 446 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_g_selection() local 483 struct gsc_ctx *ctx = fh_to_ctx(fh); gsc_m2m_s_selection() local 574 struct gsc_ctx *ctx = priv; queue_init() local 609 struct gsc_ctx *ctx = NULL; gsc_m2m_open() local 671 struct gsc_ctx *ctx = fh_to_ctx(file->private_data); gsc_m2m_release() local 695 struct gsc_ctx *ctx = fh_to_ctx(file->private_data); gsc_m2m_poll() local 710 struct gsc_ctx *ctx = fh_to_ctx(file->private_data); gsc_m2m_mmap() local [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | lo-test-util.c | 72 pa_lo_test_context *ctx = (pa_lo_test_context *) userdata; in calibrate_write_cb() local 73 int i, nsamp = nbytes / ctx->fs; in calibrate_write_cb() 79 tmp[i][0] = tmp[i][1] = cal_state == CALIBRATION_ONE ? sinf(count++ * TONE_HZ * 2 * M_PI / ctx->sample_spec.rate) : 0.0f; in calibrate_write_cb() 84 pa_stream_set_write_callback(s, ctx->write_cb, ctx); in calibrate_write_cb() 88 pa_lo_test_context *ctx = (pa_lo_test_context *) userdata; in calibrate_read_cb() local 100 nsamp = l / ctx->fs; in calibrate_read_cb() 121 pa_cvolume_set(&vol, ctx->sample_spec.channels, v * PA_VOLUME_NORM); in calibrate_read_cb() 122 o = pa_context_set_source_output_volume(ctx->context, pa_stream_get_index(s), &vol, NULL, NULL); in calibrate_read_cb() 146 pa_stream_set_read_callback(s, ctx in calibrate_read_cb() 160 pa_lo_test_context *ctx = (pa_lo_test_context *) userdata; stream_state_callback() local 199 pa_lo_test_context *ctx = (pa_lo_test_context *) userdata; context_state_callback() local 260 pa_lo_test_init(pa_lo_test_context *ctx) pa_lo_test_init() argument 287 pa_lo_test_run(pa_lo_test_context *ctx) pa_lo_test_run() argument 298 pa_lo_test_deinit(pa_lo_test_context *ctx) pa_lo_test_deinit() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_modeset_lock.c | 37 * of extra utility/tracking out of our acquire-ctx. This is provided 44 * drm_modeset_acquire_init(ctx, DRM_MODESET_ACQUIRE_INTERRUPTIBLE) 47 * ret = drm_modeset_lock(lock, ctx) 49 * ret = drm_modeset_backoff(ctx); 58 * drm_modeset_drop_locks(ctx); 59 * drm_modeset_acquire_fini(ctx); 67 * by passing a NULL instead of ctx in the drm_modeset_lock() call or 146 struct drm_modeset_acquire_ctx *ctx; in drm_modeset_lock_all() local 149 ctx = kzalloc(sizeof(*ctx), GFP_KERNE in drm_modeset_lock_all() 200 struct drm_modeset_acquire_ctx *ctx = config->acquire_ctx; drm_modeset_unlock_all() local 246 drm_modeset_acquire_init(struct drm_modeset_acquire_ctx *ctx, uint32_t flags) drm_modeset_acquire_init() argument 262 drm_modeset_acquire_fini(struct drm_modeset_acquire_ctx *ctx) drm_modeset_acquire_fini() argument 274 drm_modeset_drop_locks(struct drm_modeset_acquire_ctx *ctx) drm_modeset_drop_locks() argument 290 modeset_lock(struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx, bool interruptible, bool slow) modeset_lock() argument 346 drm_modeset_backoff(struct drm_modeset_acquire_ctx *ctx) drm_modeset_backoff() argument 392 drm_modeset_lock(struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx) drm_modeset_lock() argument 449 drm_modeset_lock_all_ctx(struct drm_device *dev, struct drm_modeset_acquire_ctx *ctx) drm_modeset_lock_all_ctx() argument [all...] |