/third_party/libbpf/src/ |
H A D | strset.c | 22 static size_t strset_hash_fn(long key, void *ctx) in strset_hash_fn() argument 24 const struct strset *s = ctx; in strset_hash_fn() 30 static bool strset_equal_fn(long key1, long key2, void *ctx) in strset_equal_fn() argument 32 const struct strset *s = ctx; in strset_equal_fn()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | sizedness.rs | 105 pub struct SizednessAnalysis<'ctx> { 106 ctx: &'ctx BindgenContext, 113 impl<'ctx> SizednessAnalysis<'ctx> { 165 impl<'ctx> MonotoneFramework for SizednessAnalysis<'ctx> { 167 type Extra = &'ctx BindgenContext; 170 fn new(ctx: &'ctx BindgenContex [all...] |
/third_party/openssl/test/ |
H A D | cipherbytes_test.c | 24 static SSL_CTX *ctx; variable 134 if (!TEST_ptr(ctx = SSL_CTX_new(TLS_server_method())) in setup_tests() 135 || !TEST_ptr(s = SSL_new(ctx))) in setup_tests() 148 SSL_CTX_free(ctx); in cleanup_tests()
|
/third_party/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 94 int (*init) (EVP_CIPHER_CTX *ctx, in EVP_CIPHER_meth_set_init() 107 int (*do_cipher) (EVP_CIPHER_CTX *ctx, in EVP_CIPHER_meth_set_do_cipher() 163 int (*EVP_CIPHER_meth_get_init(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx, in EVP_CIPHER_meth_get_init() 170 int (*EVP_CIPHER_meth_get_do_cipher(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx, in EVP_CIPHER_meth_get_do_cipher() 93 EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, int (*init) (EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)) EVP_CIPHER_meth_set_init() argument 106 EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, int (*do_cipher) (EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)) EVP_CIPHER_meth_set_do_cipher() argument
|
/third_party/skia/src/core/ |
H A D | SkDataTable.cpp | 36 SkDataTable::SkDataTable(const Dir* dir, int count, FreeProc proc, void* ctx) { in SkDataTable() argument 43 fFreeProcContext = ctx; in SkDataTable() 126 FreeProc proc, void* ctx) { in MakeArrayProc() 130 return sk_sp<SkDataTable>(new SkDataTable(array, elemSize, count, proc, ctx)); in MakeArrayProc() 125 MakeArrayProc(const void* array, size_t elemSize, int count, FreeProc proc, void* ctx) MakeArrayProc() argument
|
H A D | SkPictureImageGenerator.cpp | 97 GrSurfaceProxyView SkPictureImageGenerator::onGenerateTexture(GrRecordingContext* ctx, in onGenerateTexture() argument 102 SkASSERT(ctx); in onGenerateTexture() 109 auto surface = SkSurface::MakeRenderTarget(ctx, budgeted, info, 0, kTopLeft_GrSurfaceOrigin, in onGenerateTexture() 123 auto [view, ct] = as_IB(image)->asView(ctx, mipmapped); in onGenerateTexture()
|
/third_party/openssl/include/crypto/ |
H A D | ecx.h | 93 ossl_ed25519_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[32], 106 ossl_ed448_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[57], 109 ossl_ed448_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t *message, 115 ossl_ed448_verify(OSSL_LIB_CTX *ctx, const uint8_t *message, size_t message_len,
|
/third_party/openssl/demos/bio/ |
H A D | client-conf.c | 20 SSL_CTX *ctx = NULL; in main() local 46 ctx = SSL_CTX_new(TLS_client_method()); in main() 50 SSL_CONF_CTX_set_ssl_ctx(cctx, ctx); in main() 82 sbio = BIO_new_ssl_connect(ctx); in main()
|
H A D | server-conf.c | 29 SSL_CTX *ctx; in main() local 38 ctx = SSL_CTX_new(TLS_server_method()); in main() 61 SSL_CONF_CTX_set_ssl_ctx(cctx, ctx); in main() 89 ssl_bio = BIO_new_ssl(ctx, 0); in main()
|
/third_party/skia/third_party/externals/spirv-cross/tests-other/ |
H A D | msl_constexpr_test.cpp | 60 spvc_context ctx; in main() 64 SPVC_CHECKED_CALL(spvc_context_create(&ctx)); in main() 65 SPVC_CHECKED_CALL(spvc_context_parse_spirv(ctx, buffer.data(), buffer.size(), &parsed_ir)); in main() 66 SPVC_CHECKED_CALL(spvc_context_create_compiler(ctx, SPVC_BACKEND_MSL, parsed_ir, SPVC_CAPTURE_MODE_TAKE_OWNERSHIP, &compiler)); in main()
|
H A D | msl_ycbcr_conversion_test.cpp | 60 spvc_context ctx; in main() 65 SPVC_CHECKED_CALL(spvc_context_create(&ctx)); in main() 66 SPVC_CHECKED_CALL(spvc_context_parse_spirv(ctx, buffer.data(), buffer.size(), &parsed_ir)); in main() 67 SPVC_CHECKED_CALL(spvc_context_create_compiler(ctx, SPVC_BACKEND_MSL, parsed_ir, SPVC_CAPTURE_MODE_TAKE_OWNERSHIP, &compiler)); in main()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | cost_neon.c | 59 // bit_cost(1, p0) is already incorporated in t[] tables, but only if ctx != 0 in GetResidualCost_NEON() 86 const int ctx = ctxs[n]; in GetResidualCost_NEON() local 90 t = costs[n + 1][ctx]; in GetResidualCost_NEON() 100 const int ctx = ctxs[n]; in GetResidualCost_NEON() local 101 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_NEON()
|
H A D | cost_sse2.c | 53 // bit_cost(1, p0) is already incorporated in t[] tables, but only if ctx != 0 in GetResidualCost_SSE2() 83 const int ctx = ctxs[n]; in GetResidualCost_SSE2() local 87 t = costs[n + 1][ctx]; in GetResidualCost_SSE2() 97 const int ctx = ctxs[n]; in GetResidualCost_SSE2() local 98 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_SSE2()
|
/third_party/skia/tools/gpu/gl/mac/ |
H A D | CreatePlatformGLTestContext_mac.cpp | 161 MacGLTestContext* ctx = new MacGLTestContext(macShareContext); 162 if (!ctx->isValid()) { 163 delete ctx; 166 return ctx;
|
/third_party/skia/tools/sk_app/unix/ |
H A D | RasterWindowContext_unix.cpp | 95 std::unique_ptr<WindowContext> ctx(new RasterWindowContext_xlib( in MakeRasterForXlib() 97 if (!ctx->isValid()) { in MakeRasterForXlib() 98 ctx = nullptr; in MakeRasterForXlib() 100 return ctx; in MakeRasterForXlib()
|
/third_party/skia/tools/sk_app/win/ |
H A D | RasterWindowContext_win.cpp | 91 std::unique_ptr<WindowContext> ctx(new RasterWindowContext_win(wnd, params)); in MakeRasterForWin() 92 if (!ctx->isValid()) { in MakeRasterForWin() 93 ctx = nullptr; in MakeRasterForWin() 95 return ctx; in MakeRasterForWin()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGFeColorMatrix.cpp | 92 sk_sp<SkImageFilter> SkSVGFeColorMatrix::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument 96 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)), in onMakeImageFilter() 97 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_openbsd.c | 22 void *ctx; member 95 wpa_driver_openbsd_init(void *ctx, const char *ifname) in wpa_driver_openbsd_init() argument 107 drv->ctx = ctx; in wpa_driver_openbsd_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | pmksa_cache.h | 59 void *ctx, enum pmksa_free_reason reason), 60 void *ctx, struct wpa_sm *sm); 92 void *ctx, enum pmksa_free_reason reason), in pmksa_cache_init() 93 void *ctx, struct wpa_sm *sm) in pmksa_cache_init() 91 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, enum pmksa_free_reason reason), void *ctx, struct wpa_sm *sm) pmksa_cache_init() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_openbsd.c | 22 void *ctx; member 97 wpa_driver_openbsd_init(void *ctx, const char *ifname) argument 109 drv->ctx = ctx;
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
H A D | cgroup.c | 1862 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() local 1872 ctx->flags |= CGRP_ROOT_NS_DELEGATE; in cgroup2_parse_param() 1875 ctx->flags |= CGRP_ROOT_MEMORY_LOCAL_EVENTS; in cgroup2_parse_param() 1878 ctx->flags |= CGRP_ROOT_MEMORY_RECURSIVE_PROT; in cgroup2_parse_param() 1917 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() local 1919 apply_cgroup_root_flags(ctx->flags); in cgroup_reconfigure() 1948 void init_cgroup_root(struct cgroup_fs_context *ctx) in init_cgroup_root() argument 1950 struct cgroup_root *root = ctx->root; in init_cgroup_root() 1959 root->flags = ctx->flags; in init_cgroup_root() 1960 if (ctx in init_cgroup_root() 2067 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); cgroup_do_get_tree() local 2115 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); cgroup_fs_context_free() local 2126 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); cgroup_get_tree() local 2159 struct cgroup_fs_context *ctx; cgroup_init_fs_context() local 2240 struct cgroup_fs_context *ctx; cpuset_init_fs_context() local 3674 struct cgroup_file_ctx *ctx = of->priv; cgroup_pressure_write() local 3729 struct cgroup_file_ctx *ctx = of->priv; cgroup_pressure_poll() local 3736 struct cgroup_file_ctx *ctx = of->priv; cgroup_pressure_release() local 3779 struct cgroup_file_ctx *ctx; cgroup_file_open() local 3804 struct cgroup_file_ctx *ctx = of->priv; cgroup_file_release() local 3815 struct cgroup_file_ctx *ctx = of->priv; cgroup_file_write() local 4733 struct cgroup_file_ctx *ctx = of->priv; cgroup_procs_release() local 4742 struct cgroup_file_ctx *ctx = of->priv; cgroup_procs_next() local 4755 struct cgroup_file_ctx *ctx = of->priv; __cgroup_procs_start() local 4870 struct cgroup_file_ctx *ctx = of->priv; __cgroup_procs_write() local 5756 static struct cgroup_fs_context __initdata ctx; cgroup_init_early() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 52 struct arc4_ctx *ctx = &psecuritypriv->xmit_arc4_ctx; in rtw_wep_encrypt() local 76 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt() 77 arc4_crypt(ctx, payload, payload, length); in rtw_wep_encrypt() 78 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_wep_encrypt() 83 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt() 84 arc4_crypt(ctx, payload, payload, length); in rtw_wep_encrypt() 85 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_wep_encrypt() 104 struct arc4_ctx *ctx = &psecuritypriv->recv_arc4_ctx; in rtw_wep_decrypt() local 122 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_decrypt() 123 arc4_crypt(ctx, payloa in rtw_wep_decrypt() 476 struct arc4_ctx *ctx = &psecuritypriv->xmit_arc4_ctx; rtw_tkip_encrypt() local 548 struct arc4_ctx *ctx = &psecuritypriv->recv_arc4_ctx; rtw_tkip_decrypt() local 679 struct crypto_aes_ctx ctx; aes128k128d() local 1476 struct crypto_aes_ctx ctx; omac1_aes_128_vector() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSeparateShaderTests.cpp | 987 Rectangle randomViewport (const RenderContext& ctx, Random& rnd, 990 const RenderTarget& target = ctx.getRenderTarget(); 1007 SeparateShaderTest (Context& ctx, 1070 SeparateShaderTest::SeparateShaderTest (Context& ctx, 1076 : TestCase (ctx, name.c_str(), description.c_str()) 1077 , CallLogWrapper (ctx.getRenderContext().getFunctions(), log()) 1636 TestCaseGroup* createCommonSeparateShaderTests (Context& ctx) 1641 new TestCaseGroup(ctx, "separate_shader", "Separate shader tests"); 1657 new TestCaseGroup(ctx, "pipeline", "Pipeline configuration tests"); 1698 new TestCaseGroup(ctx, "program_unifor [all...] |
/third_party/node/deps/openssl/openssl/ssl/statem/ |
H A D | statem_srvr.c | 1302 if (s->ctx->app_gen_cookie_cb == NULL || in dtls_construct_hello_verify_request() 1303 s->ctx->app_gen_cookie_cb(s, s->d1->cookie, in dtls_construct_hello_verify_request() 1625 if (s->ctx->client_hello_cb != NULL) { in tls_early_post_process_client_hello() 1627 switch (s->ctx->client_hello_cb(s, &al, s->ctx->client_hello_cb_arg)) { in tls_early_post_process_client_hello() 1690 if (s->ctx->app_verify_cookie_cb != NULL) { in tls_early_post_process_client_hello() 1691 if (s->ctx->app_verify_cookie_cb(s, clienthello->dtls_cookie, in tls_early_post_process_client_hello() 1976 for (m = 0; m < sk_SSL_COMP_num(s->ctx->comp_methods); m++) { in tls_early_post_process_client_hello() 1977 comp = sk_SSL_COMP_value(s->ctx->comp_methods, m); in tls_early_post_process_client_hello() 2000 } else if (ssl_allow_compression(s) && s->ctx in tls_early_post_process_client_hello() 2885 EVP_PKEY_CTX *ctx = NULL; tls_process_cke_rsa() local 3691 EVP_CIPHER_CTX *ctx = NULL; construct_stateless_ticket() local [all...] |
/third_party/openssl/ssl/statem/ |
H A D | statem_srvr.c | 1291 if (s->ctx->app_gen_cookie_cb == NULL || in dtls_construct_hello_verify_request() 1292 s->ctx->app_gen_cookie_cb(s, s->d1->cookie, in dtls_construct_hello_verify_request() 1605 if (s->ctx->client_hello_cb != NULL) { in tls_early_post_process_client_hello() 1607 switch (s->ctx->client_hello_cb(s, &al, s->ctx->client_hello_cb_arg)) { in tls_early_post_process_client_hello() 1670 if (s->ctx->app_verify_cookie_cb != NULL) { in tls_early_post_process_client_hello() 1671 if (s->ctx->app_verify_cookie_cb(s, clienthello->dtls_cookie, in tls_early_post_process_client_hello() 1956 for (m = 0; m < sk_SSL_COMP_num(s->ctx->comp_methods); m++) { in tls_early_post_process_client_hello() 1957 comp = sk_SSL_COMP_value(s->ctx->comp_methods, m); in tls_early_post_process_client_hello() 1980 } else if (ssl_allow_compression(s) && s->ctx in tls_early_post_process_client_hello() 2864 EVP_PKEY_CTX *ctx = NULL; tls_process_cke_rsa() local 3670 EVP_CIPHER_CTX *ctx = NULL; construct_stateless_ticket() local [all...] |