Home
last modified time | relevance | path

Searched refs:ctx (Results 1701 - 1725 of 7035) sorted by relevance

1...<<61626364656667686970>>...282

/third_party/node/deps/openssl/openssl/providers/implementations/signature/
H A Ddsa_sig.c120 static int dsa_setup_md(PROV_DSA_CTX *ctx, in dsa_setup_md() argument
124 mdprops = ctx->propq; in dsa_setup_md()
127 int sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in dsa_setup_md()
129 EVP_MD *md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md()
130 int md_nid = ossl_digest_get_approved_nid_with_sha1(ctx->libctx, md, in dsa_setup_md()
141 if (mdname_len >= sizeof(ctx->mdname)) in dsa_setup_md()
148 if (!ctx->flag_allow_md) { in dsa_setup_md()
149 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
151 "digest %s != %s", mdname, ctx in dsa_setup_md()
388 PROV_DSA_CTX *ctx = (PROV_DSA_CTX *)vpdsactx; dsa_freectx() local
470 dsa_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) dsa_gettable_ctx_params() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/dh/
H A Ddh_pmeth.c54 static int pkey_dh_init(EVP_PKEY_CTX *ctx) in pkey_dh_init() argument
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
69 ctx->keygen_info_count = 2; in pkey_dh_init()
74 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) in pkey_dh_cleanup() argument
76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup()
117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dh_ctrl() argument
119 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl()
224 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dh_ctrl_str() argument
230 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, le in pkey_dh_ctrl_str()
322 pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_paramgen() argument
376 pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_keygen() argument
398 pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) pkey_dh_derive() argument
[all...]
/third_party/openssl/crypto/dh/
H A Ddh_pmeth.c54 static int pkey_dh_init(EVP_PKEY_CTX *ctx) in pkey_dh_init() argument
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
69 ctx->keygen_info_count = 2; in pkey_dh_init()
74 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) in pkey_dh_cleanup() argument
76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup()
117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dh_ctrl() argument
119 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl()
224 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dh_ctrl_str() argument
230 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, le in pkey_dh_ctrl_str()
322 pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_paramgen() argument
376 pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_keygen() argument
398 pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) pkey_dh_derive() argument
[all...]
/third_party/openssl/providers/implementations/signature/
H A Ddsa_sig.c120 static int dsa_setup_md(PROV_DSA_CTX *ctx, in dsa_setup_md() argument
124 mdprops = ctx->propq; in dsa_setup_md()
127 int sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in dsa_setup_md()
129 EVP_MD *md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md()
130 int md_nid = ossl_digest_get_approved_nid_with_sha1(ctx->libctx, md, in dsa_setup_md()
141 if (mdname_len >= sizeof(ctx->mdname)) in dsa_setup_md()
148 if (!ctx->flag_allow_md) { in dsa_setup_md()
149 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
151 "digest %s != %s", mdname, ctx in dsa_setup_md()
388 PROV_DSA_CTX *ctx = (PROV_DSA_CTX *)vpdsactx; dsa_freectx() local
470 dsa_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) dsa_gettable_ctx_params() argument
[all...]
/third_party/openssl/test/
H A Dexptest.c51 BN_CTX *ctx = BN_CTX_new(); in test_mod_exp_zero() local
68 if (!TEST_true(BN_mod_exp(r, a, p, m, ctx))) in test_mod_exp_zero()
74 if (!TEST_true(BN_mod_exp_recp(r, a, p, m, ctx))) in test_mod_exp_zero()
80 if (!TEST_true(BN_mod_exp_simple(r, a, p, m, ctx))) in test_mod_exp_zero()
86 if (!TEST_true(BN_mod_exp_mont(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
92 if (!TEST_true(BN_mod_exp_mont_consttime(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
103 if (!TEST_false(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mont))) in test_mod_exp_zero()
105 if (!TEST_false(BN_mod_exp_mont(r, p, a, m, ctx, mont))) in test_mod_exp_zero()
109 if (!TEST_true(BN_MONT_CTX_set(mont, m, ctx))) in test_mod_exp_zero()
113 if (!TEST_true(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mon in test_mod_exp_zero()
153 BN_CTX *ctx; test_mod_exp() local
241 BN_CTX *ctx; test_mod_exp_x2() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dav1_frame_split_bsf.c51 static int av1_frame_split_filter(AVBSFContext *ctx, AVPacket *out) in av1_frame_split_filter() argument
53 AV1FSplitContext *s = ctx->priv_data; in av1_frame_split_filter()
61 ret = ff_bsf_get_packet_ref(ctx, s->buffer_pkt); in av1_frame_split_filter()
67 av_log(ctx, AV_LOG_WARNING, "Failed to parse temporal unit.\n"); in av1_frame_split_filter()
78 av_log(ctx, AV_LOG_VERBOSE, "Large scale tiles are unsupported.\n"); in av1_frame_split_filter()
102 av_log(ctx, AV_LOG_WARNING, "Frame OBU found when Tile data for a " in av1_frame_split_filter()
121 av_log(ctx, AV_LOG_WARNING, "Frame Header OBU found when Tile data for a " in av1_frame_split_filter()
143 av_log(ctx, AV_LOG_WARNING, "Unexpected Tile Group OBU found before a " in av1_frame_split_filter()
203 static int av1_frame_split_init(AVBSFContext *ctx) in av1_frame_split_init() argument
205 AV1FSplitContext *s = ctx in av1_frame_split_init()
232 av1_frame_split_flush(AVBSFContext *ctx) av1_frame_split_flush() argument
240 av1_frame_split_close(AVBSFContext *ctx) av1_frame_split_close() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dteximage.h123 _mesa_delete_texture_image( struct gl_context *ctx,
128 _mesa_init_teximage_fields(struct gl_context *ctx,
134 _mesa_init_teximage_fields_ms(struct gl_context *ctx,
144 _mesa_choose_texture_format(struct gl_context *ctx,
150 _mesa_update_fbo_texture(struct gl_context *ctx,
155 _mesa_clear_texture_image(struct gl_context *ctx,
165 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj,
169 _mesa_get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat);
182 _mesa_max_texture_levels(const struct gl_context *ctx, GLenum target);
186 _mesa_test_proxy_teximage(struct gl_context *ctx, GLenu
[all...]
H A Dsamplerobj.h39 _mesa_get_samplerobj(struct gl_context *ctx, GLuint unit) in _mesa_get_samplerobj() argument
41 if (ctx->Texture.Unit[unit].Sampler) in _mesa_get_samplerobj()
42 return ctx->Texture.Unit[unit].Sampler; in _mesa_get_samplerobj()
43 else if (ctx->Texture.Unit[unit]._Current) in _mesa_get_samplerobj()
44 return &ctx->Texture.Unit[unit]._Current->Sampler; in _mesa_get_samplerobj()
59 _mesa_reference_sampler_object_(struct gl_context *ctx,
64 _mesa_reference_sampler_object(struct gl_context *ctx, in _mesa_reference_sampler_object() argument
69 _mesa_reference_sampler_object_(ctx, ptr, samp); in _mesa_reference_sampler_object()
73 _mesa_lookup_samplerobj(struct gl_context *ctx, GLuint name);
76 _mesa_bind_sampler(struct gl_context *ctx, GLuin
170 _mesa_lower_gl_clamp(struct gl_context *ctx, struct gl_sampler_object *samp) _mesa_lower_gl_clamp() argument
193 update_sampler_gl_clamp(struct gl_context *ctx, struct gl_sampler_object *samp, bool cur_state, bool new_state, gl_sampler_wrap wrap) update_sampler_gl_clamp() argument
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A Ddsaparam.c28 static int gendsa_cb(EVP_PKEY_CTX *ctx);
71 EVP_PKEY_CTX *ctx = NULL; in dsaparam_main() local
150 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DSA", app_get0_propq()); in dsaparam_main()
151 if (ctx == NULL) { in dsaparam_main()
163 EVP_PKEY_CTX_set_cb(ctx, gendsa_cb); in dsaparam_main()
164 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dsaparam_main()
170 if (EVP_PKEY_paramgen_init(ctx) <= 0) { in dsaparam_main()
175 if (EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, num) <= 0) { in dsaparam_main()
180 params = app_paramgen(ctx, "DSA"); in dsaparam_main()
207 EVP_PKEY_CTX_free(ctx); in dsaparam_main()
241 gendsa_cb(EVP_PKEY_CTX *ctx) gendsa_cb() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dprovider_child.c63 OSSL_LIB_CTX *ctx; in ossl_child_provider_init() local
85 ctx = (OSSL_LIB_CTX *)c_get_libctx(handle); in ossl_child_provider_init()
87 gbl = ossl_lib_ctx_get_data(ctx, OSSL_LIB_CTX_CHILD_PROVIDER_INDEX, in ossl_child_provider_init()
100 OSSL_LIB_CTX *ctx = cbdata; in provider_create_child_cb() local
106 gbl = ossl_lib_ctx_get_data(ctx, OSSL_LIB_CTX_CHILD_PROVIDER_INDEX, in provider_create_child_cb()
122 if ((cprov = ossl_provider_find(ctx, provname, 1)) != NULL) { in provider_create_child_cb()
141 if ((cprov = ossl_provider_new(ctx, provname, ossl_child_provider_init, in provider_create_child_cb()
166 OSSL_LIB_CTX *ctx = cbdata; in provider_remove_child_cb() local
171 gbl = ossl_lib_ctx_get_data(ctx, OSSL_LIB_CTX_CHILD_PROVIDER_INDEX, in provider_remove_child_cb()
177 cprov = ossl_provider_find(ctx, provnam in provider_remove_child_cb()
194 OSSL_LIB_CTX *ctx = cbdata; provider_global_props_cb() local
199 ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, const OSSL_CORE_HANDLE *handle, const OSSL_DISPATCH *in) ossl_provider_init_as_child() argument
273 ossl_provider_deinit_child(OSSL_LIB_CTX *ctx) ossl_provider_deinit_child() argument
[all...]
/third_party/openssl/crypto/
H A Dprovider_child.c63 OSSL_LIB_CTX *ctx; in ossl_child_provider_init() local
85 ctx = (OSSL_LIB_CTX *)c_get_libctx(handle); in ossl_child_provider_init()
87 gbl = ossl_lib_ctx_get_data(ctx, OSSL_LIB_CTX_CHILD_PROVIDER_INDEX, in ossl_child_provider_init()
100 OSSL_LIB_CTX *ctx = cbdata; in provider_create_child_cb() local
106 gbl = ossl_lib_ctx_get_data(ctx, OSSL_LIB_CTX_CHILD_PROVIDER_INDEX, in provider_create_child_cb()
122 if ((cprov = ossl_provider_find(ctx, provname, 1)) != NULL) { in provider_create_child_cb()
141 if ((cprov = ossl_provider_new(ctx, provname, ossl_child_provider_init, in provider_create_child_cb()
166 OSSL_LIB_CTX *ctx = cbdata; in provider_remove_child_cb() local
171 gbl = ossl_lib_ctx_get_data(ctx, OSSL_LIB_CTX_CHILD_PROVIDER_INDEX, in provider_remove_child_cb()
177 cprov = ossl_provider_find(ctx, provnam in provider_remove_child_cb()
194 OSSL_LIB_CTX *ctx = cbdata; provider_global_props_cb() local
199 ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, const OSSL_CORE_HANDLE *handle, const OSSL_DISPATCH *in) ossl_provider_init_as_child() argument
273 ossl_provider_deinit_child(OSSL_LIB_CTX *ctx) ossl_provider_deinit_child() argument
[all...]
/third_party/openssl/apps/
H A Ddsaparam.c28 static int gendsa_cb(EVP_PKEY_CTX *ctx);
71 EVP_PKEY_CTX *ctx = NULL; in dsaparam_main() local
150 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DSA", app_get0_propq()); in dsaparam_main()
151 if (ctx == NULL) { in dsaparam_main()
163 EVP_PKEY_CTX_set_cb(ctx, gendsa_cb); in dsaparam_main()
164 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dsaparam_main()
170 if (EVP_PKEY_paramgen_init(ctx) <= 0) { in dsaparam_main()
175 if (EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, num) <= 0) { in dsaparam_main()
180 params = app_paramgen(ctx, "DSA"); in dsaparam_main()
207 EVP_PKEY_CTX_free(ctx); in dsaparam_main()
241 gendsa_cb(EVP_PKEY_CTX *ctx) gendsa_cb() argument
[all...]
/third_party/openssl/demos/cipher/
H A Daesccm.c74 EVP_CIPHER_CTX *ctx; in aes_ccm_encrypt() local
90 if ((ctx = EVP_CIPHER_CTX_new()) == NULL) in aes_ccm_encrypt()
108 if (!EVP_EncryptInit_ex2(ctx, cipher, NULL, NULL, params)) in aes_ccm_encrypt()
112 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce)) in aes_ccm_encrypt()
116 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, NULL, sizeof(ccm_pt))) in aes_ccm_encrypt()
120 if (!EVP_EncryptUpdate(ctx, NULL, &outlen, ccm_adata, sizeof(ccm_adata))) in aes_ccm_encrypt()
124 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, ccm_pt, sizeof(ccm_pt))) in aes_ccm_encrypt()
132 if (!EVP_EncryptFinal_ex(ctx, NULL, &tmplen)) in aes_ccm_encrypt()
140 if (!EVP_CIPHER_CTX_get_params(ctx, params)) in aes_ccm_encrypt()
153 EVP_CIPHER_CTX_free(ctx); in aes_ccm_encrypt()
161 EVP_CIPHER_CTX *ctx; aes_ccm_decrypt() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_glue.c140 static void hostapd_wpa_auth_logger(void *ctx, const u8 *addr, in hostapd_wpa_auth_logger() argument
144 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger()
165 static void hostapd_wpa_auth_disconnect(void *ctx, const u8 *addr, in hostapd_wpa_auth_disconnect() argument
168 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect()
176 static int hostapd_wpa_auth_mic_failure_report(void *ctx, const u8 *addr) in hostapd_wpa_auth_mic_failure_report() argument
178 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report()
183 static void hostapd_wpa_auth_psk_failure_report(void *ctx, const u8 *addr) in hostapd_wpa_auth_psk_failure_report() argument
185 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_psk_failure_report()
191 static void hostapd_wpa_auth_set_eapol(void *ctx, const u8 *addr, in hostapd_wpa_auth_set_eapol() argument
194 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol()
233 hostapd_wpa_auth_get_eapol(void *ctx, const u8 *addr, wpa_eapol_variable var) hostapd_wpa_auth_get_eapol() argument
251 hostapd_wpa_auth_get_psk(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) hostapd_wpa_auth_get_psk() argument
328 hostapd_wpa_auth_get_msk(void *ctx, const u8 *addr, u8 *msk, size_t *len) hostapd_wpa_auth_get_msk() argument
358 hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) hostapd_wpa_auth_set_key() argument
407 hostapd_wpa_auth_get_seqnum(void *ctx, const u8 *addr, int idx, u8 *seq) hostapd_wpa_auth_get_seqnum() argument
415 hostapd_wpa_auth_send_eapol(void *ctx, const u8 *addr, const u8 *data, size_t data_len, int encrypt) hostapd_wpa_auth_send_eapol() argument
447 hostapd_wpa_auth_for_each_sta( void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) hostapd_wpa_auth_for_each_sta() argument
467 wpa_auth_iface_iter(struct hostapd_iface *iface, void *ctx) wpa_auth_iface_iter() argument
480 hostapd_wpa_auth_for_each_auth( void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), void *cb_ctx) hostapd_wpa_auth_for_each_auth() argument
531 hostapd_wpa_auth_ft_iter(struct hostapd_iface *iface, void *ctx) hostapd_wpa_auth_ft_iter() argument
584 hostapd_wpa_auth_send_ether(void *ctx, const u8 *dst, u16 proto, const u8 *data, size_t data_len) hostapd_wpa_auth_send_ether() argument
708 hostapd_wpa_auth_oui_iter(struct hostapd_iface *iface, void *ctx) hostapd_wpa_auth_oui_iter() argument
757 hostapd_wpa_auth_send_oui(void *ctx, const u8 *dst, u8 oui_suffix, const u8 *data, size_t data_len) hostapd_wpa_auth_send_oui() argument
794 hostapd_channel_info(void *ctx, struct wpa_channel_info *ci) hostapd_channel_info() argument
802 hostapd_wpa_auth_update_vlan(void *ctx, const u8 *addr, int vlan_id) hostapd_wpa_auth_update_vlan() argument
842 hostapd_get_sta_tx_params(void *ctx, const u8 *addr, int ap_max_chanwidth, int ap_seg1_idx, int *bandwidth, int *seg1_idx) hostapd_get_sta_tx_params() argument
864 hostapd_wpa_auth_send_ft_action(void *ctx, const u8 *dst, const u8 *data, size_t data_len) hostapd_wpa_auth_send_ft_action() argument
895 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) hostapd_wpa_auth_add_sta() argument
928 hostapd_wpa_auth_set_vlan(void *ctx, const u8 *sta_addr, struct vlan_description *vlan) hostapd_wpa_auth_set_vlan() argument
961 hostapd_wpa_auth_get_vlan(void *ctx, const u8 *sta_addr, struct vlan_description *vlan) hostapd_wpa_auth_get_vlan() argument
981 hostapd_wpa_auth_set_identity(void *ctx, const u8 *sta_addr, const u8 *identity, size_t identity_len) hostapd_wpa_auth_set_identity() argument
1022 hostapd_wpa_auth_get_identity(void *ctx, const u8 *sta_addr, const u8 **buf) hostapd_wpa_auth_get_identity() argument
1051 hostapd_wpa_auth_set_radius_cui(void *ctx, const u8 *sta_addr, const u8 *radius_cui, size_t radius_cui_len) hostapd_wpa_auth_set_radius_cui() argument
1090 hostapd_wpa_auth_get_radius_cui(void *ctx, const u8 *sta_addr, const u8 **buf) hostapd_wpa_auth_get_radius_cui() argument
1122 hostapd_wpa_auth_set_session_timeout(void *ctx, const u8 *sta_addr, int session_timeout) hostapd_wpa_auth_set_session_timeout() argument
1144 hostapd_wpa_auth_get_session_timeout(void *ctx, const u8 *sta_addr) hostapd_wpa_auth_get_session_timeout() argument
1166 hostapd_rrb_receive(void *ctx, const u8 *src_addr, const u8 *buf, size_t len) hostapd_rrb_receive() argument
1184 hostapd_rrb_oui_receive(void *ctx, const u8 *src_addr, const u8 *dst_addr, u8 oui_suffix, const u8 *buf, size_t len) hostapd_rrb_oui_receive() argument
1200 hostapd_wpa_auth_add_tspec(void *ctx, const u8 *sta_addr, u8 *tspec_ie, size_t tspec_ielen) hostapd_wpa_auth_add_tspec() argument
[all...]
/base/hiviewdfx/hiview/core/param_update/src/
H A Dlog_sign_tools.cpp93 SHA256_CTX ctx; in CalcFileSha() local
94 SHA256_Init(&ctx); in CalcFileSha()
96 SHA256_Update(&ctx, (unsigned char *)fbuffer, readSize); in CalcFileSha()
102 SHA256_Final(hash, &ctx); in CalcFileSha()
131 EVP_MD_CTX *ctx = nullptr; in VerifyRsa() local
143 ctx = EVP_MD_CTX_new(); in VerifyRsa()
144 EVP_MD_CTX_init(ctx); in VerifyRsa()
145 if (ctx == nullptr) { in VerifyRsa()
146 HIVIEW_LOGE("ctx is nullptr."); in VerifyRsa()
151 if (EVP_VerifyInit_ex(ctx, EVP_sha25 in VerifyRsa()
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_aformat.c75 av_log(ctx, AV_LOG_ERROR, "Error parsing " desc ": %s.\n", cur);\
92 static int parse_channel_layouts(AVFilterContext *ctx) in parse_channel_layouts() argument
94 AFormatContext *s = ctx->priv; in parse_channel_layouts()
112 av_log(ctx, AV_LOG_ERROR, "Error parsing channel layout: %s.\n", cur); in parse_channel_layouts()
117 av_log(ctx, AV_LOG_WARNING, "Channel layout '%s' uses a deprecated syntax.\n", in parse_channel_layouts()
133 static av_cold int init(AVFilterContext *ctx) in init() argument
135 AFormatContext *s = ctx->priv; in init()
142 ret = parse_channel_layouts(ctx); in init()
149 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
151 AFormatContext *s = ctx in uninit()
158 query_formats(AVFilterContext *ctx) query_formats() argument
[all...]
/third_party/libwebsockets/lib/roles/http/compression/
H A Dstream.c131 lws_comp_ctx_t *ctx = &wsi->http.comp_ctx; in lws_http_compression_transform() local
133 ctx->may_have_more = 0; in lws_http_compression_transform()
153 ctx->final_on_input_side = 1; in lws_http_compression_transform()
157 if (ctx->buflist_comp) { in lws_http_compression_transform()
165 &ctx->buflist_comp, buf, len) < 0) in lws_http_compression_transform()
171 len = lws_buflist_next_segment_len(&ctx->buflist_comp, &buf); in lws_http_compression_transform()
184 n = wsi->http.lcs->process(ctx, buf, &ilen_iused, *outbuf, olen_oused); in lws_http_compression_transform()
192 if (!ctx->may_have_more && ctx->final_on_input_side) in lws_http_compression_transform()
197 ctx in lws_http_compression_transform()
[all...]
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo.h173 fi_type *current[VBO_ATTRIB_MAX]; /* points into ctx->ListState */
185 _vbo_CreateContext(struct gl_context *ctx);
188 _vbo_DestroyContext(struct gl_context *ctx);
191 vbo_install_exec_vtxfmt(struct gl_context *ctx);
194 vbo_install_hw_select_begin_end(struct gl_context *ctx);
197 vbo_install_exec_vtxfmt_noop(struct gl_context *ctx);
200 vbo_install_save_vtxfmt_noop(struct gl_context *ctx);
203 vbo_exec_update_eval_maps(struct gl_context *ctx);
206 vbo_exec_FlushVertices(struct gl_context *ctx, GLuint flags);
209 vbo_save_SaveFlushVertices(struct gl_context *ctx);
[all...]
H A Dvbo_save_loopback.c39 typedef void (*attr_func)(struct gl_context *ctx, GLint index, const GLfloat *);
47 VertexAttrib1fvNV(struct gl_context *ctx, GLint index, const GLfloat *v) in VertexAttrib1fvNV() argument
49 CALL_VertexAttrib1fvNV(ctx->Exec, (index, v)); in VertexAttrib1fvNV()
54 VertexAttrib2fvNV(struct gl_context *ctx, GLint index, const GLfloat *v) in VertexAttrib2fvNV() argument
56 CALL_VertexAttrib2fvNV(ctx->Exec, (index, v)); in VertexAttrib2fvNV()
61 VertexAttrib3fvNV(struct gl_context *ctx, GLint index, const GLfloat *v) in VertexAttrib3fvNV() argument
63 CALL_VertexAttrib3fvNV(ctx->Exec, (index, v)); in VertexAttrib3fvNV()
68 VertexAttrib4fvNV(struct gl_context *ctx, GLint index, const GLfloat *v) in VertexAttrib4fvNV() argument
70 CALL_VertexAttrib4fvNV(ctx->Exec, (index, v)); in VertexAttrib4fvNV()
95 loopback_prim(struct gl_context *ctx, in loopback_prim() argument
148 _vbo_loopback_vertex_list(struct gl_context *ctx, const struct vbo_save_vertex_list* node, fi_type *buffer) _vbo_loopback_vertex_list() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_query.c85 occlusion_counter_accumulate_result(struct fd_context *ctx, const void *start, in occlusion_counter_accumulate_result() argument
94 occlusion_predicate_accumulate_result(struct fd_context *ctx, const void *start, in occlusion_predicate_accumulate_result() argument
110 time_elapsed_enable(struct fd_context *ctx,
117 struct fd_batch *batch = fd_context_batch_locked(ctx);
134 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem;
138 assert(batch->ctx->screen->max_freq > 0);
219 time_elapsed_accumulate_result(struct fd_context *ctx, const void *start, in time_elapsed_accumulate_result() argument
224 result->u64 += n * 1000000000 / ctx->screen->max_freq; in time_elapsed_accumulate_result()
228 timestamp_accumulate_result(struct fd_context *ctx, const void *start, in timestamp_accumulate_result() argument
236 result->u64 = n * 1000000000 / ctx in timestamp_accumulate_result()
282 struct fd_context *ctx = fd_context(pctx); global() variable
[all...]
/third_party/node/deps/openssl/openssl/include/internal/
H A Dcryptlib.h95 int ossl_do_ex_data_init(OSSL_LIB_CTX *ctx);
96 void ossl_crypto_cleanup_all_ex_data_int(OSSL_LIB_CTX *ctx);
180 void *(*new_func)(OSSL_LIB_CTX *ctx);
184 OSSL_LIB_CTX *ossl_lib_ctx_get_concrete(OSSL_LIB_CTX *ctx);
185 int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx);
186 int ossl_lib_ctx_is_global_default(OSSL_LIB_CTX *ctx);
190 const OSSL_LIB_CTX_METHOD * ctx);
193 OSSL_EX_DATA_GLOBAL *ossl_lib_ctx_get_ex_data_global(OSSL_LIB_CTX *ctx);
194 typedef int (ossl_lib_ctx_run_once_fn)(OSSL_LIB_CTX *ctx);
195 typedef void (ossl_lib_ctx_onfree_fn)(OSSL_LIB_CTX *ctx);
[all...]
/third_party/openssl/crypto/evp/
H A Dlegacy_sha.c30 static int nm##_init(EVP_MD_CTX *ctx) \
32 return fn##_init(EVP_MD_CTX_get0_md_data(ctx), tag, ctx->digest->md_size * 8); \
34 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
36 return fn##_update(EVP_MD_CTX_get0_md_data(ctx), data, count); \
38 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
40 return fn##_final(md, EVP_MD_CTX_get0_md_data(ctx)); \
43 static int nm##_init(EVP_MD_CTX *ctx) \
45 return fn##_init(EVP_MD_CTX_get0_md_data(ctx), tag, ctx
66 sha1_int_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2) sha1_int_ctrl() argument
74 KECCAK1600_CTX *ctx = evp_ctx->md_data; shake_ctrl() local
[all...]
/third_party/openssl/include/internal/
H A Dcryptlib.h95 int ossl_do_ex_data_init(OSSL_LIB_CTX *ctx);
96 void ossl_crypto_cleanup_all_ex_data_int(OSSL_LIB_CTX *ctx);
180 void *(*new_func)(OSSL_LIB_CTX *ctx);
184 OSSL_LIB_CTX *ossl_lib_ctx_get_concrete(OSSL_LIB_CTX *ctx);
185 int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx);
186 int ossl_lib_ctx_is_global_default(OSSL_LIB_CTX *ctx);
190 const OSSL_LIB_CTX_METHOD * ctx);
193 OSSL_EX_DATA_GLOBAL *ossl_lib_ctx_get_ex_data_global(OSSL_LIB_CTX *ctx);
194 typedef int (ossl_lib_ctx_run_once_fn)(OSSL_LIB_CTX *ctx);
195 typedef void (ossl_lib_ctx_onfree_fn)(OSSL_LIB_CTX *ctx);
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fFboRenderTest.cpp770 void IntersectingQuadsTest::render (sglr::Context& ctx, Surface& dst) in render() argument
773 deUint32 texShaderID = ctx.createProgram(&texShader); in render()
778 createMetaballsTex2D(ctx, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
779 createQuadsTex2D(ctx, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
783 Framebuffer fbo(ctx, getConfig(), width, height); in render()
787 texShader.setUnit(ctx, texShaderID, 0); in render()
790 ctx.bindFramebuffer(GL_FRAMEBUFFER, fbo.getFramebuffer()); in render()
791 ctx.viewport(0, 0, width, height); in render()
792 ctx.clearColor(1.0f, 0.0f, 0.0f, 1.0f); in render()
793 ctx in render()
1127 render(sglr::Context& ctx, Surface& dst) render() argument
1874 render(sglr::Context& ctx, Surface& dst) render() argument
2016 render(sglr::Context& ctx, Surface& dst) render() argument
[all...]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
H A Dsignature_rsa_openssl.c41 EVP_PKEY_CTX *ctx; member
63 EVP_PKEY_CTX *ctx; member
101 // ctx will be freed with mdctx unless only sign in DestroyRsaSign()
103 OpensslEvpPkeyCtxFree(impl->ctx); in DestroyRsaSign()
104 impl->ctx = NULL; in DestroyRsaSign()
123 OpensslEvpPkeyCtxFree(impl->ctx); in DestroyRsaVerify()
124 impl->ctx = NULL; in DestroyRsaVerify()
175 static HcfResult SetPaddingAndDigest(EVP_PKEY_CTX *ctx, int32_t hcfPadding, int32_t md, int32_t mgf1md) in SetPaddingAndDigest() argument
179 if (OpensslEvpPkeyCtxSetRsaPadding(ctx, opensslPadding) != HCF_OPENSSL_SUCCESS) { in SetPaddingAndDigest()
188 if (OpensslEvpPkeyCtxSetRsaMgf1Md(ctx, opensslAl in SetPaddingAndDigest()
204 EVP_PKEY_CTX *ctx = NULL; SetOnlySignParams() local
246 EVP_PKEY_CTX *ctx = NULL; SetSignParams() local
309 EVP_PKEY_CTX *ctx = NULL; SetVerifyParams() local
351 EVP_PKEY_CTX *ctx = NULL; SetVerifyRecoverParams() local
[all...]

Completed in 16 milliseconds

1...<<61626364656667686970>>...282