Home
last modified time | relevance | path

Searched refs:ctx (Results 1351 - 1375 of 7287) sorted by relevance

1...<<51525354555657585960>>...292

/third_party/python/Python/
H A Dcontext.c55 token_new(PyContext *ctx, PyContextVar *var, PyObject *val);
95 PyContext *ctx = (PyContext *)octx; in PyContext_Copy()
96 return (PyObject *)context_new_from_vars(ctx->ctx_vars); in PyContext_Copy()
103 PyContext *ctx = context_get(); in PyContext_CopyCurrent() local
104 if (ctx == NULL) { in PyContext_CopyCurrent()
108 return (PyObject *)context_new_from_vars(ctx->ctx_vars); in PyContext_CopyCurrent()
116 PyContext *ctx = (PyContext *)octx; in _PyContext_Enter() local
118 if (ctx->ctx_entered) { in _PyContext_Enter()
120 "cannot enter context: %R is already entered", ctx); in _PyContext_Enter()
124 ctx in _PyContext_Enter()
148 PyContext *ctx = (PyContext *)octx; _PyContext_Exit() local
270 PyContext *ctx = context_get(); PyContextVar_Set() local
314 PyContext *ctx = context_get(); PyContextVar_Reset() local
343 PyContext *ctx; _context_alloc() local
379 PyContext *ctx = _context_alloc(); context_new_empty() local
398 PyContext *ctx = _context_alloc(); context_new_from_vars() local
741 PyContext *ctx = context_get(); contextvar_set() local
765 PyContext *ctx = context_get(); contextvar_del() local
1224 token_new(PyContext *ctx, PyContextVar *var, PyObject *val) token_new() argument
1303 PyContext *ctx = state->freelist; _PyContext_ClearFreeList() local
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_lower_parallelcopy.c285 entry_blocked(struct copy_entry *entry, struct copy_ctx *ctx) in entry_blocked() argument
288 if (ctx->physreg_use_count[entry->dst + i] != 0) in entry_blocked()
296 split_32bit_copy(struct copy_ctx *ctx, struct copy_entry *entry) in split_32bit_copy() argument
301 struct copy_entry *new_entry = &ctx->entries[ctx->entry_count++]; in split_32bit_copy()
309 ctx->physreg_dst[entry->dst + 1] = new_entry; in split_32bit_copy()
314 struct copy_ctx *ctx) in _handle_copies()
317 memset(ctx->physreg_dst, 0, sizeof(ctx->physreg_dst)); in _handle_copies()
318 memset(ctx in _handle_copies()
313 _handle_copies(struct ir3_compiler *compiler, struct ir3_instruction *instr, struct copy_ctx *ctx) _handle_copies() argument
477 struct copy_ctx ctx; handle_copies() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/amber/
H A DvktAmberTestCase.cpp62 TestInstance* AmberTestCase::createInstance (Context& ctx) const in createInstance()
64 return new AmberTestInstance(ctx, m_recipe, nullptr); in createInstance()
67 static amber::EngineConfig* createEngineConfig (Context& ctx, vk::VkDevice customDevice) in createEngineConfig() argument
69 vk::VkDevice dev = customDevice != nullptr ? customDevice : ctx.getDevice(); in createEngineConfig()
71 vk::DeviceDriver vk(ctx.getPlatformInterface(), ctx.getInstance(), dev); in createEngineConfig()
72 vk.getDeviceQueue(dev, ctx.getUniversalQueueFamilyIndex(), 0, &queue); in createEngineConfig()
74 amber::EngineConfig* vkConfig = GetVulkanConfig(ctx.getInstance(), in createEngineConfig()
75 ctx.getPhysicalDevice(), dev, &ctx in createEngineConfig()
85 isFeatureSupported(const vkt::Context& ctx, const std::string& feature) isFeatureSupported() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_symc_v100.c59 hi_void *ctx; /* params for isr callback function */ member
75 symc_hard_context *ctx = HI_NULL; in drv_symc_done_try() local
87 ctx = crypto_channel_get_context(g_symc_hard_channel, CRYPTO_HARD_CHANNEL_MAX, chn_num); in drv_symc_done_try()
88 if (ctx == HI_NULL) { in drv_symc_done_try()
89 hi_log_error("crypto channel get context failed, ctx is null!\n"); in drv_symc_done_try()
96 ctx->cnt -= process; in drv_symc_done_try()
105 symc_hard_context *ctx = HI_NULL; in drv_symc_done_notify() local
123 ctx = crypto_channel_get_context(g_symc_hard_channel, CRYPTO_HARD_CHANNEL_MAX, i); in drv_symc_done_notify()
124 if (ctx == HI_NULL) { in drv_symc_done_notify()
125 hi_log_error("crypto channel get context failed, ctx i in drv_symc_done_notify()
143 symc_hard_context *ctx = HI_NULL; drv_symc_interrupt_isr() local
287 symc_hard_context *ctx = HI_NULL; drv_symc_wait_irq() local
314 symc_hard_context *ctx = (symc_hard_context *)g_symc_hard_channel[chn].ctx; drv_symc_set_entry() local
518 symc_hard_context *ctx = HI_NULL; drv_symc_print_last_node() local
663 cryp_symc_context ctx; drv_cipher_aes_test() local
997 symc_hard_context *ctx = HI_NULL; drv_symc_free_chn() local
1014 symc_hard_context *ctx = HI_NULL; drv_symc_set_iv() local
1082 drv_symc_add_iv_to_node(symc_hard_context *ctx, hi_u8 *iv, hi_u32 iv_len, hi_u32 *flgs) drv_symc_add_iv_to_node() argument
1116 symc_hard_context *ctx = HI_NULL; drv_symc_add_inbuf() local
1178 symc_hard_context *ctx = HI_NULL; drv_symc_add_outbuf() local
1347 drv_symc_cfg(cryp_symc_context *ctx, hi_u32 decrypt, symc_klen klen) drv_symc_cfg() argument
1379 drv_symc_set_isr_callback(hi_u32 chn_num, callback_symc_isr callback, hi_void *ctx) drv_symc_set_isr_callback() argument
1404 symc_hard_context *ctx = HI_NULL; drv_symc_start() local
1498 symc_hard_context *ctx = HI_NULL; drv_symc_set_destroy_callback() local
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/inc/
H A Dmpp_bitwrite.h39 MPP_RET mpp_writer_init(MppWriteCtx *ctx, void *p, RK_S32 size);
40 MPP_RET mpp_writer_reset(MppWriteCtx *ctx);
43 MPP_RET mpp_writer_status(MppWriteCtx *ctx);
45 void mpp_writer_flush(MppWriteCtx *ctx);
48 void mpp_writer_put_raw_bits(MppWriteCtx *ctx, RK_S32 val, RK_S32 len);
51 void mpp_writer_put_bits(MppWriteCtx *ctx, RK_S32 val, RK_S32 len);
54 void mpp_writer_align_zero(MppWriteCtx *ctx);
57 void mpp_writer_align_one(MppWriteCtx *ctx);
60 void mpp_writer_trailing(MppWriteCtx * ctx);
62 void mpp_writer_put_ue(MppWriteCtx *ctx, RK_U3
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_liveness.c49 mir_compute_liveness(compiler_context *ctx) in mir_compute_liveness() argument
52 if (ctx->metadata & MIDGARD_METADATA_LIVENESS) in mir_compute_liveness()
55 mir_compute_temp_count(ctx); in mir_compute_liveness()
56 pan_compute_liveness(&ctx->blocks, ctx->temp_count, mir_liveness_ins_update_wrap); in mir_compute_liveness()
59 ctx->metadata |= MIDGARD_METADATA_LIVENESS; in mir_compute_liveness()
65 mir_invalidate_liveness(compiler_context *ctx) in mir_invalidate_liveness() argument
68 if (!(ctx->metadata & MIDGARD_METADATA_LIVENESS)) in mir_invalidate_liveness()
71 pan_free_liveness(&ctx->blocks); in mir_invalidate_liveness()
74 ctx in mir_invalidate_liveness()
78 mir_is_live_after(compiler_context *ctx, midgard_block *block, midgard_instruction *start, int src) mir_is_live_after() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Daacpsy.c262 static av_cold void lame_window_init(AacPsyContext *ctx, AVCodecContext *avctx) in lame_window_init() argument
267 AacPsyChannel *pch = &ctx->ch[i]; in lame_window_init()
301 static av_cold int psy_3gpp_init(FFPsyContext *ctx) { in psy_3gpp_init() argument
306 int chan_bitrate = ctx->avctx->bit_rate / ((ctx->avctx->flags & AV_CODEC_FLAG_QSCALE) ? 2.0f : ctx->avctx->ch_layout.nb_channels); in psy_3gpp_init()
308 const int bandwidth = ctx->cutoff ? ctx->cutoff : AAC_CUTOFF(ctx->avctx); in psy_3gpp_init()
314 ctx in psy_3gpp_init()
408 psy_3gpp_window(FFPsyContext *ctx, const int16_t *audio, const int16_t *la, int channel, int prev_type) psy_3gpp_window() argument
494 calc_bit_demand(AacPsyContext *ctx, float pe, int bits, int size, int short_window) calc_bit_demand() argument
652 psy_3gpp_analyze_channel(FFPsyContext *ctx, int channel, const float *coefs, const FFPsyWindowInfo *wi) psy_3gpp_analyze_channel() argument
848 psy_3gpp_analyze(FFPsyContext *ctx, int channel, const float **coeffs, const FFPsyWindowInfo *wi) psy_3gpp_analyze() argument
866 lame_apply_block_type(AacPsyChannel *ctx, FFPsyWindowInfo *wi, int uselongblock) lame_apply_block_type() argument
884 psy_lame_window(FFPsyContext *ctx, const float *audio, const float *la, int channel, int prev_type) psy_lame_window() argument
[all...]
H A Dmpeg4videodec.c78 Mpeg4DecContext *const ctx = (Mpeg4DecContext*)s; in ff_mpeg4_decode_studio() local
81 if (ctx->dpcm_direction == 0) { in ff_mpeg4_decode_studio()
82 s->idsp.idct_put(dest_y, dct_linesize, (int16_t*)ctx->block32[0]); in ff_mpeg4_decode_studio()
83 s->idsp.idct_put(dest_y + act_block_size, dct_linesize, (int16_t*)ctx->block32[1]); in ff_mpeg4_decode_studio()
84 s->idsp.idct_put(dest_y + dct_offset, dct_linesize, (int16_t*)ctx->block32[2]); in ff_mpeg4_decode_studio()
85 s->idsp.idct_put(dest_y + dct_offset + act_block_size, dct_linesize, (int16_t*)ctx->block32[3]); in ff_mpeg4_decode_studio()
90 s->idsp.idct_put(dest_cb, dct_linesize, (int16_t*)ctx->block32[4]); in ff_mpeg4_decode_studio()
91 s->idsp.idct_put(dest_cr, dct_linesize, (int16_t*)ctx->block32[5]); in ff_mpeg4_decode_studio()
92 s->idsp.idct_put(dest_cb + dct_offset, dct_linesize, (int16_t*)ctx->block32[6]); in ff_mpeg4_decode_studio()
93 s->idsp.idct_put(dest_cr + dct_offset, dct_linesize, (int16_t*)ctx in ff_mpeg4_decode_studio()
197 mpeg4_is_resync(Mpeg4DecContext *ctx) mpeg4_is_resync() argument
247 mpeg4_decode_sprite_trajectory(Mpeg4DecContext *ctx, GetBitContext *gb) mpeg4_decode_sprite_trajectory() argument
500 decode_new_pred(Mpeg4DecContext *ctx, GetBitContext *gb) decode_new_pred() argument
516 ff_mpeg4_decode_video_packet_header(Mpeg4DecContext *ctx) ff_mpeg4_decode_video_packet_header() argument
617 ff_mpeg4_decode_studio_slice_header(Mpeg4DecContext *ctx) ff_mpeg4_decode_studio_slice_header() argument
659 get_amv(Mpeg4DecContext *ctx, int n) get_amv() argument
759 mpeg4_decode_partition_a(Mpeg4DecContext *ctx) mpeg4_decode_partition_a() argument
1046 ff_mpeg4_decode_partitions(Mpeg4DecContext *ctx) ff_mpeg4_decode_partitions() argument
1111 mpeg4_decode_block(Mpeg4DecContext *ctx, int16_t *block, int n, int coded, int intra, int use_intra_dc_vlc, int rvlc) mpeg4_decode_block() argument
1385 Mpeg4DecContext *ctx = s->avctx->priv_data; mpeg4_decode_partitioned_mb() local
1473 Mpeg4DecContext *ctx = s->avctx->priv_data; mpeg4_decode_mb() local
1893 Mpeg4DecContext *ctx = s->avctx->priv_data; mpeg4_decode_studio_block() local
2091 Mpeg4DecContext *const ctx = (Mpeg4DecContext*)s; mpeg4_decode_studio_mb() local
2288 decode_studio_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb) decode_studio_vol_header() argument
2374 decode_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb) decode_vol_header() argument
2749 decode_user_data(Mpeg4DecContext *ctx, GetBitContext *gb) decode_user_data() argument
2808 Mpeg4DecContext *ctx = avctx->priv_data; ff_mpeg4_workaround_bugs() local
2924 decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb, int parse_only) decode_vop_header() argument
3207 decode_smpte_tc(Mpeg4DecContext *ctx, GetBitContext *gb) decode_smpte_tc() argument
3226 decode_studio_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb) decode_studio_vop_header() argument
3281 decode_studiovisualobject(Mpeg4DecContext *ctx, GetBitContext *gb) decode_studiovisualobject() argument
3309 ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb, int header, int parse_only) ff_mpeg4_decode_picture_header() argument
3469 Mpeg4DecContext *ctx = avctx->priv_data; ff_mpeg4_frame_end() local
3626 Mpeg4DecContext *ctx = avctx->priv_data; decode_init() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_macsec_linux.c55 struct macsec_genl_ctx ctx; member
89 const struct macsec_genl_ctx *ctx, in msg_prepare()
100 if (!genlmsg_put(msg, 0, 0, ctx->macsec_genl_id, 0, 0, cmd, 0)) { in msg_prepare()
135 struct macsec_genl_ctx *ctx = &drv->ctx; in init_genl_ctx() local
137 ctx->sk = nl_socket_alloc(); in init_genl_ctx()
138 if (!ctx->sk) { in init_genl_ctx()
143 if (genl_connect(ctx->sk) < 0) { in init_genl_ctx()
149 ctx->macsec_genl_id = genl_ctrl_resolve(ctx in init_genl_ctx()
88 msg_prepare(enum macsec_nl_commands cmd, const struct macsec_genl_ctx *ctx, unsigned int ifindex) msg_prepare() argument
289 macsec_drv_wpa_init(void *ctx, const char *ifname) macsec_drv_wpa_init() argument
635 struct macsec_genl_ctx *ctx = &drv->ctx; do_dump() local
704 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_set_receive_lowest_pn() local
768 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_set_transmit_next_pn() local
820 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_create_receive_sc() local
858 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_delete_receive_sc() local
894 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_create_receive_sa() local
953 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_delete_receive_sa() local
990 set_active_rx_sa(const struct macsec_genl_ctx *ctx, int ifindex, u64 sci, unsigned char an, Boolean state) set_active_rx_sa() argument
1034 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_enable_receive_sa() local
1054 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_disable_receive_sa() local
1211 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_create_transmit_sa() local
1266 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_delete_transmit_sa() local
1300 set_active_tx_sa(const struct macsec_genl_ctx *ctx, int ifindex, unsigned char an, Boolean state) set_active_tx_sa() argument
1342 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_enable_transmit_sa() local
1371 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_disable_transmit_sa() local
1407 macsec_drv_handle_data(void *ctx, unsigned char *buf, size_t len) macsec_drv_handle_data() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_macsec_linux.c55 struct macsec_genl_ctx ctx; member
87 const struct macsec_genl_ctx *ctx, in msg_prepare()
98 if (!genlmsg_put(msg, 0, 0, ctx->macsec_genl_id, 0, 0, cmd, 0)) { in msg_prepare()
133 struct macsec_genl_ctx *ctx = &drv->ctx; in init_genl_ctx() local
135 ctx->sk = nl_socket_alloc(); in init_genl_ctx()
136 if (!ctx->sk) { in init_genl_ctx()
141 if (genl_connect(ctx->sk) < 0) { in init_genl_ctx()
147 ctx->macsec_genl_id = genl_ctrl_resolve(ctx in init_genl_ctx()
86 msg_prepare(enum macsec_nl_commands cmd, const struct macsec_genl_ctx *ctx, unsigned int ifindex) msg_prepare() argument
287 macsec_drv_wpa_init(void *ctx, const char *ifname) macsec_drv_wpa_init() argument
633 struct macsec_genl_ctx *ctx = &drv->ctx; do_dump() local
702 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_set_receive_lowest_pn() local
769 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_set_transmit_next_pn() local
821 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_create_receive_sc() local
859 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_delete_receive_sc() local
895 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_create_receive_sa() local
954 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_delete_receive_sa() local
991 set_active_rx_sa(const struct macsec_genl_ctx *ctx, int ifindex, u64 sci, unsigned char an, bool state) set_active_rx_sa() argument
1035 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_enable_receive_sa() local
1055 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_disable_receive_sa() local
1212 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_create_transmit_sa() local
1267 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_delete_transmit_sa() local
1301 set_active_tx_sa(const struct macsec_genl_ctx *ctx, int ifindex, unsigned char an, bool state) set_active_tx_sa() argument
1343 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_enable_transmit_sa() local
1372 struct macsec_genl_ctx *ctx = &drv->ctx; macsec_drv_disable_transmit_sa() local
1408 macsec_drv_handle_data(void *ctx, unsigned char *buf, size_t len) macsec_drv_handle_data() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/
H A Dclk.c221 static struct clk *rockchip_clk_register_frac_branch(struct rockchip_clk_provider *ctx, const char *name, in rockchip_clk_register_frac_branch() argument
310 rockchip_clk_add_lookup(ctx, mux_clk, child->id); in rockchip_clk_register_frac_branch()
372 struct rockchip_clk_provider *ctx, const char *name, const char *const *parent_names, u8 num_parents, in rockchip_clk_register_composite_brother_branch()
400 rockchip_clk_add_lookup(ctx, brother_clk, brother->id); in rockchip_clk_register_composite_brother_branch()
416 struct rockchip_clk_provider *ctx; in rockchip_clk_init() local
420 ctx = kzalloc(sizeof(struct rockchip_clk_provider), GFP_KERNEL); in rockchip_clk_init()
421 if (!ctx) { in rockchip_clk_init()
434 ctx->reg_base = base; in rockchip_clk_init()
435 ctx->clk_data.clks = clk_table; in rockchip_clk_init()
436 ctx in rockchip_clk_init()
371 rockchip_clk_register_composite_brother_branch( struct rockchip_clk_provider *ctx, const char *name, const char *const *parent_names, u8 num_parents, void __iomem *base, int muxdiv_offset, u8 mux_shift, u8 mux_width, u8 mux_flags, u32 *mux_table, int div_offset, u8 div_shift, u8 div_width, u8 div_flags, struct clk_div_table *div_table, int gate_offset, u8 gate_shift, u8 gate_flags, unsigned long flags, struct rockchip_clk_branch *brother, spinlock_t *lock) rockchip_clk_register_composite_brother_branch() argument
451 rockchip_clk_of_add_provider(struct device_node *np, struct rockchip_clk_provider *ctx) rockchip_clk_of_add_provider() argument
459 rockchip_clk_add_lookup(struct rockchip_clk_provider *ctx, struct clk *clk, unsigned int id) rockchip_clk_add_lookup() argument
467 rockchip_clk_register_plls(struct rockchip_clk_provider *ctx, struct rockchip_pll_clock *list, unsigned int nr_pll, int grf_lock_offset) rockchip_clk_register_plls() argument
487 rockchip_clk_register_branches(struct rockchip_clk_provider *ctx, struct rockchip_clk_branch *list, unsigned int nr_clk) rockchip_clk_register_branches() argument
610 rockchip_clk_register_armclk(struct rockchip_clk_provider *ctx, unsigned int lookup_id, const char *name, u8 num_parents, struct clk *parent, struct clk *alt_parent, const struct rockchip_cpuclk_reg_data *reg_data, const struct rockchip_cpuclk_rate_table *rates, int nrates) rockchip_clk_register_armclk() argument
661 rockchip_register_restart_notifier(struct rockchip_clk_provider *ctx, unsigned int reg, void (*cb)(void)) rockchip_register_restart_notifier() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dkernel.cpp447 kernel::scalar_argument::bind(exec_context &ctx, in bind() argument
452 byteswap(w, ctx.q->device().endianness()); in bind()
453 align(ctx.input, barg.target_align); in bind()
454 insert(ctx.input, w); in bind()
458 kernel::scalar_argument::unbind(exec_context &ctx) { in unbind() argument
482 kernel::global_argument::bind(exec_context &ctx, in bind() argument
484 align(ctx.input, barg.target_align); in bind()
487 const resource &r = buf->resource_in(*ctx.q); in bind()
488 ctx.g_handles.push_back(ctx in bind()
510 unbind(exec_context &ctx) unbind() argument
531 bind(exec_context &ctx, const binary::argument &barg) bind() argument
545 unbind(exec_context &ctx) unbind() argument
561 bind(exec_context &ctx, const binary::argument &barg) bind() argument
582 unbind(exec_context &ctx) unbind() argument
603 bind(exec_context &ctx, const binary::argument &barg) bind() argument
617 unbind(exec_context &ctx) unbind() argument
634 bind(exec_context &ctx, const binary::argument &barg) bind() argument
646 unbind(exec_context &ctx) unbind() argument
665 bind(exec_context &ctx, const binary::argument &barg) bind() argument
672 unbind(exec_context &ctx) unbind() argument
[all...]
/third_party/openssl/test/helpers/
H A Dssltestlib.c309 MEMPACKET_TEST_CTX *ctx; in mempacket_test_new() local
311 if (!TEST_ptr(ctx = OPENSSL_zalloc(sizeof(*ctx)))) in mempacket_test_new()
313 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) { in mempacket_test_new()
314 OPENSSL_free(ctx); in mempacket_test_new()
317 ctx->dropepoch = 0; in mempacket_test_new()
318 ctx->droprec = -1; in mempacket_test_new()
320 BIO_set_data(bio, ctx); in mempacket_test_new()
326 MEMPACKET_TEST_CTX *ctx = BIO_get_data(bio); in mempacket_test_free() local
328 sk_MEMPACKET_pop_free(ctx in mempacket_test_free()
346 MEMPACKET_TEST_CTX *ctx = BIO_get_data(bio); mempacket_test_read() local
419 MEMPACKET_TEST_CTX *ctx = BIO_get_data(bio); mempacket_swap_epoch() local
499 MEMPACKET_TEST_CTX *ctx = BIO_get_data(bio); mempacket_move_packet() local
535 MEMPACKET_TEST_CTX *ctx = BIO_get_data(bio); mempacket_test_inject() local
653 MEMPACKET_TEST_CTX *ctx = BIO_get_data(bio); mempacket_test_ctrl() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_drawtext.c321 static int load_glyph(AVFilterContext *ctx, Glyph **glyph_ptr, uint32_t code) in load_glyph() argument
323 DrawTextContext *s = ctx->priv; in load_glyph()
389 static av_cold int set_fontsize(AVFilterContext *ctx, unsigned int fontsize) in set_fontsize() argument
392 DrawTextContext *s = ctx->priv; in set_fontsize()
395 av_log(ctx, AV_LOG_ERROR, "Could not set font size to %d pixels: %s\n", in set_fontsize()
405 static av_cold int parse_fontsize(AVFilterContext *ctx) in parse_fontsize() argument
407 DrawTextContext *s = ctx->priv; in parse_fontsize()
417 NULL, NULL, fun2_names, fun2, 0, ctx)) < 0) in parse_fontsize()
423 static av_cold int update_fontsize(AVFilterContext *ctx) in update_fontsize() argument
425 DrawTextContext *s = ctx in update_fontsize()
459 load_font_file(AVFilterContext *ctx, const char *path, int index) load_font_file() argument
476 load_font_fontconfig(AVFilterContext *ctx) load_font_fontconfig() argument
559 load_font(AVFilterContext *ctx) load_font() argument
581 load_textfile(AVFilterContext *ctx) load_textfile() argument
611 shape_text(AVFilterContext *ctx) shape_text() argument
708 init(AVFilterContext *ctx) init() argument
823 query_formats(AVFilterContext *ctx) query_formats() argument
838 uninit(AVFilterContext *ctx) uninit() argument
866 AVFilterContext *ctx = inlink->dst; config_input() local
907 command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags) command() argument
954 func_pict_type(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_pict_type() argument
963 func_pts(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_pts() argument
1023 func_frame_num(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_frame_num() argument
1032 func_metadata(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_metadata() argument
1045 func_strftime(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_strftime() argument
1124 func_eval_expr(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_eval_expr() argument
1144 func_eval_expr_int_format(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv, int tag) func_eval_expr_int_format() argument
1225 eval_function(AVFilterContext *ctx, AVBPrint *bp, char *fct, unsigned argc, char **argv) eval_function() argument
1252 expand_function(AVFilterContext *ctx, AVBPrint *bp, char **rtext) expand_function() argument
1292 expand_text(AVFilterContext *ctx, char *text, AVBPrint *bp) expand_text() argument
1383 draw_text(AVFilterContext *ctx, AVFrame *frame, int width, int height) draw_text() argument
1612 AVFilterContext *ctx = inlink->dst; filter_frame() local
[all...]
H A Dvf_colorkey.c44 int (*do_slice)(AVFilterContext *ctx, void *arg,
74 ColorkeyContext *ctx = avctx->priv; \
75 const float similarity = ctx->similarity; \
76 const float iblend = 1.f / ctx->blend; \
77 const uint8_t *colorkey_rgba = ctx->colorkey_rgba; \
78 const uint8_t *co = ctx->co; \
79 const double scale = ctx->scale; \
80 const int max = ctx->max; \
109 ColorkeyContext *ctx = avctx->priv; \
110 const int depth = ctx
153 ColorkeyContext *ctx = avctx->priv; filter_frame() local
166 ColorkeyContext *ctx = avctx->priv; config_output() local
[all...]
H A Dvf_transpose_opencl.c43 TransposeOpenCLContext *ctx = avctx->priv; in transpose_opencl_init() local
51 ctx->command_queue = clCreateCommandQueue(ctx->ocf.hwctx->context, in transpose_opencl_init()
52 ctx->ocf.hwctx->device_id, in transpose_opencl_init()
57 ctx->kernel = clCreateKernel(ctx->ocf.program, "transpose", &cle); in transpose_opencl_init()
61 ctx->initialised = 1; in transpose_opencl_init()
65 if (ctx->command_queue) in transpose_opencl_init()
66 clReleaseCommandQueue(ctx->command_queue); in transpose_opencl_init()
67 if (ctx in transpose_opencl_init()
137 TransposeOpenCLContext *ctx = avctx->priv; transpose_opencl_filter_frame() local
215 TransposeOpenCLContext *ctx = avctx->priv; transpose_opencl_uninit() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_ccm.c25 PROV_AES_CCM_CTX *ctx; in aes_ccm_newctx() local
30 ctx = OPENSSL_zalloc(sizeof(*ctx)); in aes_ccm_newctx()
31 if (ctx != NULL) in aes_ccm_newctx()
32 ossl_ccm_initctx(&ctx->base, keybits, ossl_prov_aes_hw_ccm(keybits)); in aes_ccm_newctx()
33 return ctx; in aes_ccm_newctx()
38 PROV_AES_CCM_CTX *ctx = provctx; in aes_ccm_dupctx() local
41 if (ctx == NULL) in aes_ccm_dupctx()
43 dupctx = OPENSSL_memdup(provctx, sizeof(*ctx)); in aes_ccm_dupctx()
59 PROV_AES_CCM_CTX *ctx in aes_ccm_freectx() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/sha/
H A Dsha_ppc.c17 void sha256_block_p8(void *ctx, const void *inp, size_t len);
18 void sha256_block_ppc(void *ctx, const void *inp, size_t len);
19 void sha256_block_data_order(void *ctx, const void *inp, size_t len);
20 void sha256_block_data_order(void *ctx, const void *inp, size_t len) in sha256_block_data_order() argument
22 OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha256_block_p8(ctx, inp, len) : in sha256_block_data_order()
23 sha256_block_ppc(ctx, inp, len); in sha256_block_data_order()
26 void sha512_block_p8(void *ctx, const void *inp, size_t len);
27 void sha512_block_ppc(void *ctx, const void *inp, size_t len);
28 void sha512_block_data_order(void *ctx, const void *inp, size_t len);
29 void sha512_block_data_order(void *ctx, cons argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dlegacy_meth.h11 static int nm##_init(EVP_MD_CTX *ctx) \
13 return fn##_Init(EVP_MD_CTX_get0_md_data(ctx)); \
15 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
17 return fn##_Update(EVP_MD_CTX_get0_md_data(ctx), data, count); \
19 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
21 return fn##_Final(md, EVP_MD_CTX_get0_md_data(ctx)); \
25 static int nm##_init(EVP_MD_CTX *ctx) \
27 return fn##_init(EVP_MD_CTX_get0_md_data(ctx)); \
29 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
31 return fn##_update(EVP_MD_CTX_get0_md_data(ctx), dat
[all...]
/third_party/openssl/crypto/evp/
H A Dlegacy_meth.h11 static int nm##_init(EVP_MD_CTX *ctx) \
13 return fn##_Init(EVP_MD_CTX_get0_md_data(ctx)); \
15 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
17 return fn##_Update(EVP_MD_CTX_get0_md_data(ctx), data, count); \
19 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
21 return fn##_Final(md, EVP_MD_CTX_get0_md_data(ctx)); \
25 static int nm##_init(EVP_MD_CTX *ctx) \
27 return fn##_init(EVP_MD_CTX_get0_md_data(ctx)); \
29 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
31 return fn##_update(EVP_MD_CTX_get0_md_data(ctx), dat
[all...]
/third_party/openssl/crypto/sha/
H A Dsha_ppc.c17 void sha256_block_p8(void *ctx, const void *inp, size_t len);
18 void sha256_block_ppc(void *ctx, const void *inp, size_t len);
19 void sha256_block_data_order(void *ctx, const void *inp, size_t len);
20 void sha256_block_data_order(void *ctx, const void *inp, size_t len) in sha256_block_data_order() argument
22 OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha256_block_p8(ctx, inp, len) : in sha256_block_data_order()
23 sha256_block_ppc(ctx, inp, len); in sha256_block_data_order()
26 void sha512_block_p8(void *ctx, const void *inp, size_t len);
27 void sha512_block_ppc(void *ctx, const void *inp, size_t len);
28 void sha512_block_data_order(void *ctx, const void *inp, size_t len);
29 void sha512_block_data_order(void *ctx, cons argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_draw.c43 draw_impl(struct fd_context *ctx, struct fd_ringbuffer *ring,
47 enum pc_di_primtype primtype = ctx->screen->primtypes[info->mode];
49 fd5_emit_state(ctx, ring, emit);
64 fd5_emit_render_cntl(ctx, false, emit->binning_pass);
65 fd5_draw_emit(ctx->batch, ring, primtype,
71 fd5_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
78 .debug = &ctx->debug,
79 .vtx = &ctx->vtx,
85 .vs = ctx->prog.vs,
86 .fs = ctx
147 fd_context_all_clean(ctx); global() variable
350 struct fd_context *ctx = fd_context(pctx); global() variable
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_batch.c41 struct fd_context *ctx = batch->ctx; in alloc_ring() local
51 if ((fd_device_version(ctx->screen->dev) >= FD_VERSION_UNLIMITED_CMDS) && in alloc_ring()
63 struct fd_context *ctx = batch->ctx; in batch_init() local
65 batch->submit = fd_submit_new(ctx->pipe); in batch_init()
74 if (ctx->screen->gen < 6) { in batch_init()
86 if (ctx->screen->gen < 6) in batch_init()
107 if (is_a2xx(ctx->screen)) { in batch_init()
112 if (is_a3xx(ctx in batch_init()
124 fd_batch_create(struct fd_context *ctx, bool nondraw) fd_batch_create() argument
291 struct fd_context *ctx = batch->ctx; __fd_batch_destroy() local
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_vdpau.c61 st_vdpau_video_surface_gallium(struct gl_context *ctx, const void *vdpSurface, in st_vdpau_video_surface_gallium() argument
65 uint32_t device = (uintptr_t)ctx->vdpDevice; in st_vdpau_video_surface_gallium()
73 getProcAddr = (void *)ctx->vdpGetProcAddress; in st_vdpau_video_surface_gallium()
94 st_vdpau_output_surface_gallium(struct gl_context *ctx, const void *vdpSurface) in st_vdpau_output_surface_gallium() argument
97 uint32_t device = (uintptr_t)ctx->vdpDevice; in st_vdpau_output_surface_gallium()
101 getProcAddr = (void *)ctx->vdpGetProcAddress; in st_vdpau_output_surface_gallium()
110 st_vdpau_resource_from_description(struct gl_context *ctx, in st_vdpau_resource_from_description() argument
113 struct st_context *st = st_context(ctx); in st_vdpau_resource_from_description()
147 st_vdpau_output_surface_dma_buf(struct gl_context *ctx, const void *vdpSurface) in st_vdpau_output_surface_dma_buf() argument
150 uint32_t device = (uintptr_t)ctx in st_vdpau_output_surface_dma_buf()
166 st_vdpau_video_surface_dma_buf(struct gl_context *ctx, const void *vdpSurface, GLuint index) st_vdpau_video_surface_dma_buf() argument
186 st_vdpau_map_surface(struct gl_context *ctx, GLenum target, GLenum access, GLboolean output, struct gl_texture_object *texObj, struct gl_texture_image *texImage, const void *vdpSurface, GLuint index) st_vdpau_map_surface() argument
262 st_vdpau_unmap_surface(struct gl_context *ctx, GLenum target, GLenum access, GLboolean output, struct gl_texture_object *texObj, struct gl_texture_image *texImage, const void *vdpSurface, GLuint index) st_vdpau_unmap_surface() argument
[all...]
H A Dst_atom_texture.c63 struct gl_context *ctx = st->ctx; in st_update_single_texture() local
66 texObj = ctx->Texture.Unit[texUnit]._Current; in st_update_single_texture()
74 if (!st_finalize_texture(ctx, st->pipe, texObj, 0) || !texObj->pt) in st_update_single_texture()
82 _mesa_get_samplerobj(ctx, texUnit), in st_update_single_texture()
164 st_get_texture_object(st->ctx, prog, unit); in st_get_sampler_views()
279 const struct gl_context *ctx = st->ctx; in st_update_vertex_textures() local
281 if (ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits > 0) { in st_update_vertex_textures()
283 ctx in st_update_vertex_textures()
291 const struct gl_context *ctx = st->ctx; st_update_fragment_textures() local
301 const struct gl_context *ctx = st->ctx; st_update_geometry_textures() local
313 const struct gl_context *ctx = st->ctx; st_update_tessctrl_textures() local
325 const struct gl_context *ctx = st->ctx; st_update_tesseval_textures() local
337 const struct gl_context *ctx = st->ctx; st_update_compute_textures() local
[all...]

Completed in 19 milliseconds

1...<<51525354555657585960>>...292