/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_scheduler.cpp | 34 #define SMEM_WINDOW_SIZE (350 - ctx.num_waves * 35) 35 #define VMEM_WINDOW_SIZE (1024 - ctx.num_waves * 64) 37 #define SMEM_MAX_MOVES (64 - ctx.num_waves * 4) 38 #define VMEM_MAX_MOVES (256 - ctx.num_waves * 16) 40 #define VMEM_CLAUSE_MAX_GRAB_DIST (ctx.num_waves * 2) 644 schedule_SMEM(sched_ctx& ctx, Block* block, std::vector<RegisterDemand>& register_demand, 661 DownwardsCursor cursor = ctx.mv.downwards_init(idx, false, false); 671 idx <= ctx.last_SMEM_dep_idx && candidate_idx < ctx.last_SMEM_dep_idx; 672 if (can_stall_prev_smem && ctx [all...] |
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/node/deps/openssl/openssl/crypto/poly1305/asm/ |
H A D | poly1305-ppcfp.pl | 68 my ($ctx,$inp,$len,$padbit) = map("r$_",(3..6)); 104 stfd $two0,8*0($ctx) # initial hash value, biased 0 105 stfd $two32,8*1($ctx) 106 stfd $two64,8*2($ctx) 107 stfd $two96,8*3($ctx) 115 stfd $two0,8*4($ctx) # key "template" 116 stfd $two32,8*5($ctx) 117 stfd $two64,8*6($ctx) 118 stfd $two96,8*7($ctx) 135 stw $in0,`8*4+(4^$LITTLE_ENDIAN)`($ctx) # fil [all...] |
/third_party/openssl/crypto/poly1305/asm/ |
H A D | poly1305-ppcfp.pl | 68 my ($ctx,$inp,$len,$padbit) = map("r$_",(3..6)); 104 stfd $two0,8*0($ctx) # initial hash value, biased 0 105 stfd $two32,8*1($ctx) 106 stfd $two64,8*2($ctx) 107 stfd $two96,8*3($ctx) 115 stfd $two0,8*4($ctx) # key "template" 116 stfd $two32,8*5($ctx) 117 stfd $two64,8*6($ctx) 118 stfd $two96,8*7($ctx) 135 stw $in0,`8*4+(4^$LITTLE_ENDIAN)`($ctx) # fil [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/ffmpeg/libavcodec/ |
H A D | cbs_vp9_syntax_template.c | 19 static int FUNC(frame_sync_code)(CodedBitstreamContext *ctx, RWContext *rw, in frame_sync_code() argument 31 static int FUNC(color_config)(CodedBitstreamContext *ctx, RWContext *rw, in color_config() argument 34 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in color_config() 70 static int FUNC(frame_size)(CodedBitstreamContext *ctx, RWContext *rw, in frame_size() argument 73 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in frame_size() 90 static int FUNC(render_size)(CodedBitstreamContext *ctx, RWContext *rw, in render_size() argument 105 static int FUNC(frame_size_with_refs)(CodedBitstreamContext *ctx, RWContext *rw, in frame_size_with_refs() argument 108 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in frame_size_with_refs() 128 CHECK(FUNC(frame_size)(ctx, rw, current)); in frame_size_with_refs() 135 CHECK(FUNC(render_size)(ctx, r in frame_size_with_refs() 140 interpolation_filter(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrameHeader *current) interpolation_filter() argument 152 loop_filter_params(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrameHeader *current) loop_filter_params() argument 180 quantization_params(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrameHeader *current) quantization_params() argument 194 segmentation_params(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrameHeader *current) segmentation_params() argument 244 tile_info(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrameHeader *current) tile_info() argument 265 uncompressed_header(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrameHeader *current) uncompressed_header() argument 384 trailing_bits(CodedBitstreamContext *ctx, RWContext *rw) trailing_bits() argument 393 frame(CodedBitstreamContext *ctx, RWContext *rw, VP9RawFrame *current) frame() argument 407 superframe_index(CodedBitstreamContext *ctx, RWContext *rw, VP9RawSuperframeIndex *current) superframe_index() argument [all...] |
H A D | videodsp.c | 39 av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc) in ff_videodsp_init() argument 41 ctx->prefetch = just_return; in ff_videodsp_init() 43 ctx->emulated_edge_mc = ff_emulated_edge_mc_8; in ff_videodsp_init() 45 ctx->emulated_edge_mc = ff_emulated_edge_mc_16; in ff_videodsp_init() 49 ff_videodsp_init_aarch64(ctx, bpc); in ff_videodsp_init() 51 ff_videodsp_init_arm(ctx, bpc); in ff_videodsp_init() 53 ff_videodsp_init_ppc(ctx, bpc); in ff_videodsp_init() 55 ff_videodsp_init_x86(ctx, bpc); in ff_videodsp_init() 57 ff_videodsp_init_mips(ctx, bpc); in ff_videodsp_init() 59 ff_videodsp_init_loongarch(ctx, bp in ff_videodsp_init() [all...] |
H A D | cbs_mpeg2_syntax_template.c | 19 static int FUNC(sequence_header)(CodedBitstreamContext *ctx, RWContext *rw, in sequence_header() argument 22 CodedBitstreamMPEG2Context *mpeg2 = ctx->priv_data; in sequence_header() 59 static int FUNC(user_data)(CodedBitstreamContext *ctx, RWContext *rw, in user_data() argument 87 static int FUNC(sequence_extension)(CodedBitstreamContext *ctx, RWContext *rw, in sequence_extension() argument 90 CodedBitstreamMPEG2Context *mpeg2 = ctx->priv_data; in sequence_extension() 117 static int FUNC(sequence_display_extension)(CodedBitstreamContext *ctx, RWContext *rw, in sequence_display_extension() argument 133 av_log(ctx->log_ctx, AV_LOG_WARNING, "%s in a sequence display " \ in sequence_display_extension() 160 static int FUNC(group_of_pictures_header)(CodedBitstreamContext *ctx, RWContext *rw, in group_of_pictures_header() argument 176 static int FUNC(extra_information)(CodedBitstreamContext *ctx, RWContext *rw, in extra_information() argument 210 static int FUNC(picture_header)(CodedBitstreamContext *ctx, RWContex argument 240 picture_coding_extension(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawPictureCodingExtension *current) picture_coding_extension() argument 298 quant_matrix_extension(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawQuantMatrixExtension *current) quant_matrix_extension() argument 332 picture_display_extension(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawPictureDisplayExtension *current) picture_display_extension() argument 350 extension_data(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawExtensionData *current) extension_data() argument 383 slice_header(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawSliceHeader *current) slice_header() argument 415 sequence_end(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawSequenceEnd *current) sequence_end() argument [all...] |
H A D | vp9_raw_reorder_bsf.c | 63 static void vp9_raw_reorder_clear_slot(VP9RawReorderContext *ctx, int s) in vp9_raw_reorder_clear_slot() argument 65 if (ctx->slot[s]) { in vp9_raw_reorder_clear_slot() 66 ctx->slot[s]->slots &= ~(1 << s); in vp9_raw_reorder_clear_slot() 67 if (ctx->slot[s]->slots == 0) in vp9_raw_reorder_clear_slot() 68 vp9_raw_reorder_frame_free(&ctx->slot[s]); in vp9_raw_reorder_clear_slot() 70 ctx->slot[s] = NULL; in vp9_raw_reorder_clear_slot() 175 VP9RawReorderContext *ctx = bsf->priv_data; in vp9_raw_reorder_make_output() local 181 frame = ctx->slot[s]; in vp9_raw_reorder_make_output() 279 VP9RawReorderContext *ctx = bsf->priv_data; in vp9_raw_reorder_filter() local 284 if (ctx in vp9_raw_reorder_filter() 395 VP9RawReorderContext *ctx = bsf->priv_data; vp9_raw_reorder_flush_close() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_extractplanes.c | 129 static int query_formats(AVFilterContext *ctx) in query_formats() argument 161 if (!ctx->inputs[0]->incfg.formats || in query_formats() 162 !ctx->inputs[0]->incfg.formats->nb_formats) { in query_formats() 166 avff = ctx->inputs[0]->incfg.formats; in query_formats() 175 if (!ctx->inputs[0]->outcfg.formats) in query_formats() 176 if ((ret = ff_formats_ref(ff_make_format_list(in_pixfmts), &ctx->inputs[0]->outcfg.formats)) < 0) in query_formats() 214 for (i = 0; i < ctx->nb_outputs; i++) in query_formats() 215 if ((ret = ff_formats_ref(ff_make_format_list(out_pixfmts), &ctx->outputs[i]->incfg.formats)) < 0) in query_formats() 222 AVFilterContext *ctx = inlink->dst; in config_input() local 223 ExtractPlanesContext *s = ctx in config_input() 254 AVFilterContext *ctx = outlink->src; config_output() local 295 AVFilterContext *ctx = outlink->src; extract_plane() local 320 activate(AVFilterContext *ctx) activate() argument 371 init(AVFilterContext *ctx) init() argument 422 init_alphaextract(AVFilterContext *ctx) init_alphaextract() argument [all...] |
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 | af_adenorm.c | 42 void (*filter[NB_TYPES])(AVFilterContext *ctx, void *dst, 46 static void dc_denorm_fltp(AVFilterContext *ctx, void *dstp, in dc_denorm_fltp() argument 49 ADenormContext *s = ctx->priv; in dc_denorm_fltp() 59 static void dc_denorm_dblp(AVFilterContext *ctx, void *dstp, in dc_denorm_dblp() argument 62 ADenormContext *s = ctx->priv; in dc_denorm_dblp() 72 static void ac_denorm_fltp(AVFilterContext *ctx, void *dstp, in ac_denorm_fltp() argument 75 ADenormContext *s = ctx->priv; in ac_denorm_fltp() 86 static void ac_denorm_dblp(AVFilterContext *ctx, void *dstp, in ac_denorm_dblp() argument 89 ADenormContext *s = ctx->priv; in ac_denorm_dblp() 100 static void sq_denorm_fltp(AVFilterContext *ctx, voi argument 114 sq_denorm_dblp(AVFilterContext *ctx, void *dstp, const void *srcp, int nb_samples) sq_denorm_dblp() argument 128 ps_denorm_fltp(AVFilterContext *ctx, void *dstp, const void *srcp, int nb_samples) ps_denorm_fltp() argument 142 ps_denorm_dblp(AVFilterContext *ctx, void *dstp, const void *srcp, int nb_samples) ps_denorm_dblp() argument 158 AVFilterContext *ctx = outlink->src; config_output() local 185 filter_channels(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) filter_channels() argument 205 AVFilterContext *ctx = inlink->dst; filter_frame() local [all...] |
/third_party/libwebsockets/lib/jose/jws/ |
H A D | jose.c | 115 * recipients[] LEJPCB_OBJECT_END (ctx->sp = 1) 130 * recipients[] LEJPCB_OBJECT_END (ctx->sp = 1) 159 lws_jws_jose_cb(struct lejp_ctx *ctx, char reason) in lws_jws_jose_cb() argument 161 struct jose_cb_args *args = (struct jose_cb_args *)ctx->user; in lws_jws_jose_cb() 171 if (args->is_jwe && !strncmp(ctx->path, "epk.", 4)) { in lws_jws_jose_cb() 172 memcpy(args->jwk_jctx.path, ctx->path + 4, in lws_jws_jose_cb() 173 sizeof(ctx->path) - 4); in lws_jws_jose_cb() 174 memcpy(args->jwk_jctx.buf, ctx->buf, ctx->npos); in lws_jws_jose_cb() 175 args->jwk_jctx.npos = ctx in lws_jws_jose_cb() [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | md5.c | 154 MD5Init(struct MD5Context *ctx) in MD5Init() argument 156 ctx->buf[0] = 0x67452301; in MD5Init() 157 ctx->buf[1] = 0xefcdab89; in MD5Init() 158 ctx->buf[2] = 0x98badcfe; in MD5Init() 159 ctx->buf[3] = 0x10325476; in MD5Init() 161 ctx->bits[0] = 0; in MD5Init() 162 ctx->bits[1] = 0; in MD5Init() 170 MD5Update(struct MD5Context *ctx, in MD5Update() argument 179 t = ctx->bits[0]; in MD5Update() 180 if ((ctx in MD5Update() 222 MD5Final(unsigned char digest[16], struct MD5Context *ctx) MD5Final() argument [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | hash.h | 59 * struct AVHashContext *ctx = NULL; 67 * ret = av_hash_alloc(&ctx, hash_name); 72 * av_hash_init(ctx); 76 * av_hash_update(ctx, data, size); 83 * output_buf = av_malloc(av_hash_get_size(ctx)); 92 * av_hash_final(ctx, output_buffer); 95 * av_hash_freep(&ctx); 125 int av_hash_alloc(struct AVHashContext **ctx, const char *name); 140 const char *av_hash_get_name(const struct AVHashContext *ctx); 164 * @param[in] ctx Has [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | feedback.h | 32 _mesa_feedback_vertex( struct gl_context *ctx, 39 _mesa_feedback_token( struct gl_context *ctx, GLfloat token ) in _mesa_feedback_token() argument 41 if (ctx->Feedback.Count < ctx->Feedback.BufferSize) { in _mesa_feedback_token() 42 ctx->Feedback.Buffer[ctx->Feedback.Count] = token; in _mesa_feedback_token() 44 ctx->Feedback.Count++; in _mesa_feedback_token() 49 _mesa_update_hitflag( struct gl_context *ctx, GLfloat z ); 53 _mesa_init_feedback( struct gl_context *ctx ); 56 _mesa_free_feedback( struct gl_context *ctx ); [all...] |
/third_party/ltp/testcases/kernel/syscalls/io_setup/ |
H A D | io_setup02.c | 31 aio_context_t ctx; in run() local 36 memset(&ctx, 1, sizeof(ctx)); in run() 37 TST_EXP_FAIL(tst_syscall(__NR_io_setup, 1, &ctx), EINVAL, in run() 40 memset(&ctx, 0, sizeof(ctx)); in run() 41 TST_EXP_FAIL(tst_syscall(__NR_io_setup, -1, &ctx), EINVAL, in run() 47 TST_EXP_FAIL(tst_syscall(__NR_io_setup, aio_max + 1, &ctx), EAGAIN, in run() 53 TST_EXP_PASS(tst_syscall(__NR_io_setup, 1, &ctx), in run() 55 TST_EXP_PASS_SILENT(tst_syscall(__NR_io_destroy, ctx)); in run() [all...] |
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_mbedtls_rsa.c | 114 static int32_t RsaSaveKeyMaterial(const mbedtls_rsa_context *ctx, const uint32_t keySize, struct HksBlob *key) in RsaSaveKeyMaterial() argument 133 ret = mbedtls_mpi_write_binary(&(ctx->MBEDTLS_PRIVATE(N)), rawMaterial + offset, keyMaterial->nSize); in RsaSaveKeyMaterial() 140 ret = mbedtls_mpi_write_binary(&(ctx->MBEDTLS_PRIVATE(E)), rawMaterial + offset, keyMaterial->eSize); in RsaSaveKeyMaterial() 147 ret = mbedtls_mpi_write_binary(&(ctx->MBEDTLS_PRIVATE(D)), rawMaterial + offset, keyMaterial->dSize); in RsaSaveKeyMaterial() 168 mbedtls_rsa_context ctx; in HksMbedtlsRsaGenerateKey() local 169 (void)memset_s(&ctx, sizeof(mbedtls_rsa_context), 0, sizeof(mbedtls_rsa_context)); in HksMbedtlsRsaGenerateKey() 170 mbedtls_rsa_init(&ctx); in HksMbedtlsRsaGenerateKey() 171 ctx.MBEDTLS_PRIVATE(padding) = 0; in HksMbedtlsRsaGenerateKey() 172 ctx.MBEDTLS_PRIVATE(hash_id) = 0; in HksMbedtlsRsaGenerateKey() 180 mbedtls_rsa_free(&ctx); in HksMbedtlsRsaGenerateKey() 203 RsaKeyMaterialToCtx(const struct HksBlob *key, const bool needPrivateExponent, mbedtls_rsa_context *ctx) RsaKeyMaterialToCtx() argument 283 HksMbedtlsRsaCryptMbedtls(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText, size_t *outlen, mbedtls_rsa_context *ctx) HksMbedtlsRsaCryptMbedtls() argument 422 HksMbedtlsRsaSignHandle(mbedtls_rsa_context *ctx, mbedtls_ctr_drbg_context *ctrDrbg, HksMbedtlsSignVerifyParam *signParam, const struct HksBlob *message, struct HksBlob *signature) HksMbedtlsRsaSignHandle() argument 439 HksMbedtlsRsaVerifyHandle(mbedtls_rsa_context *ctx, mbedtls_ctr_drbg_context *ctrDrbg, HksMbedtlsSignVerifyParam *verifyParam, const struct HksBlob *message, struct HksBlob *signature) HksMbedtlsRsaVerifyHandle() argument [all...] |
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | ts.h | 329 void TS_RESP_CTX_free(TS_RESP_CTX *ctx); 332 int TS_RESP_CTX_set_signer_cert(TS_RESP_CTX *ctx, X509 *signer); 335 int TS_RESP_CTX_set_signer_key(TS_RESP_CTX *ctx, EVP_PKEY *key); 337 int TS_RESP_CTX_set_signer_digest(TS_RESP_CTX *ctx, 339 int TS_RESP_CTX_set_ess_cert_id_digest(TS_RESP_CTX *ctx, const EVP_MD *md); 342 int TS_RESP_CTX_set_def_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *def_policy); 345 int TS_RESP_CTX_set_certs(TS_RESP_CTX *ctx, STACK_OF(X509) *certs); 351 int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy); 357 int TS_RESP_CTX_add_md(TS_RESP_CTX *ctx, const EVP_MD *md); 360 int TS_RESP_CTX_set_accuracy(TS_RESP_CTX *ctx, [all...] |
/third_party/skia/modules/svg/src/ |
H A D | SkSVGText.cpp | 29 static SkFont ResolveFont(const SkSVGRenderContext& ctx) { in ResolveFont() argument 66 const auto& family = ctx.presentationContext().fInherited.fFontFamily->family(); in ResolveFont() 67 const SkFontStyle style(weight(*ctx.presentationContext().fInherited.fFontWeight), in ResolveFont() 69 slant(*ctx.presentationContext().fInherited.fFontStyle)); in ResolveFont() 72 ctx.lengthContext().resolve(ctx.presentationContext().fInherited.fFontSize->size(), in ResolveFont() 77 auto tf = ctx.fontMgr()->legacyMakeTypeface(family.c_str(), style); in ResolveFont() 228 SkSVGTextContext::SkSVGTextContext(const SkSVGRenderContext& ctx, const ShapedTextCallback& cb, 230 : fRenderContext(ctx) 232 , fShaper(SkShaper::Make(ctx 411 flushChunk(const SkSVGRenderContext& ctx) flushChunk() argument 474 renderText(const SkSVGRenderContext& ctx, SkSVGTextContext* tctx, SkSVGXmlSpace xs) const renderText() argument 511 onShapeText(const SkSVGRenderContext& ctx, SkSVGTextContext* tctx, SkSVGXmlSpace) const onShapeText() argument 546 onShapeText(const SkSVGRenderContext& ctx, SkSVGTextContext* tctx, SkSVGXmlSpace xs) const onShapeText() argument 651 onShapeText(const SkSVGRenderContext& ctx, SkSVGTextContext* parent_tctx, SkSVGXmlSpace xs) const onShapeText() 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/ffmpeg/tests/checkasm/ |
H A D | sw_scale.c | 63 struct SwsContext *ctx; in check_yuv2yuvX() local 91 ctx = sws_alloc_context(); in check_yuv2yuvX() 92 if (sws_init_context(ctx, NULL, NULL) < 0) in check_yuv2yuvX() 95 ff_sws_init_scale(ctx); in check_yuv2yuvX() 109 if (check_func(ctx->yuv2planeX, "yuv2yuvX_%d_%d_%d", filter_sizes[fsi], osi, dstW)){ in check_yuv2yuvX() 119 if(ctx->use_mmx_vfilter){ in check_yuv2yuvX() 132 sws_freeContext(ctx); in check_yuv2yuvX() 156 struct SwsContext *ctx; in check_hscale() local 177 ctx = sws_alloc_context(); in check_hscale() 178 if (sws_init_context(ctx, NUL in check_hscale() [all...] |
/third_party/libwebsockets/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/ |
H A D | minimal-dbus-ws-proxy-testclient.c | 44 struct lws_dbus_ctx ctx; member 115 if (!dcwc || !dcwc->ctx.conn) in destroy_dbus_client_conn() 120 dbus_connection_remove_filter(dcwc->ctx.conn, filter, &dcwc->ctx); in destroy_dbus_client_conn() 121 dbus_connection_close(dcwc->ctx.conn); in destroy_dbus_client_conn() 122 dbus_connection_unref(dcwc->ctx.conn); in destroy_dbus_client_conn() 131 * ctx has effectively gone out of scope before this, and the connection can 132 * be cleaned up and the ctx freed. 136 cb_closing(struct lws_dbus_ctx *ctx) in cb_closing() argument 139 (struct lws_dbus_ctx_wsproxy_client *)ctx; in cb_closing() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_test_dma_perf.c | 44 struct pipe_context *ctx = screen->context_create(screen, NULL, 0); in si_test_dma_perf() local 45 struct si_context *sctx = (struct si_context *)ctx; in si_test_dma_perf() 141 compute_shader = si_create_dma_compute_shader(ctx, cs_dwords_per_thread, in si_test_dma_perf() 177 struct pipe_query *q = ctx->create_query(ctx, query_type, 0); in si_test_dma_perf() 178 ctx->begin_query(ctx, q); in si_test_dma_perf() 225 ctx->set_shader_buffers(ctx, PIPE_SHADER_COMPUTE, 0, is_copy ? 2 : 1, sb, 0x1); in si_test_dma_perf() 226 ctx in si_test_dma_perf() [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | buffer.c | 39 vlVaCreateBuffer(VADriverContextP ctx, VAContextID context, VABufferType type, in vlVaCreateBuffer() argument 46 if (!ctx) in vlVaCreateBuffer() 66 drv = VL_VA_DRIVER(ctx); in vlVaCreateBuffer() 75 vlVaBufferSetNumElements(VADriverContextP ctx, VABufferID buf_id, in vlVaBufferSetNumElements() argument 81 if (!ctx) in vlVaBufferSetNumElements() 84 drv = VL_VA_DRIVER(ctx); in vlVaBufferSetNumElements() 105 vlVaMapBuffer(VADriverContextP ctx, VABufferID buf_id, void **pbuff) in vlVaMapBuffer() argument 110 if (!ctx) in vlVaMapBuffer() 113 drv = VL_VA_DRIVER(ctx); in vlVaMapBuffer() 169 vlVaUnmapBuffer(VADriverContextP ctx, VABufferI argument 213 vlVaDestroyBuffer(VADriverContextP ctx, VABufferID buf_id) vlVaDestroyBuffer() argument 245 vlVaBufferInfo(VADriverContextP ctx, VABufferID buf_id, VABufferType *type, unsigned int *size, unsigned int *num_elements) vlVaBufferInfo() argument 269 vlVaAcquireBufferHandle(VADriverContextP ctx, VABufferID buf_id, VABufferInfo *out_buf_info) vlVaAcquireBufferHandle() argument 365 vlVaReleaseBufferHandle(VADriverContextP ctx, VABufferID buf_id) vlVaReleaseBufferHandle() argument [all...] |