Home
last modified time | relevance | path

Searched refs:ctx (Results 3251 - 3275 of 7329) sorted by relevance

1...<<131132133134135136137138139140>>...294

/third_party/skia/third_party/externals/tint/src/ast/
H A Datomic.cc37 const Atomic* Atomic::Clone(CloneContext* ctx) const { in Clone()
39 auto src = ctx->Clone(source); in Clone()
40 auto* ty = ctx->Clone(type); in Clone()
41 return ctx->dst->create<Atomic>(src, ty); in Clone()
H A Dblock_statement.cc38 const BlockStatement* BlockStatement::Clone(CloneContext* ctx) const { in Clone()
40 auto src = ctx->Clone(source); in Clone()
41 auto stmts = ctx->Clone(statements); in Clone()
42 return ctx->dst->create<BlockStatement>(src, stmts); in Clone()
H A Dcall_statement.cc36 const CallStatement* CallStatement::Clone(CloneContext* ctx) const { in Clone()
38 auto src = ctx->Clone(source); in Clone()
39 auto* call = ctx->Clone(expr); in Clone()
40 return ctx->dst->create<CallStatement>(src, call); in Clone()
H A Didentifier_expression.cc37 CloneContext* ctx) const { in Clone()
39 auto src = ctx->Clone(source); in Clone()
40 auto sym = ctx->Clone(symbol); in Clone()
41 return ctx->dst->create<IdentifierExpression>(src, sym); in Clone()
H A Doverride_decoration.cc40 const OverrideDecoration* OverrideDecoration::Clone(CloneContext* ctx) const { in Clone()
42 auto src = ctx->Clone(source); in Clone()
44 return ctx->dst->create<OverrideDecoration>(src, value); in Clone()
46 return ctx->dst->create<OverrideDecoration>(src); in Clone()
H A Dreturn_statement.cc38 const ReturnStatement* ReturnStatement::Clone(CloneContext* ctx) const { in Clone()
40 auto src = ctx->Clone(source); in Clone()
41 auto* ret = ctx->Clone(value); in Clone()
42 return ctx->dst->create<ReturnStatement>(src, ret); in Clone()
H A Dtype_name.cc35 const TypeName* TypeName::Clone(CloneContext* ctx) const { in Clone()
36 auto src = ctx->Clone(source); in Clone()
37 auto n = ctx->Clone(name); in Clone()
38 return ctx->dst->create<TypeName>(src, n); in Clone()
H A Dunary_op_expression.cc37 const UnaryOpExpression* UnaryOpExpression::Clone(CloneContext* ctx) const { in Clone()
39 auto src = ctx->Clone(source); in Clone()
40 auto* e = ctx->Clone(expr); in Clone()
41 return ctx->dst->create<UnaryOpExpression>(src, op, e); in Clone()
H A Dvariable_decl_statement.cc37 CloneContext* ctx) const { in Clone()
39 auto src = ctx->Clone(source); in Clone()
40 auto* var = ctx->Clone(variable); in Clone()
41 return ctx->dst->create<VariableDeclStatement>(src, var); in Clone()
/third_party/skia/tools/gpu/gl/command_buffer/
H A DGLTestContext_command_buffer.h22 CommandBufferGLTestContext *ctx = new CommandBufferGLTestContext(version, cbShareContext); in Create() local
23 if (!ctx->isValid()) { in Create()
24 delete ctx; in Create()
27 return ctx; in Create()
/third_party/skia/modules/svg/src/
H A DSkSVGTransformableNode.cpp18 bool SkSVGTransformableNode::onPrepareToRender(SkSVGRenderContext* ctx) const { in onPrepareToRender()
20 ctx->saveOnce(); in onPrepareToRender()
21 ctx->canvas()->concat(fTransform); in onPrepareToRender()
24 return this->INHERITED::onPrepareToRender(ctx); in onPrepareToRender()
/third_party/spirv-tools/source/opt/
H A Dfreeze_spec_constant_value_pass.cpp23 auto ctx = context(); in Process() local
24 ctx->module()->ForEachInst([&modified, ctx](Instruction* inst) { in Process()
41 ctx->KillInst(inst); in Process()
/third_party/ffmpeg/libavfilter/
H A Dvf_rotate.c114 static av_cold int init(AVFilterContext *ctx) in init() argument
116 RotContext *rot = ctx->priv; in init()
120 else if (av_parse_color(rot->fillcolor, rot->fillcolor_str, -1, ctx) >= 0) in init()
127 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
129 RotContext *rot = ctx->priv; in uninit()
283 AVFilterContext *ctx = outlink->src; in config_props() local
284 RotContext *rot = ctx->priv; in config_props()
285 AVFilterLink *inlink = ctx->inputs[0]; in config_props()
316 func1_names, func1, NULL, NULL, 0, ctx)) < 0) { in config_props()
317 av_log(ctx, AV_LOG_ERRO in config_props()
412 filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs) filter_slice() argument
504 AVFilterContext *ctx = inlink->dst; filter_frame() local
556 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument
[all...]
H A Dvf_epx.c28 int (*epx_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
44 static int epx2_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in epx2_slice() argument
111 static int epx3_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in epx3_slice() argument
200 AVFilterContext *ctx = outlink->src; in config_output() local
201 EPXContext *s = ctx->priv; in config_output()
202 AVFilterLink *inlink = ctx->inputs[0]; in config_output()
231 AVFilterContext *ctx = inlink->dst; in filter_frame() local
232 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame()
233 EPXContext *s = ctx->priv; in filter_frame()
245 ff_filter_execute(ctx, in filter_frame()
[all...]
H A Dvf_cropdetect.c64 static int checkline(void *ctx, const unsigned char *src, int stride, int len, int bpp) in checkline() argument
115 av_log(ctx, AV_LOG_DEBUG, "total:%d\n", total); in checkline()
119 static av_cold int init(AVFilterContext *ctx) in init() argument
121 CropDetectContext *s = ctx->priv; in init()
125 av_log(ctx, AV_LOG_VERBOSE, "limit:%f round:%d skip:%d reset_count:%d\n", in init()
133 AVFilterContext *ctx = inlink->dst; in config_input() local
134 CropDetectContext *s = ctx->priv; in config_input()
155 AVFilterContext *ctx = inlink->dst; in filter_frame() local
156 CropDetectContext *s = ctx->priv; in filter_frame()
179 if (checkline(ctx, fram in filter_frame()
[all...]
H A Daf_aexciter.c174 AVFilterContext *ctx = inlink->dst; in filter_frame() local
175 AExciterContext *s = ctx->priv; in filter_frame()
176 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame()
205 if (ctx->is_disabled) in filter_frame()
221 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
223 AExciterContext *s = ctx->priv; in uninit()
230 AVFilterContext *ctx = inlink->dst; in config_input() local
231 AExciterContext *s = ctx->priv; in config_input()
245 static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, in process_command() argument
248 AVFilterLink *inlink = ctx in process_command()
[all...]
H A Dvf_cover_rect.c125 AVFilterContext *ctx = inlink->dst; in filter_frame() local
126 CoverContext *cover = ctx->priv; in filter_frame()
145 return ff_filter_frame(ctx->outputs[0], in); in filter_frame()
180 return ff_filter_frame(ctx->outputs[0], in); in filter_frame()
183 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
185 CoverContext *cover = ctx->priv; in uninit()
192 static av_cold int init(AVFilterContext *ctx) in init() argument
194 CoverContext *cover = ctx->priv; in init()
199 av_log(ctx, AV_LOG_ERROR, "cover filename not set\n"); in init()
209 &cover->cover_frame->format, cover->cover_filename, ctx)) < in init()
[all...]
H A Dtrim.c73 static av_cold int init(AVFilterContext *ctx) in init() argument
75 TrimContext *s = ctx->priv; in init()
84 AVFilterContext *ctx = inlink->dst; in config_input() local
85 TrimContext *s = ctx->priv; in config_input()
126 AVFilterContext *ctx = inlink->dst; in trim_filter_frame() local
127 TrimContext *s = ctx->priv; in trim_filter_frame()
171 return ff_filter_frame(ctx->outputs[0], frame); in trim_filter_frame()
222 AVFilterContext *ctx = inlink->dst; in atrim_filter_frame() local
223 TrimContext *s = ctx->priv; in atrim_filter_frame()
305 AVFrame *out = ff_get_audio_buffer(ctx in atrim_filter_frame()
[all...]
H A Dvf_scroll.c71 static int scroll_slice(AVFilterContext *ctx, void *arg, int jobnr, in scroll_slice() argument
74 ScrollContext *s = ctx->priv; in scroll_slice()
103 static void scroll(AVFilterContext *ctx, AVFrame *in, AVFrame *out) in scroll() argument
105 ScrollContext *s = ctx->priv; in scroll()
126 ff_filter_execute(ctx, scroll_slice, &td, NULL, in scroll()
127 FFMIN(out->height, ff_filter_get_nb_threads(ctx))); in scroll()
135 AVFilterContext *ctx = inlink->dst; in filter_frame() local
136 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame()
146 scroll(ctx, in, out); in filter_frame()
154 AVFilterContext *ctx in config_input() local
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A Dimage.c75 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats) in vlVaQueryImageFormats() argument
83 if (!ctx) in vlVaQueryImageFormats()
90 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryImageFormats()
103 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image) in vlVaCreateImage() argument
110 if (!ctx) in vlVaCreateImage()
116 drv = VL_VA_DRIVER(ctx); in vlVaCreateImage()
186 status = vlVaCreateBuffer(ctx, 0, VAImageBufferType, in vlVaCreateImage()
197 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image) in vlVaDeriveImage() argument
230 if (!ctx) in vlVaDeriveImage()
233 drv = VL_VA_DRIVER(ctx); in vlVaDeriveImage()
433 vlVaDestroyImage(VADriverContextP ctx, VAImageID image) vlVaDestroyImage() argument
458 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette) vlVaSetImagePalette() argument
467 vlVaGetImage(VADriverContextP ctx, VASurfaceID surface, int x, int y, unsigned int width, unsigned int height, VAImageID image) vlVaGetImage() argument
610 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) vlVaPutImage() argument
[all...]
/third_party/openssl/test/
H A Devp_pkey_provided_test.c210 OSSL_ENCODER_CTX *ctx = NULL; in test_print_key_type_using_encoder() local
267 if (!TEST_ptr(ctx = OSSL_ENCODER_CTX_new_for_pkey(pk, selection, in test_print_key_type_using_encoder()
272 || !TEST_int_ne(OSSL_ENCODER_CTX_get_num_encoders(ctx), 0)) in test_print_key_type_using_encoder()
277 if (!TEST_true(OSSL_ENCODER_to_bio(ctx, membio)) in test_print_key_type_using_encoder()
283 if (!TEST_true(OSSL_ENCODER_CTX_set_passphrase(ctx, in test_print_key_type_using_encoder()
290 if (!TEST_true(OSSL_ENCODER_CTX_set_cipher(ctx, "AES-256-CBC", NULL)) in test_print_key_type_using_encoder()
291 || !TEST_true(OSSL_ENCODER_to_bio(ctx, bio_out))) in test_print_key_type_using_encoder()
296 if (!TEST_false(OSSL_ENCODER_CTX_set_cipher(ctx, "FOO", NULL)) in test_print_key_type_using_encoder()
297 || !TEST_false(OSSL_ENCODER_to_bio(ctx, bio_out))) in test_print_key_type_using_encoder()
302 if (!TEST_true(OSSL_ENCODER_CTX_set_cipher(ctx, NUL in test_print_key_type_using_encoder()
352 EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL; test_fromdata_rsa() local
449 EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL; test_evp_pkey_get_bn_param_large() local
505 EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL; test_fromdata_dh_named_group() local
716 EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL; test_fromdata_dh_fips186_4() local
910 EVP_PKEY_CTX *ctx = NULL, *ctx2 = NULL; test_fromdata_ecx() local
1163 EVP_PKEY_CTX *ctx = NULL; test_fromdata_ec() local
1356 EVP_PKEY_CTX *pctx = NULL, *ctx = NULL, *kctx = NULL; test_ec_dup_no_operation() local
1389 EVP_PKEY_CTX *pctx = NULL, *ctx = NULL, *kctx = NULL; test_ec_dup_keygen_operation() local
1423 EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL; test_fromdata_dsa_fips186_4() local
1688 EVP_PKEY_CTX *ctx = NULL; test_check_dsa() local
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dclone_context_test.cc47 Node* Clone(CloneContext* ctx) const override {
48 auto* out = allocator->Create<Node>(ctx->Clone(name));
49 out->a = ctx->Clone(a);
50 out->b = ctx->Clone(b);
51 out->c = ctx->Clone(c);
52 out->vec = ctx->Clone(vec);
186 CloneContext ctx(&cloned, &original); in TEST_F()
187 ctx.ReplaceAll([&](const Replaceable* in) { in TEST_F()
194 out->c = ctx.Clone(in->a); in TEST_F()
197 auto* cloned_root = ctx in TEST_F()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibaomdec.c45 AV1DecodeContext *ctx = avctx->priv_data; in aom_init() local
53 if (aom_codec_dec_init(&ctx->decoder, iface, &deccfg, 0) != AOM_CODEC_OK) { in aom_init()
54 const char *error = aom_codec_error(&ctx->decoder); in aom_init()
162 AV1DecodeContext *ctx = avctx->priv_data; in aom_decode() local
167 if (aom_codec_decode(&ctx->decoder, avpkt->data, avpkt->size, NULL) != in aom_decode()
169 const char *error = aom_codec_error(&ctx->decoder); in aom_decode()
170 const char *detail = aom_codec_error_detail(&ctx->decoder); in aom_decode()
179 if ((img = aom_codec_get_frame(&ctx->decoder, &iter))) { in aom_decode()
205 ret = aom_codec_control(&ctx->decoder, AOMD_GET_FRAME_FLAGS, &flags); in aom_decode()
241 AV1DecodeContext *ctx in aom_free() local
[all...]
/third_party/ffmpeg/libavformat/
H A Drtpdec_mpeg4.c176 static int aac_parse_packet(AVFormatContext *ctx, PayloadContext *data, in aac_parse_packet() argument
186 av_log(ctx, AV_LOG_ERROR, "Invalid parser state\n"); in aac_parse_packet()
190 av_log(ctx, AV_LOG_ERROR, "Invalid AU size\n"); in aac_parse_packet()
194 av_log(ctx, AV_LOG_ERROR, "Out of memory\n"); in aac_parse_packet()
211 av_log(ctx, AV_LOG_ERROR, "Error parsing AU headers\n"); in aac_parse_packet()
222 av_log(ctx, AV_LOG_ERROR, "Invalid AU size\n"); in aac_parse_packet()
235 av_log(ctx, AV_LOG_ERROR, "Invalid packet received\n"); in aac_parse_packet()
247 av_log(ctx, AV_LOG_ERROR, "Missed some packets, discarding frame\n"); in aac_parse_packet()
254 av_log(ctx, AV_LOG_ERROR, "Out of memory\n"); in aac_parse_packet()
265 av_log(ctx, AV_LOG_ERRO in aac_parse_packet()
[all...]
/third_party/libdrm/intel/
H A Dintel_bufmgr.h220 int drm_intel_gem_context_get_id(drm_intel_context *ctx,
222 void drm_intel_gem_context_destroy(drm_intel_context *ctx);
223 int drm_intel_gem_bo_context_exec(drm_intel_bo *bo, drm_intel_context *ctx,
226 drm_intel_context *ctx,
270 void drm_intel_decode_context_free(struct drm_intel_decode *ctx);
271 void drm_intel_decode_set_batch_pointer(struct drm_intel_decode *ctx,
274 void drm_intel_decode_set_dump_past_end(struct drm_intel_decode *ctx,
276 void drm_intel_decode_set_head_tail(struct drm_intel_decode *ctx,
278 void drm_intel_decode_set_output_file(struct drm_intel_decode *ctx, FILE *out);
279 void drm_intel_decode(struct drm_intel_decode *ctx);
[all...]

Completed in 17 milliseconds

1...<<131132133134135136137138139140>>...294