Home
last modified time | relevance | path

Searched refs:ctx (Results 1251 - 1275 of 12649) sorted by relevance

1...<<51525354555657585960>>...506

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateMiscTests.cpp198 const auto ctx = context.getContextCommonData(); in testEnableDisable() local
220 vk::ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D); in testEnableDisable()
241 ImageWithMemory fsrAttachment (ctx.vkd, ctx.device, ctx.allocator, fsrAttachmentCreateInfo, MemoryRequirement::Any); in testEnableDisable()
242 const auto fsrAttView = makeImageView(ctx.vkd, ctx.device, fsrAttachment.get(), VK_IMAGE_VIEW_TYPE_2D, fsrFormat, colorSRR); in testEnableDisable()
245 const auto vertModule = createShaderModule(ctx in testEnableDisable()
507 const auto ctx = context.getContextCommonData(); testNoFrag() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dblend.h47 _mesa_get_clamp_fragment_color(const struct gl_context *ctx,
51 _mesa_get_clamp_vertex_color(const struct gl_context *ctx,
55 _mesa_get_clamp_read_color(const struct gl_context *ctx,
59 _mesa_update_clamp_fragment_color(struct gl_context *ctx,
63 _mesa_update_clamp_vertex_color(struct gl_context *ctx,
67 _mesa_init_color( struct gl_context * ctx );
78 _mesa_advanded_blend_sh_constant_changed(struct gl_context *ctx, in _mesa_advanded_blend_sh_constant_changed() argument
83 _mesa_get_advanced_blend_sh_constant(ctx->Color.BlendEnabled, in _mesa_advanded_blend_sh_constant_changed()
84 ctx->Color._AdvancedBlendMode); in _mesa_advanded_blend_sh_constant_changed()
88 _mesa_flush_vertices_for_blend_state(struct gl_context *ctx) in _mesa_flush_vertices_for_blend_state() argument
95 _mesa_flush_vertices_for_blend_adv(struct gl_context *ctx, GLbitfield new_blend_enabled, enum gl_advanced_blend_mode new_mode) _mesa_flush_vertices_for_blend_adv() argument
[all...]
H A Dcopyimage.c62 prepare_target_err(struct gl_context *ctx, GLuint name, GLenum target, in prepare_target_err() argument
77 _mesa_error(ctx, GL_INVALID_VALUE, in prepare_target_err()
108 _mesa_error(ctx, GL_INVALID_ENUM, in prepare_target_err()
115 struct gl_renderbuffer *rb = _mesa_lookup_renderbuffer(ctx, name); in prepare_target_err()
118 _mesa_error(ctx, GL_INVALID_VALUE, in prepare_target_err()
124 _mesa_error(ctx, GL_INVALID_OPERATION, in prepare_target_err()
130 _mesa_error(ctx, GL_INVALID_VALUE, in prepare_target_err()
143 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, name); in prepare_target_err()
152 _mesa_error(ctx, GL_INVALID_VALUE, in prepare_target_err()
210 _mesa_test_texobj_completeness(ctx, texOb in prepare_target_err()
278 prepare_target(struct gl_context *ctx, GLuint name, GLenum target, int level, int z, struct gl_texture_image **texImage, struct gl_renderbuffer **renderbuffer) prepare_target() argument
308 check_region_bounds(struct gl_context *ctx, GLenum target, const struct gl_texture_image *tex_image, const struct gl_renderbuffer *renderbuffer, int x, int y, int z, int width, int height, int depth, const char *dbg_prefix, bool is_arb_version) check_region_bounds() argument
398 compressed_format_compatible(const struct gl_context *ctx, GLenum compressedFormat, GLenum otherFormat) compressed_format_compatible() argument
510 copy_format_compatible(const struct gl_context *ctx, GLenum srcFormat, GLenum dstFormat) copy_format_compatible() argument
540 copy_image_subdata(struct gl_context *ctx, struct gl_texture_image *srcTexImage, struct gl_renderbuffer *srcRenderbuffer, int srcX, int srcY, int srcZ, int srcLevel, struct gl_texture_image *dstTexImage, struct gl_renderbuffer *dstRenderbuffer, int dstX, int dstY, int dstZ, int dstLevel, int srcWidth, int srcHeight, int srcDepth) copy_image_subdata() argument
[all...]
/third_party/lwip/src/netif/ppp/polarssl/
H A Dmd4.c75 void md4_starts( md4_context *ctx ) in md4_starts()
77 ctx->total[0] = 0; in md4_starts()
78 ctx->total[1] = 0; in md4_starts()
80 ctx->state[0] = 0x67452301; in md4_starts()
81 ctx->state[1] = 0xEFCDAB89; in md4_starts()
82 ctx->state[2] = 0x98BADCFE; in md4_starts()
83 ctx->state[3] = 0x10325476; in md4_starts()
86 static void md4_process( md4_context *ctx, const unsigned char data[64] ) in md4_process() argument
109 A = ctx->state[0]; in md4_process()
110 B = ctx in md4_process()
192 md4_update( md4_context *ctx, const unsigned char *input, int ilen ) md4_update() argument
244 md4_finish( md4_context *ctx, unsigned char output[16] ) md4_finish() argument
274 md4_context ctx; md4() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Decp_oct.c25 BN_CTX *ctx) in ossl_ec_GFp_simple_set_compressed_coordinates()
31 if (ctx == NULL) { in ossl_ec_GFp_simple_set_compressed_coordinates()
32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
33 if (ctx == NULL) in ossl_ec_GFp_simple_set_compressed_coordinates()
39 BN_CTX_start(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
40 tmp1 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
41 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
42 x = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
43 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
22 ossl_ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) ossl_ec_GFp_simple_set_compressed_coordinates() argument
159 ossl_ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_point2oct() argument
274 ossl_ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_oct2point() argument
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.c33 PROV_AES_SIV_CTX *ctx; in aes_siv_newctx() local
38 ctx = OPENSSL_zalloc(sizeof(*ctx)); in aes_siv_newctx()
39 if (ctx != NULL) { in aes_siv_newctx()
40 ctx->taglen = SIV_LEN; in aes_siv_newctx()
41 ctx->mode = mode; in aes_siv_newctx()
42 ctx->keylen = keybits / 8; in aes_siv_newctx()
43 ctx->hw = ossl_prov_cipher_hw_aes_siv(keybits); in aes_siv_newctx()
44 ctx->libctx = PROV_LIBCTX_OF(provctx); in aes_siv_newctx()
46 return ctx; in aes_siv_newctx()
51 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_freectx() local
83 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_init() local
118 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_cipher() local
148 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_stream_final() local
163 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_get_ctx_params() local
203 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_set_ctx_params() local
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.c33 PROV_AES_SIV_CTX *ctx; in aes_siv_newctx() local
38 ctx = OPENSSL_zalloc(sizeof(*ctx)); in aes_siv_newctx()
39 if (ctx != NULL) { in aes_siv_newctx()
40 ctx->taglen = SIV_LEN; in aes_siv_newctx()
41 ctx->mode = mode; in aes_siv_newctx()
42 ctx->keylen = keybits / 8; in aes_siv_newctx()
43 ctx->hw = ossl_prov_cipher_hw_aes_siv(keybits); in aes_siv_newctx()
44 ctx->libctx = PROV_LIBCTX_OF(provctx); in aes_siv_newctx()
46 return ctx; in aes_siv_newctx()
51 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_freectx() local
83 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_init() local
118 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_cipher() local
148 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_stream_final() local
163 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_get_ctx_params() local
203 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_set_ctx_params() local
[all...]
H A Dcipher_aes_cbc_hmac_sha.c49 static int aes_einit(void *ctx, const unsigned char *key, size_t keylen, in aes_einit() argument
53 if (!ossl_cipher_generic_einit(ctx, key, keylen, iv, ivlen, NULL)) in aes_einit()
55 return aes_set_ctx_params(ctx, params); in aes_einit()
58 static int aes_dinit(void *ctx, const unsigned char *key, size_t keylen, in aes_dinit() argument
62 if (!ossl_cipher_generic_dinit(ctx, key, keylen, iv, ivlen, NULL)) in aes_dinit()
64 return aes_set_ctx_params(ctx, params); in aes_dinit()
88 PROV_AES_HMAC_SHA_CTX *ctx = (PROV_AES_HMAC_SHA_CTX *)vctx; in aes_set_ctx_params() local
90 (PROV_CIPHER_HW_AES_HMAC_SHA *)ctx->hw; in aes_set_ctx_params()
106 hw->init_mac_key(ctx, p->data, p->data_size); in aes_set_ctx_params()
113 && !OSSL_PARAM_get_size_t(p, &ctx in aes_set_ctx_params()
222 PROV_AES_HMAC_SHA_CTX *ctx = (PROV_AES_HMAC_SHA_CTX *)vctx; aes_get_ctx_params() local
309 base_init(void *provctx, PROV_AES_HMAC_SHA_CTX *ctx, const PROV_CIPHER_HW_AES_HMAC_SHA *meths, size_t kbits, size_t blkbits, size_t ivbits, uint64_t flags) base_init() argument
324 PROV_AES_HMAC_SHA1_CTX *ctx; aes_cbc_hmac_sha1_newctx() local
339 PROV_AES_HMAC_SHA1_CTX *ctx = (PROV_AES_HMAC_SHA1_CTX *)vctx; aes_cbc_hmac_sha1_freectx() local
351 PROV_AES_HMAC_SHA256_CTX *ctx; aes_cbc_hmac_sha256_newctx() local
366 PROV_AES_HMAC_SHA256_CTX *ctx = (PROV_AES_HMAC_SHA256_CTX *)vctx; aes_cbc_hmac_sha256_freectx() local
[all...]
/third_party/openssl/crypto/ec/
H A Decp_oct.c25 BN_CTX *ctx) in ossl_ec_GFp_simple_set_compressed_coordinates()
31 if (ctx == NULL) { in ossl_ec_GFp_simple_set_compressed_coordinates()
32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
33 if (ctx == NULL) in ossl_ec_GFp_simple_set_compressed_coordinates()
39 BN_CTX_start(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
40 tmp1 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
41 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
42 x = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
43 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
22 ossl_ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) ossl_ec_GFp_simple_set_compressed_coordinates() argument
159 ossl_ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_point2oct() argument
274 ossl_ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_oct2point() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeShaderStorageTests.cpp41 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources) in verifyProgram() argument
43 tcu::TestLog& log = ctx.getLog(); in verifyProgram()
44 const glu::ShaderProgram program (ctx.getRenderContext(), sources); in verifyProgram()
55 ctx.fail(message); in verifyProgram()
103 int getMaxSSBlockSize (NegativeTestContext& ctx, glw::GLenum glShaderType) in getMaxSSBlockSize() argument
106 ctx.glGetIntegerv(getMaxSSBlockSizeEnum(glShaderType), &maxSSBlocks); in getMaxSSBlockSize()
111 std::string genBlockSource (NegativeTestContext& ctx, deInt64 numSSBlocks, glw::GLenum shaderType) in genBlockSource() argument
113 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in genBlockSource()
157 std::string genCommonSource (NegativeTestContext& ctx, glw::GLenum shaderType) in genCommonSource() argument
159 const bool isES32 = contextSupports(ctx in genCommonSource()
186 genMaxSSBlocksSource(NegativeTestContext& ctx, glw::GLenum glShaderType, glu::ProgramSources& sources) genMaxSSBlocksSource() argument
196 block_number_limits(NegativeTestContext& ctx) block_number_limits() argument
280 max_combined_block_number_limit(NegativeTestContext& ctx) max_combined_block_number_limit() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/
H A Dvim2m.c240 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data() argument
245 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data()
247 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data()
444 static int device_process(struct vim2m_ctx *ctx, in device_process() argument
448 struct vim2m_dev *dev = ctx->dev; in device_process()
455 q_data_in = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in device_process()
461 q_data_out = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in device_process()
481 if (ctx->mode & MEM2MEM_VFLIP) { in device_process()
501 if (ctx->mode & MEM2MEM_HFLIP) in device_process()
505 ctx in device_process()
572 struct vim2m_ctx *ctx = priv; job_ready() local
585 struct vim2m_ctx *ctx = priv; job_abort() local
599 struct vim2m_ctx *ctx = priv; device_run() local
729 vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) vidioc_g_fmt() argument
799 struct vim2m_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_cap() local
824 struct vim2m_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_out() local
843 vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) vidioc_s_fmt() argument
894 struct vim2m_ctx *ctx = file2ctx(file); vidioc_s_fmt_vid_out() local
913 struct vim2m_ctx *ctx = vim2m_s_ctrl() local
992 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq); vim2m_queue_setup() local
1021 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_out_validate() local
1035 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_prepare() local
1059 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_queue() local
1066 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); vim2m_start_streaming() local
1081 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); vim2m_stop_streaming() local
1101 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_request_complete() local
1121 struct vim2m_ctx *ctx = priv; queue_init() local
1177 struct vim2m_ctx *ctx = NULL; vim2m_open() local
1247 struct vim2m_ctx *ctx = file2ctx(file); vim2m_release() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/
H A Dvim2m.c235 static struct vim2m_q_data *get_q_data(struct vim2m_ctx *ctx, in get_q_data() argument
240 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data()
242 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data()
439 static int device_process(struct vim2m_ctx *ctx, in device_process() argument
443 struct vim2m_dev *dev = ctx->dev; in device_process()
450 q_data_in = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in device_process()
456 q_data_out = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in device_process()
476 if (ctx->mode & MEM2MEM_VFLIP) { in device_process()
496 if (ctx->mode & MEM2MEM_HFLIP) in device_process()
500 ctx in device_process()
567 struct vim2m_ctx *ctx = priv; job_ready() local
580 struct vim2m_ctx *ctx = priv; job_abort() local
594 struct vim2m_ctx *ctx = priv; device_run() local
719 vidioc_g_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) vidioc_g_fmt() argument
789 struct vim2m_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_cap() local
814 struct vim2m_ctx *ctx = file2ctx(file); vidioc_try_fmt_vid_out() local
833 vidioc_s_fmt(struct vim2m_ctx *ctx, struct v4l2_format *f) vidioc_s_fmt() argument
884 struct vim2m_ctx *ctx = file2ctx(file); vidioc_s_fmt_vid_out() local
903 struct vim2m_ctx *ctx = vim2m_s_ctrl() local
982 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq); vim2m_queue_setup() local
1011 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_out_validate() local
1025 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_prepare() local
1049 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_queue() local
1056 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); vim2m_start_streaming() local
1071 struct vim2m_ctx *ctx = vb2_get_drv_priv(q); vim2m_stop_streaming() local
1091 struct vim2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); vim2m_buf_request_complete() local
1111 struct vim2m_ctx *ctx = priv; queue_init() local
1167 struct vim2m_ctx *ctx = NULL; vim2m_open() local
1237 struct vim2m_ctx *ctx = file2ctx(file); vim2m_release() local
[all...]
/third_party/mesa3d/src/intel/common/
H A Dintel_decoder.c152 create_group(struct parser_context *ctx, in create_group() argument
160 group = rzalloc(ctx->spec, struct intel_group); in create_group()
164 group->spec = ctx->spec; in create_group()
218 create_enum(struct parser_context *ctx, const char *name, const char **atts) in create_enum() argument
222 e = rzalloc(ctx->spec, struct intel_enum); in create_enum()
279 string_to_type(struct parser_context *ctx, const char *s) in string_to_type() argument
301 else if (g = intel_spec_find_struct(ctx->spec, s), g != NULL) in string_to_type()
303 else if (e = intel_spec_find_enum(ctx->spec, s), e != NULL) in string_to_type()
310 fail(&ctx->loc, "invalid type: %s", s); in string_to_type()
314 create_field(struct parser_context *ctx, cons argument
346 create_array_field(struct parser_context *ctx, struct intel_group *array) create_array_field() argument
360 create_value(struct parser_context *ctx, const char **atts) create_value() argument
375 create_and_append_field(struct parser_context *ctx, const char **atts, struct intel_group *array) create_and_append_field() argument
400 struct parser_context *ctx = data; start_element() local
458 struct parser_context *ctx = data; end_element() local
593 struct parser_context ctx; intel_spec_load() local
659 struct parser_context ctx; intel_spec_load_filename() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Df_interleave.c64 static int activate(AVFilterContext *ctx) in activate() argument
66 AVFilterLink *outlink = ctx->outputs[0]; in activate()
67 InterleaveContext *s = ctx->priv; in activate()
75 FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx); in activate()
77 for (i = 0; i < ctx->nb_inputs; i++) { in activate()
78 int is_eof = !!ff_inlink_acknowledge_status(ctx->inputs[i], &status, &rpts); in activate()
86 (nb_eofs == ctx->nb_inputs && s->duration_mode == DURATION_LONGEST) || in activate()
92 for (i = 0; i < ctx->nb_inputs; i++) { in activate()
93 if (!ff_inlink_queued_frames(ctx->inputs[i])) in activate()
98 if (nb_inputs_with_frames >= ctx in activate()
156 init(AVFilterContext *ctx) init() argument
187 AVFilterContext *ctx = outlink->src; config_output() local
[all...]
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_lower_parallel_copy.c82 entry_blocked(struct agx_copy *entry, struct copy_ctx *ctx) in entry_blocked() argument
85 if (ctx->physreg_use_count[entry->dest + i] != 0) in entry_blocked()
101 split_32bit_copy(struct copy_ctx *ctx, struct agx_copy *entry) in split_32bit_copy() argument
106 struct agx_copy *new_entry = &ctx->entries[ctx->entry_count++]; in split_32bit_copy()
113 ctx->physreg_dest[entry->dest + 1] = new_entry; in split_32bit_copy()
125 struct copy_ctx *ctx = &_ctx; in agx_emit_parallel_copies() local
128 memset(ctx->physreg_dest, 0, sizeof(ctx->physreg_dest)); in agx_emit_parallel_copies()
129 memset(ctx in agx_emit_parallel_copies()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_query_acc.c36 fd_acc_destroy_query(struct fd_context *ctx, struct fd_query *q) assert_dt
50 realloc_query_bo(struct fd_context *ctx, struct fd_acc_query *aq) in realloc_query_bo() argument
58 pipe_buffer_create(&ctx->screen->base, PIPE_BIND_QUERY_BUFFER, 0, 0x1000); in realloc_query_bo()
63 fd_bo_cpu_prep(rsc->bo, ctx->pipe, FD_BO_PREP_WRITE); in realloc_query_bo()
92 fd_screen_lock(batch->ctx->screen);
94 fd_screen_unlock(batch->ctx->screen);
98 fd_acc_begin_query(struct fd_context *ctx, struct fd_query *q) assert_dt
105 realloc_query_bo(ctx, aq);
108 ctx->update_active_queries = true;
112 list_addtail(&aq->node, &ctx
139 fd_acc_get_query_result(struct fd_context *ctx, struct fd_query *q, bool wait, union pipe_query_result *result) fd_acc_get_query_result() argument
189 fd_acc_create_query2(struct fd_context *ctx, unsigned query_type, unsigned index, const struct fd_acc_sample_provider *provider) fd_acc_create_query2() argument
216 fd_acc_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) fd_acc_create_query() argument
234 struct fd_context *ctx = batch->ctx; fd_acc_query_update_batch() local
258 struct fd_context *ctx = fd_context(pctx); fd_acc_query_register_provider() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c40 typedef int check_key_fn(void *, struct der2key_ctx_st *ctx);
41 typedef void adjust_key_fn(void *, struct der2key_ctx_st *ctx);
101 long input_der_len, struct der2key_ctx_st *ctx, in der2key_decode_p8()
110 && OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type) in der2key_decode_p8()
111 key = key_from_pkcs8(p8inf, PROV_LIBCTX_OF(ctx->provctx), NULL); in der2key_decode_p8()
126 struct der2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx)); in der2key_newctx() local
128 if (ctx != NULL) { in der2key_newctx()
129 ctx->provctx = provctx; in der2key_newctx()
130 ctx in der2key_newctx()
100 der2key_decode_p8(const unsigned char **input_der, long input_der_len, struct der2key_ctx_st *ctx, key_from_pkcs8_t *key_from_pkcs8) der2key_decode_p8() argument
137 struct der2key_ctx_st *ctx = vctx; der2key_freectx() local
180 struct der2key_ctx_st *ctx = vctx; der2key_decode() local
313 struct der2key_ctx_st *ctx = vctx; der2key_export_object() local
339 dh_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) dh_d2i_PKCS8() argument
350 dh_adjust(void *key, struct der2key_ctx_st *ctx) dh_adjust() argument
374 dsa_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) dsa_d2i_PKCS8() argument
385 dsa_adjust(void *key, struct der2key_ctx_st *ctx) dsa_adjust() argument
399 ec_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) ec_d2i_PKCS8() argument
409 ec_check(void *key, struct der2key_ctx_st *ctx) ec_check() argument
418 ec_adjust(void *key, struct der2key_ctx_st *ctx) ec_adjust() argument
428 ecx_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) ecx_d2i_PKCS8() argument
435 ecx_key_adjust(void *key, struct der2key_ctx_st *ctx) ecx_key_adjust() argument
486 sm2_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) sm2_d2i_PKCS8() argument
507 rsa_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) rsa_d2i_PKCS8() argument
517 rsa_check(void *key, struct der2key_ctx_st *ctx) rsa_check() argument
530 rsa_adjust(void *key, struct der2key_ctx_st *ctx) rsa_adjust() argument
[all...]
/third_party/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c40 typedef int check_key_fn(void *, struct der2key_ctx_st *ctx);
41 typedef void adjust_key_fn(void *, struct der2key_ctx_st *ctx);
101 long input_der_len, struct der2key_ctx_st *ctx, in der2key_decode_p8()
110 && OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type) in der2key_decode_p8()
111 key = key_from_pkcs8(p8inf, PROV_LIBCTX_OF(ctx->provctx), NULL); in der2key_decode_p8()
126 struct der2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx)); in der2key_newctx() local
128 if (ctx != NULL) { in der2key_newctx()
129 ctx->provctx = provctx; in der2key_newctx()
130 ctx in der2key_newctx()
100 der2key_decode_p8(const unsigned char **input_der, long input_der_len, struct der2key_ctx_st *ctx, key_from_pkcs8_t *key_from_pkcs8) der2key_decode_p8() argument
137 struct der2key_ctx_st *ctx = vctx; der2key_freectx() local
180 struct der2key_ctx_st *ctx = vctx; der2key_decode() local
313 struct der2key_ctx_st *ctx = vctx; der2key_export_object() local
335 dh_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) dh_d2i_PKCS8() argument
346 dh_adjust(void *key, struct der2key_ctx_st *ctx) dh_adjust() argument
370 dsa_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) dsa_d2i_PKCS8() argument
381 dsa_adjust(void *key, struct der2key_ctx_st *ctx) dsa_adjust() argument
395 ec_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) ec_d2i_PKCS8() argument
405 ec_check(void *key, struct der2key_ctx_st *ctx) ec_check() argument
414 ec_adjust(void *key, struct der2key_ctx_st *ctx) ec_adjust() argument
424 ecx_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) ecx_d2i_PKCS8() argument
431 ecx_key_adjust(void *key, struct der2key_ctx_st *ctx) ecx_key_adjust() argument
482 sm2_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) sm2_d2i_PKCS8() argument
503 rsa_d2i_PKCS8(void **key, const unsigned char **der, long der_len, struct der2key_ctx_st *ctx) rsa_d2i_PKCS8() argument
513 rsa_check(void *key, struct der2key_ctx_st *ctx) rsa_check() argument
526 rsa_adjust(void *key, struct der2key_ctx_st *ctx) rsa_adjust() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibjxlenc.c96 LibJxlEncodeContext *ctx = avctx->priv_data; in libjxl_init_jxl_encoder() local
99 JxlEncoderReset(ctx->encoder); in libjxl_init_jxl_encoder()
101 ctx->options = JxlEncoderFrameSettingsCreate(ctx->encoder, NULL); in libjxl_init_jxl_encoder()
102 if (!ctx->options) { in libjxl_init_jxl_encoder()
108 if (JxlEncoderSetParallelRunner(ctx->encoder, JxlThreadParallelRunner, ctx->runner) in libjxl_init_jxl_encoder()
115 if (JxlEncoderFrameSettingsSetOption(ctx->options, JXL_ENC_FRAME_SETTING_EFFORT, ctx->effort) in libjxl_init_jxl_encoder()
117 av_log(avctx, AV_LOG_ERROR, "Failed to set effort to: %d\n", ctx in libjxl_init_jxl_encoder()
162 LibJxlEncodeContext *ctx = avctx->priv_data; libjxl_encode_init() local
247 LibJxlEncodeContext *ctx = avctx->priv_data; libjxl_encode_frame() local
424 LibJxlEncodeContext *ctx = avctx->priv_data; libjxl_encode_close() local
[all...]
/third_party/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c43 static struct pipe_context *ctx = NULL; variable
119 ctx->set_constant_buffer(ctx, in init_fs_constbuf()
127 ctx->set_constant_buffer(ctx, in init_fs_constbuf()
156 ctx->set_viewport_states( ctx, 0, 1, &vp ); in set_viewport()
174 handle = ctx->create_vertex_elements_state(ctx, 3, ve); in set_vertices()
175 ctx in set_vertices()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_clear.c223 * ctx->DrawBuffer->_X/Ymin/max fields.
226 clear_with_quad(struct gl_context *ctx, unsigned clear_buffers) in clear_with_quad() argument
228 struct st_context *st = st_context(ctx); in clear_with_quad()
230 const struct gl_framebuffer *fb = ctx->DrawBuffer; in clear_with_quad()
234 _mesa_update_draw_buffer_bounds(ctx, ctx->DrawBuffer); in clear_with_quad()
236 const GLfloat x0 = (GLfloat) ctx->DrawBuffer->_Xmin / fb_width * 2.0f - 1.0f; in clear_with_quad()
237 const GLfloat x1 = (GLfloat) ctx->DrawBuffer->_Xmax / fb_width * 2.0f - 1.0f; in clear_with_quad()
238 const GLfloat y0 = (GLfloat) ctx->DrawBuffer->_Ymin / fb_height * 2.0f - 1.0f; in clear_with_quad()
239 const GLfloat y1 = (GLfloat) ctx in clear_with_quad()
366 is_scissor_enabled(struct gl_context *ctx, struct gl_renderbuffer *rb) is_scissor_enabled() argument
381 is_window_rectangle_enabled(struct gl_context *ctx) is_window_rectangle_enabled() argument
394 is_stencil_disabled(struct gl_context *ctx, struct gl_renderbuffer *rb) is_stencil_disabled() argument
407 is_stencil_masked(struct gl_context *ctx, struct gl_renderbuffer *rb) is_stencil_masked() argument
416 st_Clear(struct gl_context *ctx, GLbitfield mask) st_Clear() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/comp/
H A Dcomp_lib.c34 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx) in COMP_CTX_get_method() argument
36 return ctx->meth; in COMP_CTX_get_method()
49 void COMP_CTX_free(COMP_CTX *ctx) in COMP_CTX_free() argument
51 if (ctx == NULL) in COMP_CTX_free()
53 if (ctx->meth->finish != NULL) in COMP_CTX_free()
54 ctx->meth->finish(ctx); in COMP_CTX_free()
56 OPENSSL_free(ctx); in COMP_CTX_free()
59 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, in COMP_compress_block() argument
63 if (ctx in COMP_compress_block()
74 COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen) COMP_expand_block() argument
[all...]
/third_party/openssl/crypto/comp/
H A Dcomp_lib.c34 const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx) in COMP_CTX_get_method() argument
36 return ctx->meth; in COMP_CTX_get_method()
49 void COMP_CTX_free(COMP_CTX *ctx) in COMP_CTX_free() argument
51 if (ctx == NULL) in COMP_CTX_free()
53 if (ctx->meth->finish != NULL) in COMP_CTX_free()
54 ctx->meth->finish(ctx); in COMP_CTX_free()
56 OPENSSL_free(ctx); in COMP_CTX_free()
59 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, in COMP_compress_block() argument
63 if (ctx in COMP_compress_block()
74 COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen) COMP_expand_block() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_log_cil.c101 struct xfs_cil_ctx *ctx; in xlog_cil_ctx_alloc() local
103 ctx = kmem_zalloc(sizeof(*ctx), KM_NOFS); in xlog_cil_ctx_alloc()
104 INIT_LIST_HEAD(&ctx->committing); in xlog_cil_ctx_alloc()
105 INIT_LIST_HEAD(&ctx->busy_extents.extent_list); in xlog_cil_ctx_alloc()
106 INIT_LIST_HEAD(&ctx->log_items); in xlog_cil_ctx_alloc()
107 INIT_LIST_HEAD(&ctx->lv_chain); in xlog_cil_ctx_alloc()
108 INIT_WORK(&ctx->push_work, xlog_cil_push_work); in xlog_cil_ctx_alloc()
109 return ctx; in xlog_cil_ctx_alloc()
121 struct xfs_cil_ctx *ctx) in xlog_cil_push_pcp_aggregate()
119 xlog_cil_push_pcp_aggregate( struct xfs_cil *cil, struct xfs_cil_ctx *ctx) xlog_cil_push_pcp_aggregate() argument
155 xlog_cil_insert_pcp_aggregate( struct xfs_cil *cil, struct xfs_cil_ctx *ctx) xlog_cil_insert_pcp_aggregate() argument
187 xlog_cil_ctx_switch( struct xfs_cil *cil, struct xfs_cil_ctx *ctx) xlog_cil_ctx_switch() argument
556 struct xfs_cil_ctx *ctx = cil->xc_ctx; xlog_cil_insert_items() local
716 xlog_cil_committed( struct xfs_cil_ctx *ctx) xlog_cil_committed() argument
763 struct xfs_cil_ctx *ctx; xlog_cil_process_committed() local
779 xlog_cil_set_ctx_write_state( struct xfs_cil_ctx *ctx, struct xlog_in_core *iclog) xlog_cil_set_ctx_write_state() argument
859 struct xfs_cil_ctx *ctx; xlog_cil_order_write() local
908 xlog_cil_write_chain( struct xfs_cil_ctx *ctx, uint32_t chain_len) xlog_cil_write_chain() argument
928 xlog_cil_write_commit_record( struct xfs_cil_ctx *ctx) xlog_cil_write_commit_record() argument
984 xlog_cil_build_trans_hdr( struct xfs_cil_ctx *ctx, struct xlog_cil_trans_hdr *hdr, struct xfs_log_vec *lvhdr, int num_iovecs) xlog_cil_build_trans_hdr() argument
1059 xlog_cil_build_lv_chain( struct xfs_cil_ctx *ctx, struct list_head *whiteouts, uint32_t *num_iovecs, uint32_t *num_bytes) xlog_cil_build_lv_chain() argument
1124 struct xfs_cil_ctx *ctx = xlog_cil_push_work() local
1653 struct xfs_cil_ctx *ctx; xlog_cil_force_seq() local
1746 struct xfs_cil_ctx *ctx; xlog_cil_init() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_hevc_req_multi_if.c346 * @ctx: point to mtk_vcodec_dec_ctx
361 struct mtk_vcodec_dec_ctx *ctx; member
382 static void *vdec_hevc_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id) in vdec_hevc_get_ctrl_ptr() argument
384 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, id); in vdec_hevc_get_ctrl_ptr()
392 static void vdec_hevc_fill_dpb_info(struct mtk_vcodec_dec_ctx *ctx, in vdec_hevc_fill_dpb_info() argument
401 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); in vdec_hevc_fill_dpb_info()
409 dev_err(&ctx->dev->plat_dev->dev, in vdec_hevc_fill_dpb_info()
418 if (ctx->q_data[MTK_Q_DATA_DST].fmt->num_planes == 2) in vdec_hevc_fill_dpb_info()
422 hevc_dpb_info[index].y_dma_addr + ctx->picinfo.fb_sz[0]; in vdec_hevc_fill_dpb_info()
598 vdec_hevc_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_HEVC_DECODE_PARAM in vdec_hevc_slice_fill_decode_parameters()
681 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; vdec_hevc_slice_get_pic_info() local
800 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; vdec_hevc_slice_setup_core_buffer() local
855 vdec_hevc_slice_init(struct mtk_vcodec_dec_ctx *ctx) vdec_hevc_slice_init() argument
926 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; vdec_hevc_slice_core_decode() local
[all...]

Completed in 18 milliseconds

1...<<51525354555657585960>>...506