Home
last modified time | relevance | path

Searched refs:ctx (Results 801 - 825 of 7228) sorted by relevance

1...<<31323334353637383940>>...290

/third_party/openssl/crypto/cmp/
H A Dcmp_msg.c161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument
165 if (!ossl_assert(ctx != NULL)) in ossl_cmp_msg_create()
168 if ((msg = OSSL_CMP_MSG_new(ctx->libctx, ctx->propq)) == NULL) in ossl_cmp_msg_create()
170 if (!ossl_cmp_hdr_init(ctx, msg->header) in ossl_cmp_msg_create()
173 if (ctx->geninfo_ITAVs != NULL in ossl_cmp_msg_create()
175 ctx->geninfo_ITAVs)) in ossl_cmp_msg_create()
187 if (ctx->p10CSR == NULL) { in ossl_cmp_msg_create()
191 if ((msg->body->value.p10cr = X509_REQ_dup(ctx->p10CSR)) == NULL) in ossl_cmp_msg_create()
252 #define HAS_SAN(ctx) \
256 determine_subj(OSSL_CMP_CTX *ctx, int for_KUR, const X509_NAME *ref_subj) determine_subj() argument
272 OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid) OSSL_CMP_CTX_setup_CRM() argument
377 ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int type, const OSSL_CRMF_MSG *crm) ossl_cmp_certreq_new() argument
445 ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, int certReqId, const OSSL_CMP_PKISI *si, X509 *cert, const X509 *encryption_recip, STACK_OF(X509) *chain, STACK_OF(X509) *caPubs, int unprotectedErrors) ossl_cmp_certrep_new() argument
519 ossl_cmp_rr_new(OSSL_CMP_CTX *ctx) ossl_cmp_rr_new() argument
572 ossl_cmp_rp_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, const OSSL_CRMF_CERTID *cid, int unprotectedErrors) ossl_cmp_rp_new() argument
619 ossl_cmp_pkiconf_new(OSSL_CMP_CTX *ctx) ossl_cmp_pkiconf_new() argument
679 gen_new(OSSL_CMP_CTX *ctx, const STACK_OF(OSSL_CMP_ITAV) *itavs, int body_type, int err_code) gen_new() argument
705 ossl_cmp_genm_new(OSSL_CMP_CTX *ctx) ossl_cmp_genm_new() argument
711 ossl_cmp_genp_new(OSSL_CMP_CTX *ctx, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_genp_new() argument
718 ossl_cmp_error_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, int64_t errorCode, const char *details, int unprotected) ossl_cmp_error_new() argument
785 ossl_cmp_certConf_new(OSSL_CMP_CTX *ctx, int certReqId, int fail_info, const char *text) ossl_cmp_certConf_new() argument
854 ossl_cmp_pollReq_new(OSSL_CMP_CTX *ctx, int crid) ossl_cmp_pollReq_new() argument
883 ossl_cmp_pollRep_new(OSSL_CMP_CTX *ctx, int crid, int64_t poll_after) ossl_cmp_pollRep_new() argument
1030 ossl_cmp_certresponse_get1_cert(const OSSL_CMP_CTX *ctx, const OSSL_CMP_CERTRESPONSE *crep) ossl_cmp_certresponse_get1_cert() argument
1071 OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) OSSL_CMP_MSG_update_transactionID() argument
1083 OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) OSSL_CMP_MSG_update_recipNonce() argument
[all...]
H A Dcmp_server.c26 OSSL_CMP_CTX *ctx; /* Client CMP context, reusing transactionID etc. */ member
48 OSSL_CMP_CTX_free(srv_ctx->ctx); in OSSL_CMP_SRV_CTX_free()
54 OSSL_CMP_SRV_CTX *ctx = OPENSSL_zalloc(sizeof(OSSL_CMP_SRV_CTX)); in OSSL_CMP_SRV_CTX_new() local
56 if (ctx == NULL) in OSSL_CMP_SRV_CTX_new()
59 if ((ctx->ctx = OSSL_CMP_CTX_new(libctx, propq)) == NULL) in OSSL_CMP_SRV_CTX_new()
61 ctx->certReqId = OSSL_CMP_CERTREQID_INVALID; in OSSL_CMP_SRV_CTX_new()
64 return ctx; in OSSL_CMP_SRV_CTX_new()
66 OSSL_CMP_SRV_CTX_free(ctx); in OSSL_CMP_SRV_CTX_new()
98 return srv_ctx->ctx; in OSSL_CMP_SRV_CTX_get0_cmp_ctx()
334 OSSL_CMP_CTX *ctx; process_certConf() local
433 unprotected_exception(const OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req, int invalid_protection, int accept_unprotected_requests) unprotected_exception() argument
460 OSSL_CMP_CTX *ctx; OSSL_CMP_SRV_process_request() local
[all...]
/third_party/curl/lib/vquic/
H A Dcurl_quiche.c115 static void cf_quiche_ctx_clear(struct cf_quiche_ctx *ctx) in cf_quiche_ctx_clear() argument
117 if(ctx) { in cf_quiche_ctx_clear()
118 if(ctx->h3c) in cf_quiche_ctx_clear()
119 quiche_h3_conn_free(ctx->h3c); in cf_quiche_ctx_clear()
120 if(ctx->h3config) in cf_quiche_ctx_clear()
121 quiche_h3_config_free(ctx->h3config); in cf_quiche_ctx_clear()
122 if(ctx->qconn) in cf_quiche_ctx_clear()
123 quiche_conn_free(ctx->qconn); in cf_quiche_ctx_clear()
124 if(ctx->cfg) in cf_quiche_ctx_clear()
125 quiche_config_free(ctx in cf_quiche_ctx_clear()
183 struct cf_quiche_ctx *ctx = cf->ctx; h3_data_setup() local
203 struct cf_quiche_ctx *ctx = cf->ctx; h3_data_done() local
341 struct cf_quiche_ctx *ctx = x->cf->ctx; stream_resp_read() local
489 struct cf_quiche_ctx *ctx = cf->ctx; cf_poll_events() local
547 struct cf_quiche_ctx *ctx = r->cf->ctx; recv_pkt() local
590 struct cf_quiche_ctx *ctx = cf->ctx; cf_process_ingress() local
626 struct cf_quiche_ctx *ctx = x->cf->ctx; read_pkt_to_send() local
651 struct cf_quiche_ctx *ctx = cf->ctx; cf_flush_egress() local
759 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_recv() local
840 struct cf_quiche_ctx *ctx = cf->ctx; h3_open_stream() local
958 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_send() local
1067 struct cf_quiche_ctx *ctx = cf->ctx; stream_is_writeable() local
1078 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_adjust_pollset() local
1179 struct cf_quiche_ctx *ctx = cf->ctx; cf_connect_start() local
1301 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_verify_peer() local
1314 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_connect() local
1407 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_close() local
1423 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_destroy() local
1435 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_query() local
1479 struct cf_quiche_ctx *ctx = cf->ctx; cf_quiche_conn_is_alive() local
1546 struct cf_quiche_ctx *ctx = NULL; Curl_cf_quiche_create() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_channelsplit.c60 static av_cold int init(AVFilterContext *ctx) in init() argument
62 ChannelSplitContext *s = ctx->priv; in init()
67 av_log(ctx, AV_LOG_ERROR, "Error parsing channel layout '%s'.\n", in init()
83 av_log(ctx, AV_LOG_ERROR, "Too many channels\n"); in init()
104 av_log(ctx, AV_LOG_ERROR, "Channel name '%s' not present in channel layout '%s'.\n", in init()
113 if ((ret = ff_append_outpad(ctx, &pad)) < 0) in init()
122 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
124 ChannelSplitContext *s = ctx->priv; in uninit()
129 static int query_formats(AVFilterContext *ctx) in query_formats() argument
131 ChannelSplitContext *s = ctx in query_formats()
159 AVFilterContext *ctx = outlink->src; filter_frame() local
184 activate(AVFilterContext *ctx) activate() argument
[all...]
H A Dvf_frei0r.c81 static void *load_sym(AVFilterContext *ctx, const char *sym_name) in load_sym() argument
83 Frei0rContext *s = ctx->priv; in load_sym()
86 av_log(ctx, AV_LOG_ERROR, "Could not find symbol '%s' in loaded module.\n", sym_name); in load_sym()
90 static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, char *param) in set_param() argument
92 Frei0rContext *s = ctx->priv; in set_param()
117 if (av_parse_color(rgba, param, -1, ctx) < 0) in set_param()
139 av_log(ctx, AV_LOG_ERROR, "Invalid value '%s' for parameter '%s'.\n", in set_param()
144 static int set_params(AVFilterContext *ctx, const char *params) in set_params() argument
146 Frei0rContext *s = ctx->priv; in set_params()
164 ret = set_param(ctx, inf in set_params()
174 load_path(AVFilterContext *ctx, void **handle_ptr, const char *prefix, const char *name) load_path() argument
185 frei0r_init(AVFilterContext *ctx, const char *dl_name, int type) frei0r_init() argument
299 filter_init(AVFilterContext *ctx) filter_init() argument
306 uninit(AVFilterContext *ctx) uninit() argument
320 AVFilterContext *ctx = inlink->dst; config_input_props() local
333 query_formats(AVFilterContext *ctx) query_formats() argument
390 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument
444 source_init(AVFilterContext *ctx) source_init() argument
456 AVFilterContext *ctx = outlink->src; source_config_props() local
[all...]
/third_party/mbedtls/include/mbedtls/
H A Drsa.h137 * \param ctx The RSA context to initialize. This must not be \c NULL.
139 void mbedtls_rsa_init(mbedtls_rsa_context *ctx);
163 * \param ctx The initialized RSA context to be configured.
175 int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding,
182 * \param ctx The initialized RSA context.
187 int mbedtls_rsa_get_padding_mode(const mbedtls_rsa_context *ctx);
193 * \param ctx The initialized RSA context.
198 int mbedtls_rsa_get_md_alg(const mbedtls_rsa_context *ctx);
219 * \param ctx The initialized RSA context to store the parameters in.
229 int mbedtls_rsa_import(mbedtls_rsa_context *ctx,
[all...]
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_aa_point.c54 aa_transform_context(struct tgsi_transform_context *ctx) in aa_transform_context() argument
56 return (struct aa_transform_context *) ctx; in aa_transform_context()
63 aa_decl(struct tgsi_transform_context *ctx, in aa_decl() argument
66 struct aa_transform_context *ts = aa_transform_context(ctx); in aa_decl()
80 ctx->emit_declaration(ctx, decl); in aa_decl()
87 aa_immediate(struct tgsi_transform_context *ctx, in aa_immediate() argument
90 struct aa_transform_context *ts = aa_transform_context(ctx); in aa_immediate()
92 ctx->emit_immediate(ctx, im in aa_immediate()
100 aa_prolog(struct tgsi_transform_context *ctx) aa_prolog() argument
216 aa_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) aa_inst() argument
241 aa_epilog(struct tgsi_transform_context *ctx) aa_epilog() argument
[all...]
H A Dtgsi_point_sprite.c104 psprite_transform_context(struct tgsi_transform_context *ctx) in psprite_transform_context() argument
106 return (struct psprite_transform_context *) ctx; in psprite_transform_context()
114 psprite_decl(struct tgsi_transform_context *ctx, in psprite_decl() argument
117 struct psprite_transform_context *ts = psprite_transform_context(ctx); in psprite_decl()
154 ctx->emit_declaration(ctx, decl); in psprite_decl()
161 psprite_immediate(struct tgsi_transform_context *ctx, in psprite_immediate() argument
164 struct psprite_transform_context *ts = psprite_transform_context(ctx); in psprite_immediate()
166 ctx->emit_immediate(ctx, im in psprite_immediate()
175 psprite_prolog(struct tgsi_transform_context *ctx) psprite_prolog() argument
290 psprite_emit_vertex_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *vert_inst) psprite_emit_vertex_inst() argument
441 psprite_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) psprite_inst() argument
501 psprite_property(struct tgsi_transform_context *ctx, struct tgsi_full_property *prop) psprite_property() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dhq_hqa.c117 static int hq_decode_frame(HQContext *ctx, AVFrame *pic, in hq_decode_frame() argument
122 const uint8_t *perm, *src = ctx->gbc.buffer; in hq_decode_frame()
128 avpriv_request_sample(ctx->avctx, "HQ Profile %d", prof_num); in hq_decode_frame()
131 av_log(ctx->avctx, AV_LOG_VERBOSE, "HQ Profile %d\n", prof_num); in hq_decode_frame()
134 ctx->avctx->coded_width = FFALIGN(profile->width, 16); in hq_decode_frame()
135 ctx->avctx->coded_height = FFALIGN(profile->height, 16); in hq_decode_frame()
136 ctx->avctx->width = profile->width; in hq_decode_frame()
137 ctx->avctx->height = profile->height; in hq_decode_frame()
138 ctx->avctx->bits_per_raw_sample = 8; in hq_decode_frame()
139 ctx in hq_decode_frame()
222 hqa_decode_slice(HQContext *ctx, AVFrame *pic, GetBitContext *gb, int quant, int slice_no, int w, int h) hqa_decode_slice() argument
243 hqa_decode_frame(HQContext *ctx, AVFrame *pic, size_t data_size) hqa_decode_frame() argument
307 HQContext *ctx = avctx->priv_data; hq_hqa_decode_frame() local
366 HQContext *ctx = avctx->priv_data; hq_hqa_decode_init() local
376 HQContext *ctx = avctx->priv_data; hq_hqa_decode_close() local
[all...]
H A Dh265_metadata_bsf.c70 H265MetadataContext *ctx = bsf->priv_data; in h265_metadata_guess_level() local
132 ctx->level_guess = desc->level_idc; in h265_metadata_guess_level()
139 H265MetadataContext *ctx = bsf->priv_data; in h265_metadata_update_level() local
141 if (ctx->level != LEVEL_UNSET) { in h265_metadata_update_level()
142 if (ctx->level == LEVEL_AUTO) { in h265_metadata_update_level()
143 if (ctx->level_guess) { in h265_metadata_update_level()
144 *level_idc = ctx->level_guess; in h265_metadata_update_level()
146 if (!ctx->level_warned) { in h265_metadata_update_level()
149 ctx->level_warned = 1; in h265_metadata_update_level()
154 *level_idc = ctx in h265_metadata_update_level()
162 H265MetadataContext *ctx = bsf->priv_data; h265_metadata_update_vps() local
192 H265MetadataContext *ctx = bsf->priv_data; h265_metadata_update_sps() local
335 H265MetadataContext *ctx = bsf->priv_data; h265_metadata_update_fragment() local
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dcompiler.h322 mir_upload_ins(struct compiler_context *ctx, struct midgard_instruction ins) in mir_upload_ins() argument
324 midgard_instruction *heap = ralloc(ctx, struct midgard_instruction); in mir_upload_ins()
330 emit_mir_instruction(struct compiler_context *ctx, struct midgard_instruction ins) in emit_mir_instruction() argument
332 midgard_instruction *u = mir_upload_ins(ctx, ins); in emit_mir_instruction()
333 list_addtail(&u->link, &ctx->current_block->base.instructions); in emit_mir_instruction()
338 mir_insert_instruction_before(struct compiler_context *ctx, in mir_insert_instruction_before() argument
342 struct midgard_instruction *u = mir_upload_ins(ctx, ins); in mir_insert_instruction_before()
365 #define mir_foreach_block(ctx, v) \
366 list_for_each_entry(pan_block, v, &ctx->blocks, link)
368 #define mir_foreach_block_from(ctx, fro
431 mir_get_block(compiler_context *ctx, int idx) mir_get_block() argument
448 make_compiler_temp(compiler_context *ctx) make_compiler_temp() argument
454 make_compiler_temp_reg(compiler_context *ctx) make_compiler_temp_reg() argument
466 nir_src_index(compiler_context *ctx, nir_src *src) nir_src_index() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineExtendedDynamicStateMiscTests.cpp135 const auto ctx = context.getContextCommonData(); in sampleShadingWithDynamicSampleCount() local
152 ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D, colorSRR, 1u, kMultiSampleCount); in sampleShadingWithDynamicSampleCount()
153 ImageWithBuffer resolveBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D, colorSRR, 1u, kSingleSampleCount); in sampleShadingWithDynamicSampleCount()
166 BufferPtr counterBuffer (new BufferWithMemory(ctx.vkd, ctx.device, ctx in sampleShadingWithDynamicSampleCount()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
H A Dnoop_pipe.c39 void noop_init_state_functions(struct pipe_context *ctx);
54 static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type, unsigned index) in noop_create_query() argument
61 static void noop_destroy_query(struct pipe_context *ctx, struct pipe_query *query) in noop_destroy_query() argument
66 static bool noop_begin_query(struct pipe_context *ctx, struct pipe_query *query) in noop_begin_query() argument
71 static bool noop_end_query(struct pipe_context *ctx, struct pipe_query *query) in noop_end_query() argument
76 static bool noop_get_query_result(struct pipe_context *ctx, in noop_get_query_result() argument
161 struct pipe_context *ctx, in noop_resource_get_handle()
182 struct pipe_context *ctx, in noop_resource_get_param()
280 static void noop_clear(struct pipe_context *ctx, unsigned buffers, const struct pipe_scissor_state *scissor_state, in noop_clear() argument
285 static void noop_clear_render_target(struct pipe_context *ctx, in noop_clear_render_target() argument
160 noop_resource_get_handle(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_resource *resource, struct winsys_handle *handle, unsigned usage) noop_resource_get_handle() argument
181 noop_resource_get_param(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_resource *resource, unsigned plane, unsigned layer, unsigned level, enum pipe_resource_param param, unsigned handle_usage, uint64_t *value) noop_resource_get_param() argument
294 noop_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) noop_clear_depth_stencil() argument
305 noop_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) noop_resource_copy_region() argument
316 noop_blit(struct pipe_context *ctx, const struct pipe_blit_info *info) noop_blit() argument
323 noop_flush_resource(struct pipe_context *ctx, struct pipe_resource *resource) noop_flush_resource() argument
332 noop_flush(struct pipe_context *ctx, struct pipe_fence_handle **fence, unsigned flags) noop_flush() argument
345 noop_destroy_context(struct pipe_context *ctx) noop_destroy_context() argument
354 noop_generate_mipmap(struct pipe_context *ctx, struct pipe_resource *resource, enum pipe_format format, unsigned base_level, unsigned last_level, unsigned first_layer, unsigned last_layer) noop_generate_mipmap() argument
365 noop_invalidate_resource(struct pipe_context *ctx, struct pipe_resource *resource) noop_invalidate_resource() argument
370 noop_set_context_param(struct pipe_context *ctx, enum pipe_context_param param, unsigned value) noop_set_context_param() argument
376 noop_set_frontend_noop(struct pipe_context *ctx, bool enable) noop_set_frontend_noop() argument
380 noop_replace_buffer_storage(struct pipe_context *ctx, struct pipe_resource *dst, struct pipe_resource *src, unsigned num_rebinds, uint32_t rebind_mask, uint32_t delete_buffer_id) noop_replace_buffer_storage() argument
390 noop_create_fence(struct pipe_context *ctx, struct tc_unflushed_batch_token *tc_token) noop_create_fence() argument
409 struct pipe_context *ctx = CALLOC_STRUCT(pipe_context); noop_create_context() local
476 noop_flush_frontbuffer(struct pipe_screen *_screen, struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned layer, void *context_private, struct pipe_box *box) noop_flush_frontbuffer() argument
572 noop_fence_finish(struct pipe_screen *screen, struct pipe_context *ctx, struct pipe_fence_handle *fence, uint64_t timeout) noop_fence_finish() argument
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Dbn.h204 void BN_CTX_start(BN_CTX *ctx);
205 BIGNUM *BN_CTX_get(BN_CTX *ctx);
206 void BN_CTX_end(BN_CTX *ctx);
232 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
233 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
246 BN_CTX *ctx);
247 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
248 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
250 BN_CTX *ctx);
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_openssl.c45 HMAC_CTX *ctx; in HMAC_CTX_new() local
47 ctx = os_zalloc(sizeof(*ctx)); in HMAC_CTX_new()
48 if (ctx) in HMAC_CTX_new()
49 HMAC_CTX_init(ctx); in HMAC_CTX_new()
50 return ctx; in HMAC_CTX_new()
54 static void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free() argument
56 if (!ctx) in HMAC_CTX_free()
58 HMAC_CTX_cleanup(ctx); in HMAC_CTX_free()
59 bin_clear_free(ctx, sizeo in HMAC_CTX_free()
65 EVP_MD_CTX *ctx; EVP_MD_CTX_new() local
74 EVP_MD_CTX_free(EVP_MD_CTX *ctx) EVP_MD_CTX_free() argument
150 EVP_MD_CTX *ctx; openssl_digest_vector() local
316 EVP_CIPHER_CTX *ctx; aes_encrypt_init() local
341 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) aes_encrypt() argument
354 aes_encrypt_deinit(void *ctx) aes_encrypt_deinit() argument
373 EVP_CIPHER_CTX *ctx; aes_decrypt_init() local
398 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) aes_decrypt() argument
411 aes_decrypt_deinit(void *ctx) aes_decrypt_deinit() argument
467 EVP_CIPHER_CTX *ctx; aes_128_cbc_encrypt() local
494 EVP_CIPHER_CTX *ctx; aes_128_cbc_decrypt() local
562 BN_CTX *ctx; crypto_dh_derive_secret() local
596 BN_CTX *ctx; crypto_mod_exp() local
638 struct crypto_cipher *ctx; crypto_cipher_init() local
718 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument
728 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument
739 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument
931 dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, const struct wpabuf *own_private) dh5_derive_shared() argument
968 dh5_free(void *ctx) dh5_free() argument
979 HMAC_CTX *ctx; global() member
986 struct crypto_hash *ctx; crypto_hash_init() local
1030 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) crypto_hash_update() argument
1038 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) crypto_hash_finish() argument
1074 HMAC_CTX *ctx; openssl_hmac_vector() local
1212 CMAC_CTX *ctx; omac1_aes_vector() local
2092 EVP_PKEY_CTX *ctx = NULL; crypto_ecdh_set_peerkey() local
[all...]
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_openvino.c53 OVContext ctx; member
120 OVContext *ctx = &ov_model->ctx; in fill_model_input_ov() local
133 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob with name %s\n", task->input_name); in fill_model_input_ov()
141 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob dims/precision\n"); in fill_model_input_ov()
148 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob buffer\n"); in fill_model_input_ov()
161 for (int i = 0; i < ctx->options.batch_size; ++i) { in fill_model_input_ov()
175 ff_proc_from_frame_to_dnn(task->in_frame, &input, ctx); in fill_model_input_ov()
180 ff_frame_to_dnn_detect(task->in_frame, &input, ctx); in fill_model_input_ov()
183 ff_frame_to_dnn_classify(task->in_frame, &input, lltask->bbox_index, ctx); in fill_model_input_ov()
210 OVContext *ctx = &ov_model->ctx; infer_completion_callback() local
307 OVContext *ctx = &ov_model->ctx; init_model_ov() local
449 OVContext *ctx; execute_model_ov() local
506 OVContext *ctx = &ov_model->ctx; get_input_ov() local
661 OVContext *ctx = &ov_model->ctx; get_output_ov() local
730 OVContext *ctx = NULL; ff_dnn_load_model_ov() local
786 OVContext *ctx = &ov_model->ctx; ff_dnn_execute_model_ov() local
875 OVContext *ctx = &ov_model->ctx; ff_dnn_flush_ov() local
[all...]
/third_party/openssl/crypto/rsa/
H A Drsa_lib.c730 int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2) in RSA_pkey_ctx_ctrl() argument
733 if (ctx != NULL && ctx->pmeth != NULL in RSA_pkey_ctx_ctrl()
734 && ctx->pmeth->pkey_id != EVP_PKEY_RSA in RSA_pkey_ctx_ctrl()
735 && ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) in RSA_pkey_ctx_ctrl()
737 return EVP_PKEY_CTX_ctrl(ctx, -1, optype, cmd, p1, p2); in RSA_pkey_ctx_ctrl()
878 static int int_set_rsa_md_name(EVP_PKEY_CTX *ctx, in int_set_rsa_md_name() argument
887 if (ctx == NULL || mdname == NULL || (ctx->operation & optype) == 0) { in int_set_rsa_md_name()
896 if (!EVP_PKEY_CTX_is_a(ctx, "RS in int_set_rsa_md_name()
918 int_get_rsa_md_name(EVP_PKEY_CTX *ctx, int keytype, int optype, const char *mdkey, char *mdname, size_t mdnamesize) int_get_rsa_md_name() argument
957 EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode) EVP_PKEY_CTX_set_rsa_padding() argument
967 EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode) EVP_PKEY_CTX_get_rsa_padding() argument
977 EVP_PKEY_CTX_set_rsa_pss_keygen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_pss_keygen_md() argument
983 EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(EVP_PKEY_CTX *ctx, const char *mdname, const char *mdprops) EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() argument
996 EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_oaep_md() argument
1002 EVP_PKEY_CTX_set_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, const char *mdname, const char *mdprops) EVP_PKEY_CTX_set_rsa_oaep_md_name() argument
1011 EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name, size_t namesize) EVP_PKEY_CTX_get_rsa_oaep_md_name() argument
1023 EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **md) EVP_PKEY_CTX_get_rsa_oaep_md() argument
1033 EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_mgf1_md() argument
1039 EVP_PKEY_CTX_set_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, const char *mdname, const char *mdprops) EVP_PKEY_CTX_set_rsa_mgf1_md_name() argument
1048 EVP_PKEY_CTX_get_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, char *name, size_t namesize) EVP_PKEY_CTX_get_rsa_mgf1_md_name() argument
1060 EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md() argument
1066 EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name(EVP_PKEY_CTX *ctx, const char *mdname) EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name() argument
1078 EVP_PKEY_CTX_get_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD **md) EVP_PKEY_CTX_get_rsa_mgf1_md() argument
1084 EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen) EVP_PKEY_CTX_set0_rsa_oaep_label() argument
1113 EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label) EVP_PKEY_CTX_get0_rsa_oaep_label() argument
1146 EVP_PKEY_CTX_set_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int saltlen) EVP_PKEY_CTX_set_rsa_pss_saltlen() argument
1166 EVP_PKEY_CTX_get_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int *saltlen) EVP_PKEY_CTX_get_rsa_pss_saltlen() argument
1181 EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(EVP_PKEY_CTX *ctx, int saltlen) EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen() argument
1201 EVP_PKEY_CTX_set_rsa_keygen_bits(EVP_PKEY_CTX *ctx, int bits) EVP_PKEY_CTX_set_rsa_keygen_bits() argument
1223 EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp) EVP_PKEY_CTX_set_rsa_keygen_pubexp() argument
1241 EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp) EVP_PKEY_CTX_set1_rsa_keygen_pubexp() argument
1261 EVP_PKEY_CTX_set_rsa_keygen_primes(EVP_PKEY_CTX *ctx, int primes) EVP_PKEY_CTX_set_rsa_keygen_primes() argument
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dast_function.cpp552 void *ctx = state; in generate_call() local
576 fix_parameter(ctx, actual, formal->type, in generate_call()
636 ir_constant *value = sig->constant_expression_value(ctx, in generate_call()
648 ? ralloc_asprintf(ctx, "%s_retval", sig->function_name()) in generate_call()
653 var = new(ctx) ir_variable(sig->return_type, name, ir_var_temporary); in generate_call()
658 deref = new(ctx) ir_dereference_variable(var); in generate_call()
661 ir_call *call = new(ctx) ir_call(sig, deref, in generate_call()
668 return deref ? deref->clone(ctx, NULL) : NULL; in generate_call()
726 void *ctx = state; in match_subroutine_by_name() local
734 ralloc_asprintf(ctx, " in match_subroutine_by_name()
870 void *ctx = ralloc_parent(src); convert_component() local
1144 void *ctx = ralloc_parent(src); dereference_component() local
1186 void *ctx = state; process_vec_mat_constructor() local
1432 emit_inline_vector_constructor(const glsl_type *type, exec_list *instructions, exec_list *parameters, void *ctx) emit_inline_vector_constructor() argument
1636 emit_inline_matrix_constructor(const glsl_type *type, exec_list *instructions, exec_list *parameters, void *ctx) emit_inline_matrix_constructor() argument
1943 void *ctx = state; process_record_constructor() local
2024 void *ctx = state; handle_method() local
2107 void *ctx = state; hir() local
2534 void *ctx = state; hir() local
[all...]
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_exec_eval.c71 struct gl_context *ctx = gl_context_from_vbo_exec(exec); in vbo_exec_eval_update() local
81 if (ctx->Eval.Map1Color4) in vbo_exec_eval_update()
82 set_active_eval1( exec, VBO_ATTRIB_COLOR0, 4, &ctx->EvalMap.Map1Color4 ); in vbo_exec_eval_update()
84 if (ctx->Eval.Map2Color4) in vbo_exec_eval_update()
85 set_active_eval2( exec, VBO_ATTRIB_COLOR0, 4, &ctx->EvalMap.Map2Color4 ); in vbo_exec_eval_update()
87 if (ctx->Eval.Map1TextureCoord4) in vbo_exec_eval_update()
88 set_active_eval1( exec, VBO_ATTRIB_TEX0, 4, &ctx->EvalMap.Map1Texture4 ); in vbo_exec_eval_update()
89 else if (ctx->Eval.Map1TextureCoord3) in vbo_exec_eval_update()
90 set_active_eval1( exec, VBO_ATTRIB_TEX0, 3, &ctx->EvalMap.Map1Texture3 ); in vbo_exec_eval_update()
91 else if (ctx in vbo_exec_eval_update()
128 struct gl_context *ctx = gl_context_from_vbo_exec(exec); vbo_exec_do_EvalCoord1f() local
175 struct gl_context *ctx = gl_context_from_vbo_exec(exec); vbo_exec_do_EvalCoord2f() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec2_oct.c42 BN_CTX *ctx) in ossl_ec_GF2m_simple_set_compressed_coordinates()
49 if (ctx == NULL) { in ossl_ec_GF2m_simple_set_compressed_coordinates()
50 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_set_compressed_coordinates()
51 if (ctx == NULL) in ossl_ec_GF2m_simple_set_compressed_coordinates()
58 BN_CTX_start(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
59 tmp = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
60 x = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
61 y = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
62 z = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
69 if (!BN_GF2m_mod_sqrt_arr(y, group->b, group->poly, ctx)) in ossl_ec_GF2m_simple_set_compressed_coordinates()
39 ossl_ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) ossl_ec_GF2m_simple_set_compressed_coordinates() argument
125 ossl_ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GF2m_simple_point2oct() argument
256 ossl_ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GF2m_simple_oct2point() argument
[all...]
/third_party/openssl/crypto/ec/
H A Dec2_oct.c42 BN_CTX *ctx) in ossl_ec_GF2m_simple_set_compressed_coordinates()
49 if (ctx == NULL) { in ossl_ec_GF2m_simple_set_compressed_coordinates()
50 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_set_compressed_coordinates()
51 if (ctx == NULL) in ossl_ec_GF2m_simple_set_compressed_coordinates()
58 BN_CTX_start(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
59 tmp = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
60 x = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
61 y = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
62 z = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
69 if (!BN_GF2m_mod_sqrt_arr(y, group->b, group->poly, ctx)) in ossl_ec_GF2m_simple_set_compressed_coordinates()
39 ossl_ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) ossl_ec_GF2m_simple_set_compressed_coordinates() argument
125 ossl_ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GF2m_simple_point2oct() argument
256 ossl_ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GF2m_simple_oct2point() argument
[all...]
/third_party/ffmpeg/libavdevice/
H A Dvfwcap.c164 struct vfw_ctx *ctx = s->priv_data; in shall_we_drop() local
167 unsigned int buffer_fullness = (ctx->curbufsize*100)/s->max_picture_buffer; in shall_we_drop()
169 if(dropscore[++ctx->frame_num%ndropscores] <= buffer_fullness) { in shall_we_drop()
181 struct vfw_ctx *ctx; in videostream_cb() local
185 ctx = s->priv_data; in videostream_cb()
192 WaitForSingleObject(ctx->mutex, INFINITE); in videostream_cb()
206 for(ppktl = &ctx->pktl ; *ppktl ; ppktl = &(*ppktl)->next); in videostream_cb()
209 ctx->curbufsize += vdhdr->dwBytesUsed; in videostream_cb()
211 SetEvent(ctx->event); in videostream_cb()
212 ReleaseMutex(ctx in videostream_cb()
222 struct vfw_ctx *ctx = s->priv_data; vfw_read_close() local
248 struct vfw_ctx *ctx = s->priv_data; vfw_read_header() local
442 struct vfw_ctx *ctx = s->priv_data; vfw_read_packet() local
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_a4xx.c49 byte_offset_to_address(struct ir3_context *ctx, in byte_offset_to_address() argument
53 struct ir3_block *b = ctx->block; in byte_offset_to_address()
55 if (ctx->compiler->gen == 4) { in byte_offset_to_address()
61 if (fd_dev_64b(ctx->compiler->dev_id)) { in byte_offset_to_address()
70 emit_intrinsic_load_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr, in emit_intrinsic_load_ssbo() argument
73 struct ir3_block *b = ctx->block; in emit_intrinsic_load_ssbo()
76 struct ir3_instruction *ssbo = ir3_ssbo_to_ibo(ctx, intr->src[0]); in emit_intrinsic_load_ssbo()
78 byte_offset = ir3_get_src(ctx, &intr->src[1])[0]; in emit_intrinsic_load_ssbo()
79 offset = ir3_get_src(ctx, &intr->src[2])[0]; in emit_intrinsic_load_ssbo()
82 src0 = byte_offset_to_address(ctx, in emit_intrinsic_load_ssbo()
98 emit_intrinsic_store_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_store_ssbo() argument
152 emit_intrinsic_atomic_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_atomic_ssbo() argument
221 get_image_offset(struct ir3_context *ctx, const nir_intrinsic_instr *instr, struct ir3_instruction *const *coords, bool byteoff) get_image_offset() argument
280 emit_intrinsic_load_image(struct ir3_context *ctx, nir_intrinsic_instr *intr, struct ir3_instruction **dst) emit_intrinsic_load_image() argument
328 emit_intrinsic_store_image(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_store_image() argument
365 emit_intrinsic_atomic_image(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_atomic_image() argument
428 emit_intrinsic_atomic_global(struct ir3_context *ctx, nir_intrinsic_instr *intr) emit_intrinsic_atomic_global() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_composite.c253 bind_composite_blend_state(struct xa_context *ctx, in bind_composite_blend_state() argument
271 cso_set_blend(ctx->cso, &blend); in bind_composite_blend_state()
336 * \param ctx[in, out]: Pointer to the xa context.
347 xa_handle_src_pict(struct xa_context *ctx, in xa_handle_src_pict() argument
365 if (is_mask && ctx->has_solid_src) in xa_handle_src_pict()
366 xa_src_in_mask(ctx->solid_color, solid_color); in xa_handle_src_pict()
368 memcpy(ctx->solid_color, solid_color, sizeof(solid_color)); in xa_handle_src_pict()
371 ctx->has_solid_mask = TRUE; in xa_handle_src_pict()
373 ctx->has_solid_src = TRUE; in xa_handle_src_pict()
379 bind_shaders(struct xa_context *ctx, cons argument
446 bind_samplers(struct xa_context *ctx, const struct xa_composite *comp) bind_samplers() argument
513 xa_composite_prepare(struct xa_context *ctx, const struct xa_composite *comp) xa_composite_prepare() argument
546 xa_composite_rect(struct xa_context *ctx, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) xa_composite_rect() argument
572 xa_composite_done(struct xa_context *ctx) xa_composite_done() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_server.c26 OSSL_CMP_CTX *ctx; /* Client CMP context, reusing transactionID etc. */ member
48 OSSL_CMP_CTX_free(srv_ctx->ctx); in OSSL_CMP_SRV_CTX_free()
54 OSSL_CMP_SRV_CTX *ctx = OPENSSL_zalloc(sizeof(OSSL_CMP_SRV_CTX)); in OSSL_CMP_SRV_CTX_new() local
56 if (ctx == NULL) in OSSL_CMP_SRV_CTX_new()
59 if ((ctx->ctx = OSSL_CMP_CTX_new(libctx, propq)) == NULL) in OSSL_CMP_SRV_CTX_new()
61 ctx->certReqId = OSSL_CMP_CERTREQID_INVALID; in OSSL_CMP_SRV_CTX_new()
64 return ctx; in OSSL_CMP_SRV_CTX_new()
66 OSSL_CMP_SRV_CTX_free(ctx); in OSSL_CMP_SRV_CTX_new()
98 return srv_ctx->ctx; in OSSL_CMP_SRV_CTX_get0_cmp_ctx()
334 OSSL_CMP_CTX *ctx; process_certConf() local
433 unprotected_exception(const OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req, int invalid_protection, int accept_unprotected_requests) unprotected_exception() argument
460 OSSL_CMP_CTX *ctx; OSSL_CMP_SRV_process_request() local
[all...]

Completed in 20 milliseconds

1...<<31323334353637383940>>...290