/third_party/ffmpeg/libavfilter/ |
H A D | vf_siti.c | 75 static av_cold int init(AVFilterContext *ctx) in init() argument 78 SiTiContext *s = ctx->priv; in init() 84 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 86 SiTiContext *s = ctx->priv; in uninit() 91 av_log(ctx, AV_LOG_INFO, in uninit() 107 AVFilterContext *ctx = inlink->dst; in config_input() local 108 SiTiContext *s = ctx->priv; in config_input() 283 AVFilterContext *ctx = inlink->dst; in filter_frame() local 284 SiTiContext *s = ctx->priv; in filter_frame()
|
/third_party/curl/lib/ |
H A D | http_chunks.c | 389 struct chunked_writer *ctx = (struct chunked_writer *)writer; in cw_chunked_init() local 392 Curl_httpchunk_init(data, &ctx->ch, FALSE); in cw_chunked_init() 399 struct chunked_writer *ctx = (struct chunked_writer *)writer; in cw_chunked_close() local 400 Curl_httpchunk_free(data, &ctx->ch); in cw_chunked_close() 407 struct chunked_writer *ctx = (struct chunked_writer *)writer; in cw_chunked_write() local 415 result = httpchunk_readwrite(data, &ctx->ch, writer->next, buf, blen, in cw_chunked_write() 419 if(CHUNKE_PASSTHRU_ERROR == ctx->ch.last_code) { in cw_chunked_write() 424 Curl_chunked_strerror(ctx->ch.last_code)); in cw_chunked_write() 430 if(CHUNK_DONE == ctx->ch.state) { in cw_chunked_write()
|
/third_party/mesa3d/src/gallium/drivers/virgl/tests/ |
H A D | virgl_staging_mgr_test.cpp | 104 fake_virgl_context_destroy(struct pipe_context *ctx) in fake_virgl_context_destroy() argument 106 struct virgl_context *vctx = virgl_context(ctx); in fake_virgl_context_destroy() 107 struct virgl_screen *vs = virgl_screen(ctx->screen); in fake_virgl_context_destroy() 130 VirglStagingMgr() : ctx(fake_virgl_context_create()) in VirglStagingMgr() 132 virgl_staging_init(&staging, ctx, staging_size); in VirglStagingMgr() 138 fake_virgl_context_destroy(ctx); in ~VirglStagingMgr() 142 struct pipe_context * const ctx; member in VirglStagingMgr 332 struct virgl_screen *vs = virgl_screen(ctx->screen); in TEST_F() 357 struct virgl_screen *vs = virgl_screen(ctx->screen); in TEST_F()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | test_vec4_register_coalesce.cpp | 39 void *ctx; member in register_coalesce_vec4_test 94 ctx = ralloc_context(NULL); in SetUp() 95 compiler = rzalloc(ctx, struct brw_compiler); in SetUp() 96 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp() 99 prog_data = ralloc(ctx, struct brw_vue_prog_data); in SetUp() 102 nir_shader_create(ctx, MESA_SHADER_VERTEX, NULL, NULL); in SetUp() 104 v = new register_coalesce_vec4_visitor(compiler, ctx, shader, prog_data); in SetUp() 115 ralloc_free(ctx); in TearDown() 116 ctx = NULL; in TearDown()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aiocp.c | 99 static void async_write_done(LTP_ATTRIBUTE_UNUSED io_context_t ctx, struct iocb *iocb, long res, long res2) in async_write_done() argument 121 static void async_copy(io_context_t ctx, struct iocb *iocb, long res, long res2) in async_copy() argument 137 w = io_submit(ctx, 1, &iocb); in async_copy() 142 static void io_wait_run(io_context_t ctx, struct timespec *to) in io_wait_run() argument 148 n = io_getevents(ctx, 1, aionum, events, to); in io_wait_run() 156 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run() 160 static void async_run(io_context_t ctx, int fd, io_callback_t cb) in async_run() argument 191 rc = io_submit(ctx, i, ioq); in async_run() 198 io_wait_run(ctx, 0); in async_run()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedInputStream.cs | 439 ParseContext.Initialize(ref span, ref state, out ParseContext ctx);
in ReadMessage() 442 ParsingPrimitivesMessages.ReadMessage(ref ctx, builder);
in ReadMessage() 446 ctx.CopyStateTo(this);
in ReadMessage() 455 ParseContext.Initialize(this, out ParseContext ctx);
in ReadGroup() 458 ParsingPrimitivesMessages.ReadGroup(ref ctx, builder);
in ReadGroup() 462 ctx.CopyStateTo(this);
in ReadGroup() 687 ParseContext.Initialize(this, out ParseContext ctx);
in ReadRawMessage() 690 ParsingPrimitivesMessages.ReadRawMessage(ref ctx, message);
in ReadRawMessage() 694 ctx.CopyStateTo(this);
in ReadRawMessage()
|
H A D | CodedOutputStream.cs | 269 WriteContext.Initialize(ref span, ref state, out WriteContext ctx);
in WriteMessage() 272 WritingPrimitivesMessages.WriteMessage(ref ctx, value);
in WriteMessage() 276 ctx.CopyStateTo(this);
in WriteMessage() 291 WriteContext.Initialize(ref span, ref state, out WriteContext ctx);
in WriteRawMessage() 294 WritingPrimitivesMessages.WriteRawMessage(ref ctx, value);
in WriteRawMessage() 298 ctx.CopyStateTo(this);
in WriteRawMessage() 309 WriteContext.Initialize(ref span, ref state, out WriteContext ctx);
in WriteGroup() 312 WritingPrimitivesMessages.WriteGroup(ref ctx, value);
in WriteGroup() 316 ctx.CopyStateTo(this);
in WriteGroup()
|
/third_party/skia/src/core/ |
H A D | SkDraw_atlas.cpp | 43 static void load_color(SkRasterPipeline_UniformColorCtx* ctx, const float rgba[]) { in load_color() argument 45 ctx->rgba[0] = SkScalarRoundToInt(rgba[0]*255); ctx->r = rgba[0]; in load_color() 46 ctx->rgba[1] = SkScalarRoundToInt(rgba[1]*255); ctx->g = rgba[1]; in load_color() 47 ctx->rgba[2] = SkScalarRoundToInt(rgba[2]*255); ctx->b = rgba[2]; in load_color() 48 ctx->rgba[3] = SkScalarRoundToInt(rgba[3]*255); ctx->a = rgba[3]; in load_color() 142 // we will late-bind the values in ctx, onc in drawAtlas() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto.h | 123 * @ctx: Context pointer from aes_encrypt_init() 128 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 132 * @ctx: Context pointer from aes_encrypt_init() 134 void aes_encrypt_deinit(void *ctx); 146 * @ctx: Context pointer from aes_encrypt_init() 151 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 155 * @ctx: Context pointer from aes_encrypt_init() 157 void aes_decrypt_deinit(void *ctx); 186 * @ctx: Context pointer from crypto_hash_init() 194 void crypto_hash_update(struct crypto_hash *ctx, cons [all...] |
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | shared_mutex.cpp | 98 auto ctx = ExecuteCtx::Cur(); in Wait() local 99 auto task = ctx->task; in Wait() 103 ctx->wn.task = task; in Wait() 105 ctx->wn.wtType = wtType; in Wait() 106 wList.PushBack(ctx->wn.node); in Wait() 108 std::unique_lock<std::mutex> lk(ctx->wn.wl); in Wait() 110 ctx->wn.cv.wait(lk); in Wait()
|
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core.h | 97 void (*free_iso_context)(struct fw_iso_context *ctx); 99 int (*start_iso)(struct fw_iso_context *ctx, 102 int (*set_iso_channels)(struct fw_iso_context *ctx, u64 *channels); 104 int (*queue_iso)(struct fw_iso_context *ctx, 109 void (*flush_queue_iso)(struct fw_iso_context *ctx); 111 int (*flush_iso_completions)(struct fw_iso_context *ctx); 113 int (*stop_iso)(struct fw_iso_context *ctx);
|
/kernel/linux/linux-5.10/crypto/ |
H A D | seqiv.c | 51 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt() local 62 aead_request_set_tfm(subreq, ctx->child); in seqiv_aead_encrypt() 69 SYNC_SKCIPHER_REQUEST_ON_STACK(nreq, ctx->sknull); in seqiv_aead_encrypt() 71 skcipher_request_set_sync_tfm(nreq, ctx->sknull); in seqiv_aead_encrypt() 100 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt() 112 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt() local 121 aead_request_set_tfm(subreq, ctx->child); in seqiv_aead_decrypt()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_ipp.c | 40 ipp_dce->base.ctx 275 struct dc_context *ctx, in dce_ipp_construct() 281 ipp_dce->base.ctx = ctx; in dce_ipp_construct() 293 struct dc_context *ctx, in dce60_ipp_construct() 299 ipp_dce->base.ctx = ctx; in dce60_ipp_construct() 273 dce_ipp_construct( struct dce_ipp *ipp_dce, struct dc_context *ctx, int inst, const struct dce_ipp_registers *regs, const struct dce_ipp_shift *ipp_shift, const struct dce_ipp_mask *ipp_mask) dce_ipp_construct() argument 291 dce60_ipp_construct( struct dce_ipp *ipp_dce, struct dc_context *ctx, int inst, const struct dce_ipp_registers *regs, const struct dce_ipp_shift *ipp_shift, const struct dce_ipp_mask *ipp_mask) dce60_ipp_construct() argument
|
H A D | dce_abm.c | 48 abm->ctx->logger 50 abm_dce->base.ctx 264 struct dc_context *ctx, in dce_abm_construct() 271 base->ctx = ctx; in dce_abm_construct() 281 struct dc_context *ctx, in dce_abm_create() 293 dce_abm_construct(abm_dce, ctx, regs, abm_shift, abm_mask); in dce_abm_create() 262 dce_abm_construct( struct dce_abm *abm_dce, struct dc_context *ctx, const struct dce_abm_registers *regs, const struct dce_abm_shift *abm_shift, const struct dce_abm_mask *abm_mask) dce_abm_construct() argument 280 dce_abm_create( struct dc_context *ctx, const struct dce_abm_registers *regs, const struct dce_abm_shift *abm_shift, const struct dce_abm_mask *abm_mask) dce_abm_create() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_surface.c | 40 static void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state) in dc_plane_construct() argument 42 plane_state->ctx = ctx; in dc_plane_construct() 113 dc_plane_construct(dc->ctx, plane_state); in dc_create_plane_state() 137 !plane_state->ctx || in dc_plane_get_status() 138 !plane_state->ctx->dc) { in dc_plane_get_status() 144 dc = plane_state->ctx->dc; in dc_plane_get_status()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | mov_ss_trap.c | 119 ucontext_t *ctx = ctx_void; in sigtrap() local 122 (unsigned long)ctx->uc_mcontext.gregs[REG_IP], in sigtrap() 123 !!(ctx->uc_mcontext.gregs[REG_EFL] & X86_EFLAGS_RF)); in sigtrap() 128 ucontext_t *ctx = ctx_void; in handle_and_return() local 131 (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); in handle_and_return() 136 ucontext_t *ctx = ctx_void; in handle_and_longjmp() local 139 (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); in handle_and_longjmp()
|
/kernel/linux/linux-5.10/drivers/hwmon/occ/ |
H A D | p8_i2c.c | 118 struct p8_i2c_occ *ctx = to_p8_i2c_occ(occ); in p8_i2c_occ_send_cmd() local 119 struct i2c_client *client = ctx->client; in p8_i2c_occ_send_cmd() 209 struct p8_i2c_occ *ctx = devm_kzalloc(&client->dev, sizeof(*ctx), in p8_i2c_occ_probe() local 211 if (!ctx) in p8_i2c_occ_probe() 214 ctx->client = client; in p8_i2c_occ_probe() 215 occ = &ctx->occ; in p8_i2c_occ_probe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | commonring.c | 16 int (*cr_ring_bell)(void *ctx), in brcmf_commonring_register_cb() 17 int (*cr_update_rptr)(void *ctx), in brcmf_commonring_register_cb() 18 int (*cr_update_wptr)(void *ctx), in brcmf_commonring_register_cb() 19 int (*cr_write_rptr)(void *ctx), in brcmf_commonring_register_cb() 20 int (*cr_write_wptr)(void *ctx), void *ctx) in brcmf_commonring_register_cb() 27 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb() 15 brcmf_commonring_register_cb(struct brcmf_commonring *commonring, int (*cr_ring_bell)(void *ctx), int (*cr_update_rptr)(void *ctx), int (*cr_update_wptr)(void *ctx), int (*cr_write_rptr)(void *ctx), int (*cr_write_wptr)(void *ctx), void *ctx) brcmf_commonring_register_cb() argument
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_rt.c | 110 static int nft_rt_get_init(const struct nft_ctx *ctx, in nft_rt_get_init() argument 144 return nft_parse_register_store(ctx, tb[NFTA_RT_DREG], &priv->dreg, in nft_rt_get_init() 163 static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_rt_validate() argument 169 if (ctx->family != NFPROTO_IPV4 && in nft_rt_validate() 170 ctx->family != NFPROTO_IPV6 && in nft_rt_validate() 171 ctx->family != NFPROTO_INET) in nft_rt_validate() 189 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_rt_validate()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | sockex2_kern.c | 46 static inline int ip_is_fragment(struct __sk_buff *ctx, __u64 nhoff) in ip_is_fragment() argument 48 return load_half(ctx, nhoff + offsetof(struct iphdr, frag_off)) in ip_is_fragment() 52 static inline __u32 ipv6_addr_hash(struct __sk_buff *ctx, __u64 off) in ipv6_addr_hash() argument 54 __u64 w0 = load_word(ctx, off); in ipv6_addr_hash() 55 __u64 w1 = load_word(ctx, off + 4); in ipv6_addr_hash() 56 __u64 w2 = load_word(ctx, off + 8); in ipv6_addr_hash() 57 __u64 w3 = load_word(ctx, off + 12); in ipv6_addr_hash()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva.h | 394 int (*open)(struct hva_ctx *ctx); 395 int (*close)(struct hva_ctx *ctx); 396 int (*encode)(struct hva_ctx *ctx, struct hva_frame *frame, 403 void hva_dbg_ctx_create(struct hva_ctx *ctx); 404 void hva_dbg_ctx_remove(struct hva_ctx *ctx); 405 void hva_dbg_perf_begin(struct hva_ctx *ctx); 406 void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream);
|
/kernel/linux/linux-6.6/include/drm/ttm/ |
H A D | ttm_bo.h | 351 struct ttm_operation_ctx *ctx); 354 struct ttm_operation_ctx *ctx); 362 uint32_t alignment, struct ttm_operation_ctx *ctx, 376 int ttm_bo_swapout(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx, 383 struct ttm_operation_ctx *ctx, 400 struct ttm_operation_ctx *ctx); 414 struct ttm_operation_ctx *ctx,
|
/kernel/linux/linux-6.6/drivers/clk/samsung/ |
H A D | clk-exynos-arm64.c | 38 struct samsung_clk_provider *ctx; member 233 data->ctx = samsung_clk_init(dev, reg_base, cmu->nr_clk_ids); in exynos_arm64_register_cmu_pm() 245 samsung_cmu_register_clocks(data->ctx, cmu); in exynos_arm64_register_cmu_pm() 246 samsung_clk_of_add_provider(dev->of_node, data->ctx); in exynos_arm64_register_cmu_pm() 257 samsung_clk_save(data->ctx->reg_base, data->clk_save, in exynos_arm64_cmu_suspend() 264 samsung_clk_restore(data->ctx->reg_base, data->clk_suspend, in exynos_arm64_cmu_suspend() 285 samsung_clk_restore(data->ctx->reg_base, data->clk_save, in exynos_arm64_cmu_resume()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_surface.c | 38 static void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state) in dc_plane_construct() argument 40 plane_state->ctx = ctx; in dc_plane_construct() 113 dc_plane_construct(dc->ctx, plane_state); in dc_create_plane_state() 137 !plane_state->ctx || in dc_plane_get_status() 138 !plane_state->ctx->dc) { in dc_plane_get_status() 144 dc = plane_state->ctx->dc; in dc_plane_get_status()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_ipp.c | 38 ipp_dce->base.ctx 273 struct dc_context *ctx, in dce_ipp_construct() 279 ipp_dce->base.ctx = ctx; in dce_ipp_construct() 291 struct dc_context *ctx, in dce60_ipp_construct() 297 ipp_dce->base.ctx = ctx; in dce60_ipp_construct() 271 dce_ipp_construct( struct dce_ipp *ipp_dce, struct dc_context *ctx, int inst, const struct dce_ipp_registers *regs, const struct dce_ipp_shift *ipp_shift, const struct dce_ipp_mask *ipp_mask) dce_ipp_construct() argument 289 dce60_ipp_construct( struct dce_ipp *ipp_dce, struct dc_context *ctx, int inst, const struct dce_ipp_registers *regs, const struct dce_ipp_shift *ipp_shift, const struct dce_ipp_mask *ipp_mask) dce60_ipp_construct() argument
|