Home
last modified time | relevance | path

Searched refs:ctx (Results 4801 - 4825 of 7316) sorted by relevance

1...<<191192193194195196197198199200>>...293

/third_party/libwebsockets/lib/drivers/button/
H A Dlws-button.c50 struct lws_context *ctx; member
418 lws_smd_msg_printf(bcs->ctx, LWSSMDCL_INTERACTION, in LWS_PLAT_TIMER_CB()
431 lws_button_controller_create(struct lws_context *ctx, in lws_button_controller_create() argument
444 bcs->ctx = ctx; in lws_button_controller_create()
/third_party/mbedtls/library/
H A Dasn1parse.c225 int (*cb)(void *ctx, int tag, in mbedtls_asn1_traverse_sequence_of()
227 void *ctx) in mbedtls_asn1_traverse_sequence_of()
255 ret = cb(ctx, tag, *p, len); in mbedtls_asn1_traverse_sequence_of()
307 static int asn1_get_sequence_of_cb(void *ctx, in asn1_get_sequence_of_cb() argument
313 (asn1_get_sequence_of_cb_ctx_t *) ctx; in asn1_get_sequence_of_cb()
220 mbedtls_asn1_traverse_sequence_of( unsigned char **p, const unsigned char *end, unsigned char tag_must_mask, unsigned char tag_must_val, unsigned char tag_may_mask, unsigned char tag_may_val, int (*cb)(void *ctx, int tag, unsigned char *start, size_t len), void *ctx) mbedtls_asn1_traverse_sequence_of() argument
/third_party/mesa3d/src/compiler/spirv/
H A Dnir_load_libclc.c123 struct mesa_sha1 ctx; in open_clc_data() local
124 _mesa_sha1_init(&ctx); in open_clc_data()
125 _mesa_sha1_update(&ctx, clc->file->sys_path, strlen(clc->file->sys_path)); in open_clc_data()
126 _mesa_sha1_update(&ctx, &stat.st_mtim, sizeof(stat.st_mtim)); in open_clc_data()
127 _mesa_sha1_final(&ctx, clc->cache_key); in open_clc_data()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_radeon_winsys.h265 struct radeon_winsys_ctx **ctx);
266 void (*ctx_destroy)(struct radeon_winsys_ctx *ctx);
268 bool (*ctx_wait_idle)(struct radeon_winsys_ctx *ctx, enum amd_ip_type amd_ip_type, int ring_index);
270 int (*ctx_set_pstate)(struct radeon_winsys_ctx *ctx, uint32_t pstate);
284 VkResult (*cs_submit)(struct radeon_winsys_ctx *ctx, uint32_t submit_count,
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
H A Dlws-button.c50 struct lws_context *ctx; member
388 lws_smd_msg_printf(bcs->ctx, LWSSMDCL_INTERACTION, in LWS_PLAT_TIMER_CB()
398 lws_button_controller_create(struct lws_context *ctx, in lws_button_controller_create() argument
411 bcs->ctx = ctx; in lws_button_controller_create()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_context.c198 v3d_ensure_prim_counts_allocated(struct v3d_context *ctx) in v3d_ensure_prim_counts_allocated() argument
200 if (ctx->prim_counts) in v3d_ensure_prim_counts_allocated()
205 u_upload_data(ctx->uploader, in v3d_ensure_prim_counts_allocated()
207 &ctx->prim_counts_offset, in v3d_ensure_prim_counts_allocated()
208 &ctx->prim_counts); in v3d_ensure_prim_counts_allocated()
/third_party/node/src/crypto/
H A Dcrypto_hmac.cc229 HMACCtxPointer ctx(HMAC_CTX_new()); in DeriveBits()
231 if (!ctx || in DeriveBits()
233 ctx.get(), in DeriveBits()
242 ctx.get(), in DeriveBits()
251 if (!HMAC_Final(ctx.get(), buf.data<unsigned char>(), &len)) { in DeriveBits()
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_qpack.h224 nghttp3_qpack_context ctx; member
557 * |ctx| is a part of encoder, |dtable_map| is not NULL. |hash| is a
566 int nghttp3_qpack_context_dtable_add(nghttp3_qpack_context *ctx,
671 nghttp3_qpack_context_dtable_get(nghttp3_qpack_context *ctx, uint64_t absidx);
678 nghttp3_qpack_context_dtable_top(nghttp3_qpack_context *ctx);
765 nghttp3_qpack_context ctx; member
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_screen.c85 struct pipe_context *ctx, in nouveau_screen_fence_finish()
157 struct mesa_sha1 ctx; in nouveau_disk_cache_create() local
162 _mesa_sha1_init(&ctx); in nouveau_disk_cache_create()
164 &ctx)) in nouveau_disk_cache_create()
167 _mesa_sha1_final(&ctx, sha1); in nouveau_disk_cache_create()
84 nouveau_screen_fence_finish(struct pipe_screen *screen, struct pipe_context *ctx, struct pipe_fence_handle *pfence, uint64_t timeout) nouveau_screen_fence_finish() argument
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_dh.c194 EVP_CIPHER_CTX *ctx; in dh_cms_encrypt() local
270 ctx = CMS_RecipientInfo_kari_get0_ctx(ri); in dh_cms_encrypt()
271 wrap_nid = EVP_CIPHER_CTX_get_type(ctx); in dh_cms_encrypt()
274 keylen = EVP_CIPHER_CTX_get_key_length(ctx); in dh_cms_encrypt()
285 if (EVP_CIPHER_param_to_asn1(ctx, wrap_alg->parameter) <= 0) in dh_cms_encrypt()
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_quic.c218 int SSL_CTX_set_quic_method(SSL_CTX *ctx, const SSL_QUIC_METHOD *quic_method) in SSL_CTX_set_quic_method() argument
220 if (ctx->method->version != TLS_ANY_VERSION) in SSL_CTX_set_quic_method()
222 ctx->quic_method = quic_method; in SSL_CTX_set_quic_method()
223 ctx->options &= ~SSL_OP_ENABLE_MIDDLEBOX_COMPAT; in SSL_CTX_set_quic_method()
282 md = ssl_md(ssl->ctx, c->algorithm2); in quic_set_encryption_secrets()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Devp_pbe.c90 ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de, in EVP_PBE_CipherInit_ex()
151 ret = keygen_ex(ctx, pass, passlen, param, cipher, md, en_de, libctx, propq); in EVP_PBE_CipherInit_ex()
153 ret = keygen(ctx, pass, passlen, param, cipher, md, en_de); in EVP_PBE_CipherInit_ex()
163 ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de) in EVP_PBE_CipherInit()
165 return EVP_PBE_CipherInit_ex(pbe_obj, pass, passlen, param, ctx, en_de, NULL, NULL); in EVP_PBE_CipherInit()
89 EVP_PBE_CipherInit_ex(ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de, OSSL_LIB_CTX *libctx, const char *propq) EVP_PBE_CipherInit_ex() argument
162 EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de) EVP_PBE_CipherInit() argument
/third_party/node/deps/openssl/openssl/crypto/pkcs12/
H A Dp12_mutl.c118 md = md_fetch = EVP_MD_fetch(p12->authsafes->ctx.libctx, md_name, in pkcs12_gen_mac()
119 p12->authsafes->ctx.propq); in pkcs12_gen_mac()
155 p12->authsafes->ctx.libctx, in pkcs12_gen_mac()
156 p12->authsafes->ctx.propq)) { in pkcs12_gen_mac()
272 if (RAND_bytes_ex(p12->authsafes->ctx.libctx, p12->mac->salt->data, in PKCS12_setup_mac()
/third_party/openssl/crypto/cms/
H A Dcms_dh.c194 EVP_CIPHER_CTX *ctx; in dh_cms_encrypt() local
270 ctx = CMS_RecipientInfo_kari_get0_ctx(ri); in dh_cms_encrypt()
271 wrap_nid = EVP_CIPHER_CTX_get_type(ctx); in dh_cms_encrypt()
274 keylen = EVP_CIPHER_CTX_get_key_length(ctx); in dh_cms_encrypt()
285 if (EVP_CIPHER_param_to_asn1(ctx, wrap_alg->parameter) <= 0) in dh_cms_encrypt()
/third_party/openssl/crypto/evp/
H A Devp_pbe.c90 ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de, in EVP_PBE_CipherInit_ex()
151 ret = keygen_ex(ctx, pass, passlen, param, cipher, md, en_de, libctx, propq); in EVP_PBE_CipherInit_ex()
153 ret = keygen(ctx, pass, passlen, param, cipher, md, en_de); in EVP_PBE_CipherInit_ex()
163 ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de) in EVP_PBE_CipherInit()
165 return EVP_PBE_CipherInit_ex(pbe_obj, pass, passlen, param, ctx, en_de, NULL, NULL); in EVP_PBE_CipherInit()
89 EVP_PBE_CipherInit_ex(ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de, OSSL_LIB_CTX *libctx, const char *propq) EVP_PBE_CipherInit_ex() argument
162 EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de) EVP_PBE_CipherInit() argument
/third_party/openssl/crypto/pkcs12/
H A Dp12_mutl.c116 md = md_fetch = EVP_MD_fetch(p12->authsafes->ctx.libctx, md_name, in pkcs12_gen_mac()
117 p12->authsafes->ctx.propq); in pkcs12_gen_mac()
150 p12->authsafes->ctx.libctx, in pkcs12_gen_mac()
151 p12->authsafes->ctx.propq)) { in pkcs12_gen_mac()
267 if (RAND_bytes_ex(p12->authsafes->ctx.libctx, p12->mac->salt->data, in PKCS12_setup_mac()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dtoken_enc.c87 #define TOKEN_ID(t, b, ctx) \
88 (NUM_PROBAS * ((ctx) + NUM_CTX * ((b) + NUM_BANDS * (t))))
113 int VP8RecordCoeffTokens(int ctx, const struct VP8Residual* const res, in VP8RecordCoeffTokens() argument
119 uint32_t base_id = TOKEN_ID(coeff_type, n, ctx); in VP8RecordCoeffTokens()
121 proba_t* s = res->stats[n][ctx]; in VP8RecordCoeffTokens()
131 base_id = TOKEN_ID(coeff_type, VP8EncBands[n], 0); // ctx=0 in VP8RecordCoeffTokens()
136 base_id = TOKEN_ID(coeff_type, VP8EncBands[n], 1); // ctx=1 in VP8RecordCoeffTokens()
184 base_id = TOKEN_ID(coeff_type, VP8EncBands[n], 2); // ctx=2 in VP8RecordCoeffTokens()
/third_party/protobuf/src/google/protobuf/
H A Dsource_context.pb.cc149 const char* SourceContext::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { in _InternalParse() argument
152 while (!ctx->Done(&ptr)) { in _InternalParse()
161 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse()
169 ctx->SetLastTag(tag); in _InternalParse()
174 ptr, ctx); in _InternalParse()
/third_party/skia/modules/skottie/src/effects/
H A DMotionBlurEffect.cpp91 const RenderContext* ctx) const { in renderToRaster8888Pow2Samples()
129 child->render(canvas, ctx); in renderToRaster8888Pow2Samples()
193 void MotionBlurEffect::onRender(SkCanvas* canvas, const RenderContext* ctx) const { in onRender()
209 this->renderToRaster8888Pow2Samples(canvas, ctx); in onRender()
222 ScopedRenderContext frame_ctx(canvas, ctx); in onRender()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDepthTests.cpp54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color);
85 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() argument
87 ctx.useProgram(programID); in setColor()
88 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr()); in setColor()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
H A Dohos_context_i.h95 virtual void* OH_createImage(void* dpy, void* ctx, uint32_t target, void* buffer, const int *attrib_list) = 0;
96 virtual void* OH_createImageKHR(void* dpy, void* ctx, uint32_t target, void* buffer, const int32_t *attrib_list) = 0;
107 virtual uint32_t OH_destroyContext(void* dpy, void* ctx) = 0;
127 virtual uint32_t OH_makeCurrent(void* dpy, void* draw, void* read, void* ctx) = 0;
129 virtual uint32_t OH_queryContext(void* dpy, void* ctx, int32_t attribute, int32_t *value) = 0;
H A Drosen_context_impl.h63 void* OH_createImage(void* dpy, void* ctx, uint32_t target, void* buffer, const int *attrib_list) override;
64 void* OH_createImageKHR(void* dpy, void* ctx, uint32_t target, void* buffer, const int32_t *attrib_list) override;
75 uint32_t OH_destroyContext(void* dpy, void* ctx) override;
95 uint32_t OH_makeCurrent(void* dpy, void* draw, void* read, void* ctx) override;
97 uint32_t OH_queryContext(void* dpy, void* ctx, int32_t attribute, int32_t *value) override;
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDepthTests.cpp54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color);
82 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() argument
84 ctx.useProgram(programID); in setColor()
85 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr()); in setColor()
/third_party/openssl/test/
H A Dsslapitest.c545 static int verify_retry_cb(X509_STORE_CTX *ctx, void *arg) in verify_retry_cb() argument
547 int res = X509_verify_cert(ctx); in verify_retry_cb()
553 || (ssl = X509_STORE_CTX_get_ex_data(ctx, idx)) == NULL) in verify_retry_cb()
556 if (res == 0 && X509_STORE_CTX_get_error(ctx) == in verify_retry_cb()
686 SSL_CTX *ctx = NULL; in test_ssl_ctx_build_cert_chain() local
690 if (!TEST_ptr(ctx = SSL_CTX_new_ex(libctx, NULL, TLS_server_method()))) in test_ssl_ctx_build_cert_chain()
692 SSL_CTX_set_default_passwd_cb(ctx, get_password_cb); in test_ssl_ctx_build_cert_chain()
694 if (!TEST_int_eq(SSL_CTX_use_certificate_chain_file(ctx, leaf_chain), 1) in test_ssl_ctx_build_cert_chain()
695 || !TEST_int_eq(SSL_CTX_use_PrivateKey_file(ctx, skey, in test_ssl_ctx_build_cert_chain()
697 || !TEST_int_eq(SSL_CTX_check_private_key(ctx), in test_ssl_ctx_build_cert_chain()
2001 remove_session_cb(SSL_CTX *ctx, SSL_SESSION *sess) remove_session_cb() argument
3016 SSL_CTX *ctx; execute_test_ssl_bio() local
5800 SSL_CTX *ctx = (SSL_CTX *)arg; sni_cb() local
6946 SSL_CTX *ctx = NULL; test_max_fragment_len_ext() local
7837 tick_key_cb(SSL *s, unsigned char key_name[16], unsigned char iv[EVP_MAX_IV_LENGTH], EVP_CIPHER_CTX *ctx, HMAC_CTX *hctx, int enc) tick_key_cb() argument
7879 tick_key_evp_cb(SSL *s, unsigned char key_name[16], unsigned char iv[EVP_MAX_IV_LENGTH], EVP_CIPHER_CTX *ctx, EVP_MAC_CTX *hctx, int enc) tick_key_evp_cb() argument
8312 SSL_CTX *ctx = (SSL_CTX *)arg; cert_cb() local
8828 SSL_CTX *ctx; test_session_timeout() local
9917 SSL_CTX *ctx = NULL; test_set_alpn() local
9989 SSL_CTX *ctx = NULL; test_set_verify_cert_store_ssl_ctx() local
10068 SSL_CTX *ctx = NULL; test_set_verify_cert_store_ssl() local
10154 SSL_CTX *ctx = NULL; test_inherit_verify_param() local
10196 SSL_CTX *ctx = NULL; test_load_dhfile() local
[all...]
/third_party/vk-gl-cts/modules/egl/
H A DteglGLES2SharingThreadedTests.cpp3764 static void addSimpleTests (EglTestContext& ctx, tcu::TestCaseGroup* group, bool useSync, bool serverSync) in addSimpleTests() argument
3767 TestCaseGroup* bufferTests = new TestCaseGroup(ctx, "buffers", "Buffer management tests"); in addSimpleTests()
3778 bufferTests->addChild(new GLES2ThreadedSharingTest(ctx, config, "gen_delete", "Generate and delete buffer")); in addSimpleTests()
3790 bufferTests->addChild(new GLES2ThreadedSharingTest(ctx, config, "bufferdata", "Generate, set data and delete buffer")); in addSimpleTests()
3802 bufferTests->addChild(new GLES2ThreadedSharingTest(ctx, config, "buffersubdata", "Generate, set data, update data and delete buffer")); in addSimpleTests()
3814 bufferTests->addChild(new GLES2ThreadedSharingTest(ctx, config, "bufferdata_render", "Generate, set data, render and delete buffer")); in addSimpleTests()
3826 bufferTests->addChild(new GLES2ThreadedSharingTest(ctx, config, "buffersubdata_render", "Generate, set data, update data, render and delete buffer")); in addSimpleTests()
3833 TestCaseGroup* textureTests = new TestCaseGroup(ctx, "textures", "Texture management tests"); in addSimpleTests()
3844 textureTests->addChild(new GLES2ThreadedSharingTest(ctx, config, "gen_delete", "Generate and delete texture")); in addSimpleTests()
3856 textureTests->addChild(new GLES2ThreadedSharingTest(ctx, confi in addSimpleTests()
4257 addRandomTests(EglTestContext& ctx, tcu::TestCaseGroup* group, bool useSync, bool serverSync) addRandomTests() argument
[all...]

Completed in 27 milliseconds

1...<<191192193194195196197198199200>>...293