Home
last modified time | relevance | path

Searched refs:ctx (Results 2751 - 2775 of 7228) sorted by relevance

1...<<111112113114115116117118119120>>...290

/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.h15 int (*initkey)(void *ctx, const uint8_t *key, size_t keylen);
16 int (*cipher)(void *ctx, unsigned char *out, const unsigned char *in,
18 void (*setspeed)(void *ctx, int speed);
19 int (*settag)(void *ctx, const unsigned char *tag, size_t tagl);
20 void (*cleanup)(void *ctx);
H A Dcipher_idea.c28 PROV_IDEA_CTX *ctx = (PROV_IDEA_CTX *)vctx; in idea_freectx() local
31 OPENSSL_clear_free(ctx, sizeof(*ctx)); in idea_freectx()
34 static void *idea_dupctx(void *ctx) in idea_dupctx() argument
36 PROV_IDEA_CTX *in = (PROV_IDEA_CTX *)ctx; in idea_dupctx()
H A Dcipher_seed.c27 PROV_SEED_CTX *ctx = (PROV_SEED_CTX *)vctx; in seed_freectx() local
30 OPENSSL_clear_free(ctx, sizeof(*ctx)); in seed_freectx()
33 static void *seed_dupctx(void *ctx) in seed_dupctx() argument
35 PROV_SEED_CTX *in = (PROV_SEED_CTX *)ctx; in seed_dupctx()
/third_party/node/deps/openssl/openssl/providers/implementations/digests/
H A Dnull_prov.c18 static int null_init(NULLMD_CTX *ctx) in null_init() argument
23 static int null_update(NULLMD_CTX *ctx, const void *data, size_t datalen) in null_update() argument
28 static int null_final(unsigned char *md, NULLMD_CTX *ctx) in null_final() argument
40 static int name##_internal_final(void *ctx, unsigned char *out, size_t *outl, \
43 if (ossl_prov_is_running() && fin(out, ctx)) { \
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dpoly1305.h22 typedef void (*poly1305_blocks_f) (void *ctx, const unsigned char *inp,
24 typedef void (*poly1305_emit_f) (void *ctx, unsigned char mac[16],
42 void Poly1305_Init(POLY1305 *ctx, const unsigned char key[32]);
43 void Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len);
44 void Poly1305_Final(POLY1305 *ctx, unsigned char mac[16]);
H A Dsiphash.h24 size_t SipHash_hash_size(SIPHASH *ctx);
25 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size);
26 int SipHash_Init(SIPHASH *ctx, const unsigned char *k,
28 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen);
29 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen);
/third_party/openssl/test/
H A Dsysdefaulttest.c19 static SSL_CTX *ctx; variable
23 if (!TEST_int_eq(SSL_CTX_get_min_proto_version(ctx), TLS1_2_VERSION) in test_func()
24 && !TEST_int_eq(SSL_CTX_get_max_proto_version(ctx), TLS1_2_VERSION)) { in test_func()
41 if (!TEST_ptr(ctx = SSL_CTX_new(TLS_method()))) in setup_tests()
49 SSL_CTX_free(ctx); in cleanup_tests()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.h15 int (*initkey)(void *ctx, const uint8_t *key, size_t keylen);
16 int (*cipher)(void *ctx, unsigned char *out, const unsigned char *in,
18 void (*setspeed)(void *ctx, int speed);
19 int (*settag)(void *ctx, const unsigned char *tag, size_t tagl);
20 void (*cleanup)(void *ctx);
H A Dcipher_idea.c28 PROV_IDEA_CTX *ctx = (PROV_IDEA_CTX *)vctx; in idea_freectx() local
31 OPENSSL_clear_free(ctx, sizeof(*ctx)); in idea_freectx()
34 static void *idea_dupctx(void *ctx) in idea_dupctx() argument
36 PROV_IDEA_CTX *in = (PROV_IDEA_CTX *)ctx; in idea_dupctx()
H A Dcipher_seed.c27 PROV_SEED_CTX *ctx = (PROV_SEED_CTX *)vctx; in seed_freectx() local
30 OPENSSL_clear_free(ctx, sizeof(*ctx)); in seed_freectx()
33 static void *seed_dupctx(void *ctx) in seed_dupctx() argument
35 PROV_SEED_CTX *in = (PROV_SEED_CTX *)ctx; in seed_dupctx()
/third_party/openssl/include/crypto/
H A Dpoly1305.h22 typedef void (*poly1305_blocks_f) (void *ctx, const unsigned char *inp,
24 typedef void (*poly1305_emit_f) (void *ctx, unsigned char mac[16],
42 void Poly1305_Init(POLY1305 *ctx, const unsigned char key[32]);
43 void Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len);
44 void Poly1305_Final(POLY1305 *ctx, unsigned char mac[16]);
H A Dsiphash.h24 size_t SipHash_hash_size(SIPHASH *ctx);
25 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size);
26 int SipHash_Init(SIPHASH *ctx, const unsigned char *k,
28 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen);
29 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen);
/third_party/openssl/providers/implementations/digests/
H A Dnull_prov.c18 static int null_init(NULLMD_CTX *ctx) in null_init() argument
23 static int null_update(NULLMD_CTX *ctx, const void *data, size_t datalen) in null_update() argument
28 static int null_final(unsigned char *md, NULLMD_CTX *ctx) in null_final() argument
40 static int name##_internal_final(void *ctx, unsigned char *out, size_t *outl, \
43 if (ossl_prov_is_running() && fin(out, ctx)) { \
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dosfiber_mips64.c27 void marl_fiber_set_target(struct marl_fiber_context* ctx, in marl_fiber_set_target() argument
33 ctx->ra = (uintptr_t)&marl_fiber_trampoline; in marl_fiber_set_target()
34 ctx->a0 = (uintptr_t)target; in marl_fiber_set_target()
35 ctx->a1 = (uintptr_t)arg; in marl_fiber_set_target()
36 ctx->sp = ((uintptr_t)stack_top) & ~(uintptr_t)15; in marl_fiber_set_target()
/third_party/skia/third_party/externals/tint/src/ast/
H A Dalias.cc36 const Alias* Alias::Clone(CloneContext* ctx) const { in Clone()
38 auto src = ctx->Clone(source); in Clone()
39 auto sym = ctx->Clone(name); in Clone()
40 auto* ty = ctx->Clone(type); in Clone()
41 return ctx->dst->create<Alias>(src, sym, ty); in Clone()
H A Dbitcast_expression.cc37 const BitcastExpression* BitcastExpression::Clone(CloneContext* ctx) const { in Clone()
39 auto src = ctx->Clone(source); in Clone()
40 auto* t = ctx->Clone(type); in Clone()
41 auto* e = ctx->Clone(expr); in Clone()
42 return ctx->dst->create<BitcastExpression>(src, t, e); in Clone()
H A Delse_statement.cc38 const ElseStatement* ElseStatement::Clone(CloneContext* ctx) const { in Clone()
40 auto src = ctx->Clone(source); in Clone()
41 auto* cond = ctx->Clone(condition); in Clone()
42 auto* b = ctx->Clone(body); in Clone()
43 return ctx->dst->create<ElseStatement>(src, cond, b); in Clone()
H A Dloop_statement.cc38 const LoopStatement* LoopStatement::Clone(CloneContext* ctx) const { in Clone()
40 auto src = ctx->Clone(source); in Clone()
41 auto* b = ctx->Clone(body); in Clone()
42 auto* cont = ctx->Clone(continuing); in Clone()
43 return ctx->dst->create<LoopStatement>(src, b, cont); in Clone()
/third_party/skia/third_party/externals/tint/src/transform/
H A Dremove_unreachable_statements.cc40 void RemoveUnreachableStatements::Run(CloneContext& ctx, in Run() argument
43 for (auto* node : ctx.src->ASTNodes().Objects()) { in Run()
44 if (auto* stmt = ctx.src->Sem().Get<sem::Statement>(node)) { in Run()
46 RemoveStatement(ctx, stmt->Declaration()); in Run()
51 ctx.Clone(); in Run()
/third_party/skia/modules/svg/src/
H A DSkSVGFeFlood.cpp14 SkColor SkSVGFeFlood::resolveFloodColor(const SkSVGRenderContext& ctx) const { in resolveFloodColor()
23 const SkColor color = ctx.resolveSvgColor(*floodColor); in resolveFloodColor()
27 sk_sp<SkImageFilter> SkSVGFeFlood::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument
29 return SkImageFilters::Shader(SkShaders::Color(resolveFloodColor(ctx)), in onMakeImageFilter()
30 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
H A DSkSVGFeOffset.cpp21 sk_sp<SkImageFilter> SkSVGFeOffset::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument
24 * ctx.transformForCurrentOBB(fctx.primitiveUnits()).scale; in onMakeImageFilter()
27 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)); in onMakeImageFilter()
28 return SkImageFilters::Offset(d.x, d.y, std::move(in), this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
/third_party/ffmpeg/libavformat/
H A Daviobuf.c81 void ffio_init_context(FFIOContext *ctx, in ffio_init_context() argument
90 AVIOContext *const s = &ctx->pub; in ffio_init_context()
92 memset(ctx, 0, sizeof(*ctx)); in ffio_init_context()
95 ctx->orig_buffer_size = in ffio_init_context()
114 ctx->short_seek_threshold = SHORT_SEEK_THRESHOLD; in ffio_init_context()
125 ctx->current_type = AVIO_DATA_MARKER_UNKNOWN; in ffio_init_context()
126 ctx->last_time = AV_NOPTS_VALUE; in ffio_init_context()
127 ctx->short_seek_get = NULL; in ffio_init_context()
159 FFIOContext *const ctx in writeout() local
262 FFIOContext *const ctx = ffiocontext(s); avio_seek() local
354 FFIOContext *const ctx = ffiocontext(s); avio_size() local
492 FFIOContext *const ctx = ffiocontext(s); avio_write_marker() local
542 FFIOContext *const ctx = (FFIOContext *)s; fill_buffer() local
1095 FFIOContext *const ctx = ffiocontext(s); ffio_limit() local
1257 FFIOContext *const ctx = ffiocontext(s); avio_close() local
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program.c156 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_populate_sampler_prog_key_data()
1076 struct crocus_screen *screen = (struct crocus_screen *) ice->ctx.screen; in crocus_debug_recompile()
1115 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_vs_outputs_written()
1184 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_compile_vs()
1295 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_update_compiled_vs()
1404 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_compile_tcs()
1522 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_update_compiled_tcs()
1570 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_compile_tes()
1666 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_update_compiled_tes()
1710 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx in crocus_compile_gs()
2697 crocus_create_uncompiled_shader(struct pipe_context *ctx, nir_shader *nir, const struct pipe_stream_output_info *so_info) crocus_create_uncompiled_shader() argument
2744 crocus_create_shader_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_shader_state() argument
2758 crocus_create_vs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_vs_state() argument
2785 crocus_create_tcs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_tcs_state() argument
2815 crocus_create_tes_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_tes_state() argument
2844 crocus_create_gs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_gs_state() argument
2867 crocus_create_fs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_fs_state() argument
2920 crocus_create_compute_state(struct pipe_context *ctx, const struct pipe_compute_state *state) crocus_create_compute_state() argument
2949 crocus_delete_shader_state(struct pipe_context *ctx, void *state, gl_shader_stage stage) crocus_delete_shader_state() argument
2969 crocus_delete_vs_state(struct pipe_context *ctx, void *state) crocus_delete_vs_state() argument
2975 crocus_delete_tcs_state(struct pipe_context *ctx, void *state) crocus_delete_tcs_state() argument
2981 crocus_delete_tes_state(struct pipe_context *ctx, void *state) crocus_delete_tes_state() argument
2987 crocus_delete_gs_state(struct pipe_context *ctx, void *state) crocus_delete_gs_state() argument
2993 crocus_delete_fs_state(struct pipe_context *ctx, void *state) crocus_delete_fs_state() argument
2999 crocus_delete_cs_state(struct pipe_context *ctx, void *state) crocus_delete_cs_state() argument
3041 crocus_bind_vs_state(struct pipe_context *ctx, void *state) crocus_bind_vs_state() argument
3067 crocus_bind_tcs_state(struct pipe_context *ctx, void *state) crocus_bind_tcs_state() argument
3073 crocus_bind_tes_state(struct pipe_context *ctx, void *state) crocus_bind_tes_state() argument
3085 crocus_bind_gs_state(struct pipe_context *ctx, void *state) crocus_bind_gs_state() argument
3097 crocus_bind_fs_state(struct pipe_context *ctx, void *state) crocus_bind_fs_state() argument
3126 crocus_bind_cs_state(struct pipe_context *ctx, void *state) crocus_bind_cs_state() argument
3132 crocus_init_program_functions(struct pipe_context *ctx) crocus_init_program_functions() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Dnet.h278 * Registers the option type @p type with the given context object @p ctx.
280 * @param ctx The context to use.
284 coap_register_option(coap_context_t *ctx, uint16_t type) { in coap_register_option() argument
285 coap_option_setb(ctx->known_options, type); in coap_register_option()
289 * Set sendqueue_basetime in the given context object @p ctx to @p now. This
293 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now);
662 * @param ctx The CoAP context
672 coap_write(coap_context_t *ctx,
682 * @param ctx The CoAP context
685 void coap_read(coap_context_t *ctx, coap_tick_
[all...]
/third_party/ffmpeg/libavfilter/
H A Dsetpts.c100 static av_cold int init(AVFilterContext *ctx) in init() argument
102 SetPTSContext *setpts = ctx->priv; in init()
106 var_names, NULL, NULL, NULL, NULL, 0, ctx)) < 0) { in init()
107 av_log(ctx, AV_LOG_ERROR, "Error while parsing expression '%s'\n", setpts->expr_str); in init()
124 AVFilterContext *ctx = inlink->dst; in config_input() local
125 SetPTSContext *setpts = ctx->priv; in config_input()
224 static int activate(AVFilterContext *ctx) in activate() argument
226 SetPTSContext *setpts = ctx->priv; in activate()
227 AVFilterLink *inlink = ctx->inputs[0]; in activate()
228 AVFilterLink *outlink = ctx in activate()
259 uninit(AVFilterContext *ctx) uninit() argument
[all...]

Completed in 13 milliseconds

1...<<111112113114115116117118119120>>...290