/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_aria_ccm.c | 20 PROV_ARIA_CCM_CTX *ctx; in aria_ccm_newctx() local 25 ctx = OPENSSL_zalloc(sizeof(*ctx)); in aria_ccm_newctx() 26 if (ctx != NULL) in aria_ccm_newctx() 27 ossl_ccm_initctx(&ctx->base, keybits, ossl_prov_aria_hw_ccm(keybits)); in aria_ccm_newctx() 28 return ctx; in aria_ccm_newctx() 33 PROV_ARIA_CCM_CTX *ctx = (PROV_ARIA_CCM_CTX *)vctx; in aria_ccm_freectx() local 35 OPENSSL_clear_free(ctx, sizeof(*ctx)); in aria_ccm_freectx()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | add_empty_entry_point.cc | 30 void AddEmptyEntryPoint::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run() argument 31 for (auto* func : ctx.src->AST().Functions()) { in Run() 33 ctx.Clone(); in Run() 37 ctx.dst->Func(ctx.dst->Symbols().New("unused_entry_point"), {}, in Run() 38 ctx.dst->ty.void_(), {}, in Run() 39 {ctx.dst->Stage(ast::PipelineStage::kCompute), in Run() 40 ctx.dst->WorkgroupSize(1)}); in Run() 41 ctx.Clone(); in Run()
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
H A D | impl_partialeq.rs | 9 ctx: &BindgenContext, in gen_partialeq_impl() 16 if item.is_opaque(ctx, &()) { in gen_partialeq_impl() 21 assert!(!ctx.options().rust_features().untagged_union); in gen_partialeq_impl() 27 if !base.requires_storage(ctx) { in gen_partialeq_impl() 31 let ty_item = ctx.resolve_item(base.ty); in gen_partialeq_impl() 34 if ty_item.is_opaque(ctx, &()) { in gen_partialeq_impl() 35 let field_name = ctx.rust_ident(field_name); in gen_partialeq_impl() 40 tokens.push(gen_field(ctx, ty_item, field_name)); in gen_partialeq_impl() 47 let ty_item = ctx.resolve_item(fd.ty()); in gen_partialeq_impl() 49 tokens.push(gen_field(ctx, ty_ite in gen_partialeq_impl() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | function_test.cpp | 112 std::unique_ptr<IRContext> ctx = in TEST() local 115 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST() 118 func = spvtest::GetFunction(ctx->module(), 12); in TEST() 146 std::unique_ptr<IRContext> ctx = in TEST() local 149 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST() 182 std::unique_ptr<IRContext> ctx = in TEST() local 185 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST() 188 func = spvtest::GetFunction(ctx->module(), 12); in TEST() 216 std::unique_ptr<IRContext> ctx = in TEST() local 219 auto* func = spvtest::GetFunction(ctx in TEST() 241 std::unique_ptr<IRContext> ctx = TEST() local 278 std::unique_ptr<IRContext> ctx = TEST() local 341 std::unique_ptr<IRContext> ctx = TEST() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_headphone.c | 100 static void parse_map(AVFilterContext *ctx) in parse_map() argument 102 HeadphoneContext *s = ctx->priv; in parse_map() 112 av_log(ctx, AV_LOG_WARNING, "Failed to parse \'%s\' as channel name.\n", arg); in parse_map() 116 av_log(ctx, AV_LOG_WARNING, "Ignoring duplicate channel '%s'.\n", arg); in parse_map() 143 static int headphone_convolute(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in headphone_convolute() argument 145 HeadphoneContext *s = ctx->priv; in headphone_convolute() 214 static int headphone_fast_convolute(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in headphone_fast_convolute() argument 216 HeadphoneContext *s = ctx->priv; in headphone_fast_convolute() 309 AVFilterContext *ctx = inlink->dst; in check_ir() local 310 HeadphoneContext *s = ctx in check_ir() 327 AVFilterContext *ctx = outlink->src; headphone_frame() local 362 convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink) convert_coeffs() argument 529 activate(AVFilterContext *ctx) activate() argument 588 query_formats(AVFilterContext *ctx) query_formats() argument 639 AVFilterContext *ctx = inlink->dst; config_input() local 652 init(AVFilterContext *ctx) init() argument 697 AVFilterContext *ctx = outlink->src; config_output() local 715 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_chromakey_cuda.c | 49 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, s->hwctx->internal->cuda_dl, x) 79 static av_cold int cudachromakey_init(AVFilterContext *ctx) in cudachromakey_init() argument 81 ChromakeyCUDAContext *s = ctx->priv; in cudachromakey_init() 94 static av_cold void cudachromakey_uninit(AVFilterContext *ctx) in cudachromakey_uninit() argument 96 ChromakeyCUDAContext *s = ctx->priv; in cudachromakey_uninit() 158 static av_cold void set_format_info(AVFilterContext *ctx, enum AVPixelFormat in_format, enum AVPixelFormat out_format) in set_format_info() argument 160 ChromakeyCUDAContext *s = ctx->priv; in set_format_info() 185 static av_cold int init_processing_chain(AVFilterContext *ctx, int width, int height) in init_processing_chain() argument 187 ChromakeyCUDAContext *s = ctx->priv; in init_processing_chain() 192 if (!ctx in init_processing_chain() 218 cudachromakey_load_functions(AVFilterContext *ctx) cudachromakey_load_functions() argument 263 AVFilterContext *ctx = outlink->src; cudachromakey_config_props() local 294 call_cuda_kernel(AVFilterContext *ctx, CUfunction func, CUtexObject src_tex[3], AVFrame *out_frame, int width, int height, int pitch, int width_uv, int height_uv, int pitch_uv, float u_key, float v_key, float similarity, float blend) call_cuda_kernel() argument 322 cudachromakey_process_internal(AVFilterContext *ctx, AVFrame *out, AVFrame *in) cudachromakey_process_internal() argument 388 cudachromakey_process(AVFilterContext *ctx, AVFrame *out, AVFrame *in) cudachromakey_process() argument 415 AVFilterContext *ctx = link->dst; cudachromakey_filter_frame() local [all...] |
H A D | vf_guided.c | 76 int (*box_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 108 static int box_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in box_slice() argument 110 GuidedContext *s = ctx->priv; in box_slice() 168 AVFilterContext *ctx = inlink->dst; in config_input() local 169 GuidedContext *s = ctx->priv; in config_input() 183 s->width = ctx->inputs[0]->w; in config_input() 184 s->height = ctx->inputs[0]->h; in config_input() 197 static int guided_##name(AVFilterContext *ctx, GuidedContext *s, \ 213 const int nb_threads = ff_filter_get_nb_threads(ctx); \ 243 ff_filter_execute(ctx, 285 filter_frame(AVFilterContext *ctx, AVFrame **out, AVFrame *in, AVFrame *ref) filter_frame() argument 316 AVFilterContext *ctx = fs->parent; process_frame() local 337 AVFilterContext *ctx = outlink->src; config_output() local 398 activate(AVFilterContext *ctx) activate() argument 433 init(AVFilterContext *ctx) init() argument 458 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_scale_vaapi.c | 76 ScaleVAAPIContext *ctx = avctx->priv; in scale_vaapi_config_output() local 79 if ((err = ff_scale_eval_dimensions(ctx, in scale_vaapi_config_output() 80 ctx->w_expr, ctx->h_expr, in scale_vaapi_config_output() 86 ctx->force_original_aspect_ratio, ctx->force_divisible_by); in scale_vaapi_config_output() 105 ScaleVAAPIContext *ctx = avctx->priv; in scale_vaapi_filter_frame() local 128 if (ctx->colour_primaries != AVCOL_PRI_UNSPECIFIED) in scale_vaapi_filter_frame() 129 output_frame->color_primaries = ctx->colour_primaries; in scale_vaapi_filter_frame() 130 if (ctx in scale_vaapi_filter_frame() 168 ScaleVAAPIContext *ctx = avctx->priv; scale_vaapi_init() local [all...] |
H A D | f_zmq.c | 53 static av_cold int init(AVFilterContext *ctx) in init() argument 55 ZMQContext *zmq = ctx->priv; in init() 59 av_log(ctx, AV_LOG_ERROR, in init() 66 av_log(ctx, AV_LOG_ERROR, in init() 72 av_log(ctx, AV_LOG_ERROR, in init() 82 static void av_cold uninit(AVFilterContext *ctx) in uninit() argument 84 ZMQContext *zmq = ctx->priv; in uninit() 118 static int recv_msg(AVFilterContext *ctx, char **buf, int *buf_size) in recv_msg() argument 120 ZMQContext *zmq = ctx->priv; in recv_msg() 125 av_log(ctx, AV_LOG_WARNIN in recv_msg() 154 AVFilterContext *ctx = inlink->dst; filter_frame() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 135 struct eapol_ctx *ctx; member 214 if (!sm->ctx->confirm_auth_cb) in eapol_sm_confirm_auth() 217 return sm->ctx->confirm_auth_cb(sm->ctx->ctx); in eapol_sm_confirm_auth() 273 if (sm->ctx->preauth) in SM_STATE() 425 if (sm->ctx->eapol_done_cb) in SM_STEP() 426 sm->ctx->eapol_done_cb(sm->ctx->ctx); in SM_STEP() 1773 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) eapol_sm_register_scard_ctx() argument 1883 eapol_sm_get_config(void *ctx) eapol_sm_get_config() argument 1890 eapol_sm_get_eapReqData(void *ctx) eapol_sm_get_eapReqData() argument 1900 eapol_sm_get_bool(void *ctx, enum eapol_bool_var variable) eapol_sm_get_bool() argument 1931 eapol_sm_set_bool(void *ctx, enum eapol_bool_var variable, bool value) eapol_sm_set_bool() argument 1972 eapol_sm_get_int(void *ctx, enum eapol_int_var variable) eapol_sm_get_int() argument 1985 eapol_sm_set_int(void *ctx, enum eapol_int_var variable, unsigned int value) eapol_sm_set_int() argument 2001 eapol_sm_set_config_blob(void *ctx, struct wpa_config_blob *blob) eapol_sm_set_config_blob() argument 2012 eapol_sm_get_config_blob(void *ctx, const char *name) eapol_sm_get_config_blob() argument 2026 eapol_sm_notify_pending(void *ctx) eapol_sm_notify_pending() argument 2042 eapol_sm_eap_param_needed(void *ctx, enum wpa_ctrl_req_type field, const char *txt) eapol_sm_eap_param_needed() argument 2054 eapol_sm_notify_cert(void *ctx, struct tls_cert_data *cert, const char *cert_hash) eapol_sm_notify_cert() argument 2063 eapol_sm_notify_status(void *ctx, const char *status, const char *parameter) eapol_sm_notify_status() argument 2073 eapol_sm_notify_eap_error(void *ctx, int error_code) eapol_sm_notify_eap_error() argument 2084 eapol_sm_eap_proxy_cb(void *ctx) eapol_sm_eap_proxy_cb() argument 2094 eapol_sm_eap_proxy_notify_sim_status(void *ctx, enum eap_proxy_sim_state sim_state) eapol_sm_eap_proxy_notify_sim_status() argument 2106 eapol_sm_set_anon_id(void *ctx, const u8 *id, size_t len) eapol_sm_set_anon_id() argument 2147 eapol_sm_init(struct eapol_ctx *ctx) eapol_sm_init() argument 2253 eapol_sm_get_eap_proxy_imsi(void *ctx, int sim_num, char *imsi, size_t *len) eapol_sm_get_eap_proxy_imsi() argument [all...] |
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_compile.c | 1013 agx_context *ctx = b->shader; in agx_emit_jump() local 1021 agx_block_add_successor(ctx->current_block, ctx->continue_block); in agx_emit_jump() 1024 agx_block_add_successor(ctx->current_block, ctx->break_block); in agx_emit_jump() 1035 ctx->current_block->unconditional_jumps = true; in agx_emit_jump() 1051 agx_from_nir_block(agx_context *ctx, nir_block *block) in agx_from_nir_block() argument 1053 return ctx->indexed_nir_blocks[block->index]; in agx_from_nir_block() 1057 agx_emit_phi_deferred(agx_context *ctx, agx_block *block, agx_instr *I) in agx_emit_phi_deferred() argument 1068 agx_block *pred = agx_from_nir_block(ctx, sr in agx_emit_phi_deferred() 1077 agx_emit_phis_deferred(agx_context *ctx) agx_emit_phis_deferred() argument 1121 agx_create_block(agx_context *ctx) agx_create_block() argument 1131 emit_block(agx_context *ctx, nir_block *block) emit_block() argument 1172 emit_if(agx_context *ctx, nir_if *nif) emit_if() argument 1207 emit_loop(agx_context *ctx, nir_loop *nloop) emit_loop() argument 1261 emit_first_cf(agx_context *ctx) emit_first_cf() argument 1274 emit_cf_list(agx_context *ctx, struct exec_list *list) emit_cf_list() argument 1308 agx_set_st_vary_final(agx_context *ctx) agx_set_st_vary_final() argument 1319 agx_print_stats(agx_context *ctx, unsigned size, FILE *fp) agx_print_stats() argument 1635 agx_context *ctx = rzalloc(NULL, agx_context); agx_compile_shader_nir() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 36 EVP_MAC_CTX *ctx; /* H(x) = HMAC_hash OR H(x) = KMAC */ member 62 EVP_MAC_CTX *ctx = hmac->ctx; in do_hmac() local 64 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac() 66 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac() 67 || !EVP_MAC_update(ctx, &inbyte, 1) in do_hmac() 68 || !(in1 == NULL || in1len == 0 || EVP_MAC_update(ctx, in1, in1len)) in do_hmac() 69 || !(in2 == NULL || in2len == 0 || EVP_MAC_update(ctx, in2, in2len)) in do_hmac() 70 || !(in3 == NULL || in3len == 0 || EVP_MAC_update(ctx, in3, in3len)) in do_hmac() 71 || !EVP_MAC_final(ctx, hma in do_hmac() 199 EVP_MAC_CTX *ctx = hmac->ctx; drbg_hmac_generate() local 358 PROV_DRBG *ctx = (PROV_DRBG *)vctx; drbg_hmac_set_ctx_params() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/encode_decode/ |
H A D | decoder_pkey.c | 22 int OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase() argument 26 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase() 29 int OSSL_DECODER_CTX_set_passphrase_ui(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase_ui() argument 33 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_DECODER_CTX_set_passphrase_ui() 36 int OSSL_DECODER_CTX_set_pem_password_cb(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_pem_password_cb() argument 39 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_pem_password_cb() 42 int OSSL_DECODER_CTX_set_passphrase_cb(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase_cb() argument 46 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_passphrase_cb() 184 * We successfully looked through, |*ctx->object| determines if we in decoder_construct_pkey() 223 OSSL_DECODER_CTX *ctx; member 306 ossl_decoder_ctx_setup_for_pkey(OSSL_DECODER_CTX *ctx, EVP_PKEY **pkey, const char *keytype, OSSL_LIB_CTX *libctx, const char *propquery) ossl_decoder_ctx_setup_for_pkey() argument 436 OSSL_DECODER_CTX *ctx = NULL; OSSL_DECODER_CTX_new_for_pkey() local [all...] |
/third_party/openssl/crypto/encode_decode/ |
H A D | decoder_pkey.c | 22 int OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase() argument 26 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase() 29 int OSSL_DECODER_CTX_set_passphrase_ui(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase_ui() argument 33 return ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data); in OSSL_DECODER_CTX_set_passphrase_ui() 36 int OSSL_DECODER_CTX_set_pem_password_cb(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_pem_password_cb() argument 39 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_pem_password_cb() 42 int OSSL_DECODER_CTX_set_passphrase_cb(OSSL_DECODER_CTX *ctx, in OSSL_DECODER_CTX_set_passphrase_cb() argument 46 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_passphrase_cb() 180 * We successfully looked through, |*ctx->object| determines if we in decoder_construct_pkey() 219 OSSL_DECODER_CTX *ctx; member 302 ossl_decoder_ctx_setup_for_pkey(OSSL_DECODER_CTX *ctx, EVP_PKEY **pkey, const char *keytype, OSSL_LIB_CTX *libctx, const char *propquery) ossl_decoder_ctx_setup_for_pkey() argument 432 OSSL_DECODER_CTX *ctx = NULL; OSSL_DECODER_CTX_new_for_pkey() local [all...] |
/third_party/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 36 EVP_MAC_CTX *ctx; /* H(x) = HMAC_hash OR H(x) = KMAC */ member 62 EVP_MAC_CTX *ctx = hmac->ctx; in do_hmac() local 64 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac() 66 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac() 67 || !EVP_MAC_update(ctx, &inbyte, 1) in do_hmac() 68 || !(in1 == NULL || in1len == 0 || EVP_MAC_update(ctx, in1, in1len)) in do_hmac() 69 || !(in2 == NULL || in2len == 0 || EVP_MAC_update(ctx, in2, in2len)) in do_hmac() 70 || !(in3 == NULL || in3len == 0 || EVP_MAC_update(ctx, in3, in3len)) in do_hmac() 71 || !EVP_MAC_final(ctx, hma in do_hmac() 199 EVP_MAC_CTX *ctx = hmac->ctx; drbg_hmac_generate() local 358 PROV_DRBG *ctx = (PROV_DRBG *)vctx; drbg_hmac_set_ctx_params() local [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/md5/ |
H A D | md5.c | 71 void MD5Init(struct MD5Context *ctx) in MD5Init() argument 73 ctx->buf[0] = 0x67452301; in MD5Init() 74 ctx->buf[1] = 0xefcdab89; in MD5Init() 75 ctx->buf[2] = 0x98badcfe; in MD5Init() 76 ctx->buf[3] = 0x10325476; in MD5Init() 78 ctx->bits[0] = 0; in MD5Init() 79 ctx->bits[1] = 0; in MD5Init() 86 void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned int len) in MD5Update() argument 92 t = ctx->bits[0]; in MD5Update() 93 if ((ctx in MD5Update() 134 MD5Final(unsigned char digest[16], struct MD5Context *ctx) MD5Final() argument [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_register_allocation.cpp | 42 void add_subdword_operand(ra_ctx& ctx, aco_ptr<Instruction>& instr, unsigned idx, unsigned byte, 208 DefInfo(ra_ctx& ctx, aco_ptr<Instruction>& instr, RegClass rc_, int operand) : rc(rc_) in DefInfo() 213 bounds = get_reg_bounds(ctx.program, rc.type()); in DefInfo() 217 stride = get_subdword_operand_stride(ctx.program->gfx_level, instr, operand, rc); in DefInfo() 219 std::pair<unsigned, unsigned> info = get_subdword_definition_info(ctx.program, instr, rc); in DefInfo() 232 } else if (instr->isMIMG() && instr->mimg().d16 && ctx.program->gfx_level <= GFX9) { in DefInfo() 242 assert(ctx.program->gfx_level == GFX9 && "Image D16 on GFX8 not supported."); in DefInfo() 375 std::vector<unsigned> find_vars(ra_ctx& ctx, RegisterFile& reg_file, 418 print_regs(ra_ctx& ctx, bool vgprs, RegisterFile& reg_file) in print_regs() argument 420 PhysRegInterval regs = get_reg_bounds(ctx in print_regs() 534 add_subdword_operand(ra_ctx& ctx, aco_ptr<Instruction>& instr, unsigned idx, unsigned byte, RegClass rc) add_subdword_operand() argument 745 adjust_max_used_regs(ra_ctx& ctx, RegClass rc, unsigned reg) adjust_max_used_regs() argument 766 update_renames(ra_ctx& ctx, RegisterFile& reg_file, std::vector<std::pair<Operand, Definition>>& parallelcopies, aco_ptr<Instruction>& instr, UpdateRenames flags) update_renames() argument 871 get_reg_simple(ra_ctx& ctx, RegisterFile& reg_file, DefInfo info) get_reg_simple() argument 994 find_vars(ra_ctx& ctx, RegisterFile& reg_file, const PhysRegInterval reg_interval) find_vars() argument 1020 collect_vars(ra_ctx& ctx, RegisterFile& reg_file, const PhysRegInterval reg_interval) collect_vars() argument 1040 get_reg_for_create_vector_copy(ra_ctx& ctx, RegisterFile& reg_file, std::vector<std::pair<Operand, Definition>>& parallelcopies, aco_ptr<Instruction>& instr, const PhysRegInterval def_reg, DefInfo info, unsigned id) get_reg_for_create_vector_copy() argument 1089 get_regs_for_copies(ra_ctx& ctx, RegisterFile& reg_file, std::vector<std::pair<Operand, Definition>>& parallelcopies, const std::vector<unsigned>& vars, const PhysRegInterval bounds, aco_ptr<Instruction>& instr, const PhysRegInterval def_reg) get_regs_for_copies() argument 1236 get_reg_impl(ra_ctx& ctx, RegisterFile& reg_file, std::vector<std::pair<Operand, Definition>>& parallelcopies, const DefInfo& info, aco_ptr<Instruction>& instr) get_reg_impl() argument 1384 get_reg_specified(ra_ctx& ctx, RegisterFile& reg_file, RegClass rc, aco_ptr<Instruction>& instr, PhysReg reg) get_reg_specified() argument 1427 increase_register_file(ra_ctx& ctx, RegType type) increase_register_file() argument 1460 compact_relocate_vars(ra_ctx& ctx, const std::vector<IDAndRegClass>& vars, std::vector<std::pair<Operand, Definition>>& parallelcopies, PhysReg start) compact_relocate_vars() argument 1520 is_mimg_vaddr_intact(ra_ctx& ctx, RegisterFile& reg_file, Instruction* instr) is_mimg_vaddr_intact() argument 1552 get_reg_vector(ra_ctx& ctx, RegisterFile& reg_file, Temp temp, aco_ptr<Instruction>& instr) get_reg_vector() argument 1605 get_reg(ra_ctx& ctx, RegisterFile& reg_file, Temp temp, std::vector<std::pair<Operand, Definition>>& parallelcopies, aco_ptr<Instruction>& instr, int operand_index = -1) get_reg() argument 1714 get_reg_create_vector(ra_ctx& ctx, RegisterFile& reg_file, Temp temp, std::vector<std::pair<Operand, Definition>>& parallelcopies, aco_ptr<Instruction>& instr) get_reg_create_vector() argument 1858 handle_pseudo(ra_ctx& ctx, const RegisterFile& reg_file, Instruction* instr) handle_pseudo() argument 1951 get_reg_for_operand(ra_ctx& ctx, RegisterFile& register_file, std::vector<std::pair<Operand, Definition>>& parallelcopy, aco_ptr<Instruction>& instr, Operand& operand, unsigned operand_index) get_reg_for_operand() argument 1992 get_reg_phi(ra_ctx& ctx, IDSet& live_in, RegisterFile& register_file, std::vector<aco_ptr<Instruction>>& instructions, Block& block, aco_ptr<Instruction>& phi, Temp tmp) get_reg_phi() argument 2053 get_regs_for_phis(ra_ctx& ctx, Block& block, RegisterFile& register_file, std::vector<aco_ptr<Instruction>>& instructions, IDSet& live_in) get_regs_for_phis() argument 2141 read_variable(ra_ctx& ctx, Temp val, unsigned block_idx) read_variable() argument 2151 handle_live_in(ra_ctx& ctx, Temp val, Block* block) handle_live_in() argument 2201 handle_loop_phis(ra_ctx& ctx, const IDSet& live_in, uint32_t loop_header_idx, uint32_t loop_exit_idx) handle_loop_phis() argument 2296 init_reg_file(ra_ctx& ctx, const std::vector<IDSet>& live_out_per_block, Block& block) init_reg_file() argument 2364 get_affinities(ra_ctx& ctx, std::vector<IDSet>& live_out_per_block) get_affinities() argument 2545 optimize_encoding_vop2(Program* program, ra_ctx& ctx, RegisterFile& register_file, aco_ptr<Instruction>& instr) optimize_encoding_vop2() argument 2596 optimize_encoding_sopk(Program* program, ra_ctx& ctx, RegisterFile& register_file, aco_ptr<Instruction>& instr) optimize_encoding_sopk() argument 2652 optimize_encoding(Program* program, ra_ctx& ctx, RegisterFile& register_file, aco_ptr<Instruction>& instr) optimize_encoding() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | pgssubdec.c | 104 PGSSubContext *ctx = avctx->priv_data; in flush_cache() local 107 for (i = 0; i < ctx->objects.count; i++) { in flush_cache() 108 av_freep(&ctx->objects.object[i].rle); in flush_cache() 109 ctx->objects.object[i].rle_buffer_size = 0; in flush_cache() 110 ctx->objects.object[i].rle_remaining_len = 0; in flush_cache() 112 ctx->objects.count = 0; in flush_cache() 113 ctx->palettes.count = 0; in flush_cache() 235 PGSSubContext *ctx = avctx->priv_data; in parse_object_segment() local 247 object = find_object(id, &ctx->objects); in parse_object_segment() 249 if (ctx in parse_object_segment() 330 PGSSubContext *ctx = avctx->priv_data; parse_palette_segment() local 393 PGSSubContext *ctx = avctx->priv_data; parse_presentation_segment() local 500 PGSSubContext *ctx = avctx->priv_data; display_end_segment() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | xtea.c | 42 void av_xtea_init(AVXTEA *ctx, const uint8_t key[16]) in av_xtea_init() argument 47 ctx->key[i] = AV_RB32(key + (i << 2)); in av_xtea_init() 50 void av_xtea_le_init(AVXTEA *ctx, const uint8_t key[16]) in av_xtea_le_init() argument 55 ctx->key[i] = AV_RL32(key + (i << 2)); in av_xtea_le_init() 58 static void xtea_crypt_ecb(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, in xtea_crypt_ecb() argument 63 uint32_t k0 = ctx->key[0]; in xtea_crypt_ecb() 64 uint32_t k1 = ctx->key[1]; in xtea_crypt_ecb() 65 uint32_t k2 = ctx->key[2]; in xtea_crypt_ecb() 66 uint32_t k3 = ctx->key[3]; in xtea_crypt_ecb() 78 v1 -= (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + ctx in xtea_crypt_ecb() 178 xtea_le_crypt_ecb(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int decrypt, uint8_t *iv) xtea_le_crypt_ecb() argument 214 xtea_crypt(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt, void (*crypt)(AVXTEA *, uint8_t *, const uint8_t *, int, uint8_t *)) xtea_crypt() argument 243 av_xtea_crypt(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt) av_xtea_crypt() argument 249 av_xtea_le_crypt(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt) av_xtea_le_crypt() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_array_to_ssa.c | 62 get_state(struct array_ctx *ctx, struct ir3_block *block, unsigned id) in get_state() argument 64 return &ctx->states[ctx->array_count * block->index + id]; in get_state() 67 static struct ir3_register *read_value_beginning(struct array_ctx *ctx, 72 read_value_end(struct array_ctx *ctx, struct ir3_block *block, in read_value_end() argument 75 struct array_state *state = get_state(ctx, block, arr->id); in read_value_end() 79 state->live_out_definition = read_value_beginning(ctx, block, arr); in read_value_end() 85 read_value_beginning(struct array_ctx *ctx, struct ir3_block *block, in read_value_beginning() argument 88 struct array_state *state = get_state(ctx, block, arr->id); in read_value_beginning() 100 read_value_end(ctx, bloc in read_value_beginning() 198 lookup_live_in(struct array_ctx *ctx, struct ir3_block *block, unsigned id) lookup_live_in() argument 210 struct array_ctx ctx = {}; ir3_array_to_ssa() local [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | dhparam.c | 34 static int gendh_cb(EVP_PKEY_CTX *ctx); 83 EVP_PKEY_CTX *ctx = NULL; in dhparam_main() local 188 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), alg, app_get0_propq()); in dhparam_main() 189 if (ctx == NULL) { in dhparam_main() 195 EVP_PKEY_CTX_set_cb(ctx, gendh_cb); in dhparam_main() 196 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dhparam_main() 201 if (EVP_PKEY_paramgen_init(ctx) <= 0) { in dhparam_main() 209 if (EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, num) <= 0) { in dhparam_main() 214 if (EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, num) <= 0) { in dhparam_main() 218 if (EVP_PKEY_CTX_set_dh_paramgen_generator(ctx, in dhparam_main() 368 EVP_PKEY_CTX *ctx = NULL; dsa_to_dh() local 408 gendh_cb(EVP_PKEY_CTX *ctx) gendh_cb() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_blind.c | 26 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 93 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_update() argument 108 if (!BN_BLINDING_create_param(b, NULL, NULL, ctx, NULL, NULL)) in BN_BLINDING_update() 112 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx) in BN_BLINDING_update() 113 || !bn_mul_mont_fixed_top(b->A, b->A, b->A, b->m_ctx, ctx)) in BN_BLINDING_update() 116 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update() 117 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 129 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert() argument 131 return BN_BLINDING_convert_ex(n, NULL, b, ctx); in BN_BLINDING_convert() 134 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert_ex() argument 162 BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) BN_BLINDING_invert() argument 167 BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) BN_BLINDING_invert_ex() argument 234 BN_BLINDING_create_param(BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx) BN_BLINDING_create_param() argument [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_blind.c | 26 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 93 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_update() argument 108 if (!BN_BLINDING_create_param(b, NULL, NULL, ctx, NULL, NULL)) in BN_BLINDING_update() 112 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx) in BN_BLINDING_update() 113 || !bn_mul_mont_fixed_top(b->A, b->A, b->A, b->m_ctx, ctx)) in BN_BLINDING_update() 116 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update() 117 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 129 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert() argument 131 return BN_BLINDING_convert_ex(n, NULL, b, ctx); in BN_BLINDING_convert() 134 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert_ex() argument 162 BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) BN_BLINDING_invert() argument 167 BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) BN_BLINDING_invert_ex() argument 234 BN_BLINDING_create_param(BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx) BN_BLINDING_create_param() argument [all...] |
/third_party/openssl/apps/ |
H A D | dhparam.c | 34 static int gendh_cb(EVP_PKEY_CTX *ctx); 83 EVP_PKEY_CTX *ctx = NULL; in dhparam_main() local 188 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), alg, app_get0_propq()); in dhparam_main() 189 if (ctx == NULL) { in dhparam_main() 195 EVP_PKEY_CTX_set_cb(ctx, gendh_cb); in dhparam_main() 196 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dhparam_main() 201 if (EVP_PKEY_paramgen_init(ctx) <= 0) { in dhparam_main() 209 if (EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, num) <= 0) { in dhparam_main() 214 if (EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, num) <= 0) { in dhparam_main() 218 if (EVP_PKEY_CTX_set_dh_paramgen_generator(ctx, in dhparam_main() 368 EVP_PKEY_CTX *ctx = NULL; dsa_to_dh() local 408 gendh_cb(EVP_PKEY_CTX *ctx) gendh_cb() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_misc_test.cpp | 39 auto ctx = AceType::DynamicCast<MockRenderContext>(frameNode_->GetRenderContext()); in HWTEST_F() local 40 ASSERT_TRUE(ctx); in HWTEST_F() 46 EXPECT_CALL(*ctx, SetContentClip(ClipRectEq(rect))).Times(1); in HWTEST_F() 50 EXPECT_CALL(*ctx, SetContentClip(ClipRectEq(RectF(5, 5, 470, 790.0f)))).Times(1); in HWTEST_F() 54 EXPECT_CALL(*ctx, SetContentClip(ClipRectEq(frameNode_->GetGeometryNode()->GetFrameRect()))).Times(1); in HWTEST_F() 79 auto ctx = AceType::DynamicCast<MockRenderContext>(frameNode_->GetRenderContext()); in HWTEST_F() local 80 ASSERT_TRUE(ctx); in HWTEST_F() 86 EXPECT_CALL(*ctx, SetContentClip(ClipRectEq(rect))).Times(1); in HWTEST_F() 93 EXPECT_CALL(*ctx, SetContentClip(ClipRectEq(rect1))).Times(1); in HWTEST_F() 99 EXPECT_CALL(*ctx, SetContentCli in HWTEST_F() 124 auto ctx = AceType::DynamicCast<MockRenderContext>(frameNode_->GetRenderContext()); HWTEST_F() local 159 auto ctx = AceType::DynamicCast<MockRenderContext>(frameNode_->GetRenderContext()); HWTEST_F() local 191 auto ctx = AceType::DynamicCast<MockRenderContext>(frameNode_->GetRenderContext()); HWTEST_F() local [all...] |