/third_party/mesa3d/src/amd/vulkan/winsys/null/ |
H A D | radv_null_cs.c | 46 struct radv_null_ctx *ctx = CALLOC_STRUCT(radv_null_ctx); in radv_null_ctx_create() local 48 if (!ctx) in radv_null_ctx_create() 51 *rctx = (struct radeon_winsys_ctx *)ctx; in radv_null_ctx_create() 58 struct radv_null_ctx *ctx = (struct radv_null_ctx *)rwctx; in radv_null_ctx_destroy() local 59 FREE(ctx); in radv_null_ctx_destroy()
|
/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_shader.c | 68 struct rogue_shader *rogue_shader_create(struct rogue_build_ctx *ctx, in rogue_shader_create() argument 73 if (!ctx) in rogue_shader_create() 76 shader = rzalloc_size(ctx, sizeof(*shader)); in rogue_shader_create() 84 shader->ctx = ctx; in rogue_shader_create()
|
/third_party/node/lib/internal/ |
H A D | net.js | 58 const ctx = {}; 59 writeBuffer(fd, chunk, 0, chunk.length, null, undefined, ctx); 60 if (ctx.errno !== undefined) { 61 const ex = errors.uvException(ctx); 62 ex.errno = ctx.errno;
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_fence.c | 57 struct lima_context *ctx = lima_context(pctx); in lima_fence_server_sync() local 59 sync_accumulate("lima", &ctx->in_sync_fd, fence->fd); in lima_fence_server_sync() 62 void lima_fence_context_init(struct lima_context *ctx) in lima_fence_context_init() argument 64 ctx->base.create_fence_fd = lima_create_fence_fd; in lima_fence_context_init() 65 ctx->base.fence_server_sync = lima_fence_server_sync; in lima_fence_context_init()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_helpers.h | 89 util_begin_pipestat_query(struct pipe_context *ctx); 92 util_end_pipestat_query(struct pipe_context *ctx, struct pipe_query *q, 96 util_begin_time_query(struct pipe_context *ctx); 98 util_end_time_query(struct pipe_context *ctx, struct pipe_query *q, FILE *f, 102 util_wait_for_idle(struct pipe_context *ctx);
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | d1_srtp.c | 108 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles) in SSL_CTX_set_tlsext_use_srtp() argument 110 return ssl_ctx_make_profiles(profiles, &ctx->srtp_profiles); in SSL_CTX_set_tlsext_use_srtp() 123 } else if ((s->ctx != NULL) && (s->ctx->srtp_profiles != NULL)) { in STACK_OF() 124 return s->ctx->srtp_profiles; in STACK_OF()
|
/third_party/node/deps/openssl/openssl/fuzz/ |
H A D | bignum.c | 35 BN_CTX *ctx; in FuzzerTestOneInput() local 47 ctx = BN_CTX_new(); in FuzzerTestOneInput() 77 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput() 78 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx)); in FuzzerTestOneInput() 101 BN_CTX_free(ctx); in FuzzerTestOneInput()
|
H A D | client.c | 61 SSL_CTX *ctx; in FuzzerTestOneInput() local 67 ctx = SSL_CTX_new(SSLv23_method()); in FuzzerTestOneInput() 68 if (ctx == NULL) in FuzzerTestOneInput() 71 client = SSL_new(ctx); in FuzzerTestOneInput() 100 SSL_CTX_free(ctx); in FuzzerTestOneInput()
|
/third_party/node/deps/openssl/openssl/crypto/pkcs7/ |
H A D | pk7_mime.c | 34 const PKCS7_CTX *ctx = ossl_pkcs7_get0_ctx(p7); in SMIME_write_PKCS7() local 48 ossl_pkcs7_ctx_get0_libctx(ctx), in SMIME_write_PKCS7() 49 ossl_pkcs7_ctx_get0_propq(ctx)); in SMIME_write_PKCS7() 59 libctx = (*p7)->ctx.libctx; in SMIME_read_PKCS7_ex() 60 propq = (*p7)->ctx.propq; in SMIME_read_PKCS7_ex()
|
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
H A D | dsa_check.c | 72 BN_CTX *ctx = NULL; in ossl_dsa_check_pairwise() local 81 ctx = BN_CTX_new_ex(dsa->libctx); in ossl_dsa_check_pairwise() 82 if (ctx == NULL) in ossl_dsa_check_pairwise() 89 if (!ossl_dsa_generate_public_key(ctx, dsa, dsa->priv_key, pub_key)) in ossl_dsa_check_pairwise() 95 BN_CTX_free(ctx); in ossl_dsa_check_pairwise()
|
/third_party/openssl/crypto/pkcs7/ |
H A D | pk7_mime.c | 34 const PKCS7_CTX *ctx = ossl_pkcs7_get0_ctx(p7); in SMIME_write_PKCS7() local 48 ossl_pkcs7_ctx_get0_libctx(ctx), in SMIME_write_PKCS7() 49 ossl_pkcs7_ctx_get0_propq(ctx)); in SMIME_write_PKCS7() 59 libctx = (*p7)->ctx.libctx; in SMIME_read_PKCS7_ex() 60 propq = (*p7)->ctx.propq; in SMIME_read_PKCS7_ex()
|
/third_party/skia/src/core/ |
H A D | SkTypefaceCache.cpp | 24 sk_sp<SkTypeface> SkTypefaceCache::findByProcAndRef(FindProc proc, void* ctx) const { in findByProcAndRef() 26 if (proc(typeface.get(), ctx)) { in findByProcAndRef() 75 sk_sp<SkTypeface> SkTypefaceCache::FindByProcAndRef(FindProc proc, void* ctx) { in FindByProcAndRef() argument 77 return Get().findByProcAndRef(proc, ctx); in FindByProcAndRef() 88 static bool DumpProc(SkTypeface* face, void* ctx) { in DumpProc() argument
|
/third_party/openssl/ssl/ |
H A D | d1_srtp.c | 108 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles) in SSL_CTX_set_tlsext_use_srtp() argument 110 return ssl_ctx_make_profiles(profiles, &ctx->srtp_profiles); in SSL_CTX_set_tlsext_use_srtp() 123 } else if ((s->ctx != NULL) && (s->ctx->srtp_profiles != NULL)) { in STACK_OF() 124 return s->ctx->srtp_profiles; in STACK_OF()
|
/third_party/openssl/fuzz/ |
H A D | bignum.c | 35 BN_CTX *ctx; in FuzzerTestOneInput() local 47 ctx = BN_CTX_new(); in FuzzerTestOneInput() 77 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput() 78 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx)); in FuzzerTestOneInput() 101 BN_CTX_free(ctx); in FuzzerTestOneInput()
|
H A D | client.c | 61 SSL_CTX *ctx; in FuzzerTestOneInput() local 67 ctx = SSL_CTX_new(SSLv23_method()); in FuzzerTestOneInput() 68 if (ctx == NULL) in FuzzerTestOneInput() 71 client = SSL_new(ctx); in FuzzerTestOneInput() 100 SSL_CTX_free(ctx); in FuzzerTestOneInput()
|
/third_party/openssl/test/ |
H A D | bn_internal_test.c | 25 static BN_CTX *ctx; variable 37 && TEST_true(ossl_bn_miller_rabin_is_prime(bn, 10, ctx, NULL, 1, in test_is_prime_enhanced() 57 && TEST_true(ossl_bn_miller_rabin_is_prime(bn, 10, ctx, NULL, 1, in test_is_composite_enhanced() 91 if (!TEST_ptr(ctx = BN_CTX_new())) in setup_tests() 103 BN_CTX_free(ctx); in cleanup_tests()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | item_kind.rs | 132 ctx: &BindgenContext, in dot_attributes() 141 ItemKind::Module(ref module) => module.dot_attributes(ctx, out), in dot_attributes() 142 ItemKind::Type(ref ty) => ty.dot_attributes(ctx, out), in dot_attributes() 143 ItemKind::Function(ref func) => func.dot_attributes(ctx, out), in dot_attributes() 144 ItemKind::Var(ref var) => var.dot_attributes(ctx, out), in dot_attributes()
|
H A D | module.rs | 78 ctx: &mut BindgenContext, in parse() 83 let module_id = ctx.module(cursor); in parse() 84 ctx.with_module(module_id, |ctx| { in parse() 86 parse_one(ctx, cursor, Some(module_id.into())) in parse()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGMask.cpp | 26 SkRect SkSVGMask::bounds(const SkSVGRenderContext& ctx) const { in bounds() 27 return ctx.resolveOBBRect(fX, fY, fWidth, fHeight, fMaskUnits); in bounds() 30 void SkSVGMask::renderMask(const SkSVGRenderContext& ctx) const { in renderMask() 38 SkSVGRenderContext lctx(ctx); in renderMask() 58 const auto obbt = ctx.transformForCurrentOBB(fMaskContentUnits); in renderMask()
|
H A D | SkSVGFeComposite.cpp | 47 sk_sp<SkImageFilter> SkSVGFeComposite::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument 49 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 50 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 51 const sk_sp<SkImageFilter> background = fctx.resolveInput(ctx, fIn2, colorspace); in onMakeImageFilter() 52 const sk_sp<SkImageFilter> foreground = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter()
|
H A D | SkSVGFeMorphology.cpp | 23 sk_sp<SkImageFilter> SkSVGFeMorphology::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument 25 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 26 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 27 sk_sp<SkImageFilter> input = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter() 30 * ctx.transformForCurrentOBB(fctx.primitiveUnits()).scale; in onMakeImageFilter()
|
H A D | SkSVGFeBlend.cpp | 38 sk_sp<SkImageFilter> SkSVGFeBlend::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument 40 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 42 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 43 const sk_sp<SkImageFilter> background = fctx.resolveInput(ctx, fIn2, colorspace); in onMakeImageFilter() 44 const sk_sp<SkImageFilter> foreground = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_deband.c | 48 int (*deband)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 72 static int query_formats(AVFilterContext *ctx) in query_formats() argument 74 DebandContext *s = ctx->priv; in query_formats() 111 return ff_set_common_formats_from_list(ctx, s->coupling ? cpix_fmts : pix_fmts); in query_formats() 130 static int deband_8_c(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in deband_8_c() argument 132 DebandContext *s = ctx->priv; in deband_8_c() 179 static int deband_8_coupling_c(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in deband_8_coupling_c() argument 181 DebandContext *s = ctx->priv; in deband_8_coupling_c() 244 static int deband_16_coupling_c(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in deband_16_coupling_c() argument 246 DebandContext *s = ctx in deband_16_coupling_c() 311 deband_16_c(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) deband_16_c() argument 363 AVFilterContext *ctx = inlink->dst; config_input() local 411 AVFilterContext *ctx = inlink->dst; filter_frame() local 433 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument 444 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_colormap.c | 169 static void build_map(AVFilterContext *ctx) in build_map() argument 171 ColorMapContext *s = ctx->priv; in build_map() 303 static int colormap_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in colormap_slice() argument 305 ColorMapContext *s = ctx->priv; in colormap_slice() 377 AVFilterContext *ctx = inlink->dst; in import_map() local 378 ColorMapContext *s = ctx->priv; in import_map() 424 AVFilterContext *ctx = fs->parent; in process_frame() local 426 AVFilterLink *outlink = ctx->outputs[0]; in process_frame() 447 import_map(ctx->inputs[1], source); in process_frame() 448 import_map(ctx in process_frame() 485 AVFilterContext *ctx = outlink->src; config_output() local 524 activate(AVFilterContext *ctx) activate() argument 530 uninit(AVFilterContext *ctx) uninit() argument [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | imfdec.c | 101 AVFormatContext *ctx; /**< Context associated with the resource */ member 366 if (track_resource->ctx) { in open_track_resource_context() 372 track_resource->ctx = avformat_alloc_context(); in open_track_resource_context() 373 if (!track_resource->ctx) in open_track_resource_context() 376 track_resource->ctx->io_open = s->io_open; in open_track_resource_context() 377 track_resource->ctx->io_close = s->io_close; in open_track_resource_context() 378 track_resource->ctx->io_close2 = s->io_close2; in open_track_resource_context() 379 track_resource->ctx->flags |= s->flags & ~AVFMT_FLAG_CUSTOM_IO; in open_track_resource_context() 381 if ((ret = ff_copy_whiteblacklists(track_resource->ctx, s)) < 0) in open_track_resource_context() 384 if ((ret = av_opt_set(track_resource->ctx, "format_whitelis in open_track_resource_context() [all...] |