/third_party/node/deps/openssl/openssl/apps/ |
H A D | engine.c | 286 struct util_store_cap_data *ctx = arg; in util_store_cap() local 288 if (OSSL_STORE_LOADER_get0_engine(loader) == ctx->engine) { in util_store_cap() 292 if (!append_buf(ctx->cap_buf, ctx->cap_size, buf)) in util_store_cap() 293 ctx->ok = 0; in util_store_cap()
|
/third_party/openssl/test/ |
H A D | v3ext.c | 368 X509V3_CTX ctx; in test_ext_syntax() local 385 X509V3_set_ctx_test(&ctx); in test_ext_syntax() 386 X509V3_set_nconf(&ctx, conf); in test_ext_syntax() 389 if (!TEST_true(X509V3_EXT_add_nconf(conf, &ctx, "default", in test_ext_syntax() 396 if (!TEST_false(X509V3_EXT_add_nconf(conf, &ctx, "default", in test_ext_syntax()
|
/third_party/openssl/apps/ |
H A D | enc.c | 120 EVP_CIPHER_CTX *ctx = NULL; in enc_main() local 563 BIO_get_cipher_ctx(benc, &ctx); in enc_main() 565 if (!EVP_CipherInit_ex(ctx, cipher, e, NULL, NULL, enc)) { in enc_main() 573 EVP_CIPHER_CTX_set_padding(ctx, 0); in enc_main() 575 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) { in enc_main()
|
H A D | engine.c | 286 struct util_store_cap_data *ctx = arg; in util_store_cap() local 288 if (OSSL_STORE_LOADER_get0_engine(loader) == ctx->engine) { in util_store_cap() 292 if (!append_buf(ctx->cap_buf, ctx->cap_size, buf)) in util_store_cap() 293 ctx->ok = 0; in util_store_cap()
|
/third_party/openssl/crypto/cms/ |
H A D | cms_asn1.c | 163 kari->ctx = EVP_CIPHER_CTX_new(); 164 if (kari->ctx == NULL) 166 EVP_CIPHER_CTX_set_flags(kari->ctx, EVP_CIPHER_CTX_FLAG_WRAP_ALLOW); 170 EVP_CIPHER_CTX_free(kari->ctx); 332 OPENSSL_free(cms->ctx.propq); in cms_cb()
|
/third_party/skia/src/image/ |
H A D | SkImage_Lazy.cpp | 281 GrSurfaceProxyView SkImage_Lazy::textureProxyViewFromPlanes(GrRecordingContext* ctx, in textureProxyViewFromPlanes() argument 283 SkYUVAPixmapInfo::SupportedDataTypes supportedDataTypes(*ctx); in textureProxyViewFromPlanes() 319 std::tie(views[i], std::ignore) = GrMakeUncachedBitmapProxyView(ctx, in textureProxyViewFromPlanes() 335 auto sfc = ctx->priv().makeSFC(info, in textureProxyViewFromPlanes() 352 *ctx->priv().caps()); in textureProxyViewFromPlanes()
|
/third_party/skia/samplecode/ |
H A D | SamplePathTessellators.cpp | 222 auto ctx = canvas->recordingContext(); in onDrawContent() local 226 if (!sdc || !ctx) { in onDrawContent() 228 } else if (!skgpu::v1::TessellationPathRenderer::IsSupported(*ctx->priv().caps())) { in onDrawContent() 231 !ctx->priv().caps()->shaderCaps()->tessellationSupport()) { in onDrawContent() 243 sdc->addDrawOp(GrOp::Make<SamplePathTessellatorOp>(ctx, in onDrawContent()
|
/third_party/openssl/providers/implementations/exchange/ |
H A D | ecdh_exch.c | 123 BN_CTX *ctx = NULL; in ecdh_match_params() local 127 ctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(priv)); in ecdh_match_params() 128 if (ctx == NULL) { in ecdh_match_params() 134 && EC_GROUP_cmp(group_priv, group_peer, ctx) == 0; in ecdh_match_params() 137 BN_CTX_free(ctx); in ecdh_match_params() 463 * The ctx->cofactor_mode flag has precedence over the in ecdh_plain_derive() 464 * cofactor_mode flag set on ctx->k. in ecdh_plain_derive() 466 * - if ctx->cofactor_mode == -1, use ctx->k directly in ecdh_plain_derive() 467 * - if ctx in ecdh_plain_derive() [all...] |
/third_party/skia/tests/ |
H A D | MultiPictureDocumentTest.cpp | 89 SkSharingSerialContext ctx; in DEF_TEST() local 92 procs.fImageCtx = &ctx; in DEF_TEST() 323 SkSharingSerialContext ctx; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 326 procs.fImageCtx = &ctx; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 331 [sharingCtx = &ctx](const SkPicture* pic) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | SkSLTest.cpp | 156 static void test_gpu(skiatest::Reporter* r, GrDirectContext* ctx, const char* testFile) { in test_gpu() argument 158 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info)); in test_gpu() 163 static void test_es3(skiatest::Reporter* r, GrDirectContext* ctx, const char* testFile) { in test_es3() argument 164 if (!ctx->priv().caps()->shaderCaps()->supportsSkSLES3()) { in test_es3() 169 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info)); in test_es3()
|
/third_party/skia/gm/ |
H A D | surface.cpp | 47 static sk_sp<SkSurface> make_surface(GrRecordingContext* ctx, in make_surface() argument 51 if (ctx) { in make_surface() 52 return SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info, 0, &props); in make_surface() 89 auto ctx = canvas->recordingContext(); variable 108 auto surface(make_surface(ctx, info, rec.fGeo));
|
/third_party/selinux/libselinux/src/ |
H A D | matchpathcon.c | 43 char **ctx = &contexts->ctx_raw; in compat_validate() local 46 rc = myinvalidcon(path, lineno, *ctx); in compat_validate() 48 rc = mycanoncon(path, lineno, ctx); in compat_validate() 55 path, lineno, *ctx); in compat_validate() 58 "%s: has invalid context %s\n", path, *ctx); in compat_validate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_nl80211_monitor.c | 26 static void handle_tx_callback(void *ctx, u8 *buf, size_t len, int ok) in handle_tx_callback() argument 42 wpa_supplicant_event(ctx, EVENT_TX_STATUS, &event); in handle_tx_callback() 63 wpa_supplicant_event(drv->ctx, EVENT_RX_FROM_UNKNOWN, &event); in from_unknown_sta() 84 wpa_supplicant_event(drv->ctx, EVENT_RX_MGMT, &event); in handle_frame() 163 handle_tx_callback(drv->ctx, buf + iter._max_length, in handle_monitor_read()
|
H A D | driver_roboswitch.c | 56 void *ctx; member 179 drv_event_eapol_rx(drv->ctx, src_addr, buf + 14, len - 14); in wpa_driver_roboswitch_receive() 357 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname) in wpa_driver_roboswitch_init() argument 365 drv->ctx = ctx; in wpa_driver_roboswitch_init()
|
/third_party/vk-gl-cts/framework/platform/ohos/display/ |
H A D | tcuOhosNativeDisplay.hpp | 61 eglw::EGLImage createImage(eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLenum target, eglw::EGLClientBuffer buffer, const eglw::EGLAttrib *attrib_list) const; 62 eglw::EGLImageKHR createImageKHR(eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLenum target, eglw::EGLClientBuffer buffer, const eglw::EGLint *attrib_list) const; 73 eglw::EGLBoolean destroyContext(eglw::EGLDisplay dpy, eglw::EGLContext ctx) const; 93 eglw::EGLBoolean makeCurrent(eglw::EGLDisplay dpy, eglw::EGLSurface draw, eglw::EGLSurface read, eglw::EGLContext ctx) const; 95 eglw::EGLBoolean queryContext(eglw::EGLDisplay dpy, eglw::EGLContext ctx, eglw::EGLint attribute, eglw::EGLint *value) const;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_nl80211_monitor.c | 26 static void handle_tx_callback(void *ctx, u8 *buf, size_t len, int ok) in handle_tx_callback() argument 42 wpa_supplicant_event(ctx, EVENT_TX_STATUS, &event); in handle_tx_callback() 63 wpa_supplicant_event(drv->ctx, EVENT_RX_FROM_UNKNOWN, &event); in from_unknown_sta() 87 wpa_supplicant_event(drv->ctx, EVENT_RX_MGMT, &event); in handle_frame() 166 handle_tx_callback(drv->ctx, buf + iter._max_length, in handle_monitor_read()
|
H A D | driver_roboswitch.c | 56 void *ctx; member 179 drv_event_eapol_rx(drv->ctx, src_addr, buf + 14, len - 14); in wpa_driver_roboswitch_receive() 357 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname) in wpa_driver_roboswitch_init() argument 365 drv->ctx = ctx; in wpa_driver_roboswitch_init()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | linker.cpp | 2315 struct gl_context *ctx, in link_intrastage_shaders() 2332 cross_validate_globals(&ctx->Const, prog, shader_list[i]->ir, &variables, in link_intrastage_shaders() 2412 ctx->Driver.NewProgram(ctx, shader_list[0]->Stage, prog->Name, false); in link_intrastage_shaders() 2415 _mesa_delete_linked_shader(ctx, linked); in link_intrastage_shaders() 2434 link_xfb_stride_layout_qualifiers(&ctx->Const, prog, shader_list, num_shaders); in link_intrastage_shaders() 2466 _mesa_delete_linked_shader(ctx, linked); in link_intrastage_shaders() 2488 link_uniform_blocks(mem_ctx, &ctx->Const, prog, linked, &ubo_blocks, in link_intrastage_shaders() 2492 ctx->Const.Program[linked->Stage].MaxUniformBlocks; in link_intrastage_shaders() 2500 ctx in link_intrastage_shaders() 2314 link_intrastage_shaders(void *mem_ctx, struct gl_context *ctx, struct gl_shader_program *prog, struct gl_shader **shader_list, unsigned num_shaders, bool allow_missing_main) link_intrastage_shaders() argument 3562 link_shaders(struct gl_context *ctx, struct gl_shader_program *prog) link_shaders() argument [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | apps.c | 148 int ctx_set_verify_locations(SSL_CTX *ctx, in ctx_set_verify_locations() argument 154 if (!noCAfile && SSL_CTX_set_default_verify_file(ctx) <= 0) in ctx_set_verify_locations() 156 if (!noCApath && SSL_CTX_set_default_verify_dir(ctx) <= 0) in ctx_set_verify_locations() 158 if (!noCAstore && SSL_CTX_set_default_verify_store(ctx) <= 0) in ctx_set_verify_locations() 164 if (CAfile != NULL && !SSL_CTX_load_verify_file(ctx, CAfile)) in ctx_set_verify_locations() 166 if (CApath != NULL && !SSL_CTX_load_verify_dir(ctx, CApath)) in ctx_set_verify_locations() 168 if (CAstore != NULL && !SSL_CTX_load_verify_store(ctx, CAstore)) in ctx_set_verify_locations() 175 int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path) in ctx_set_ctlog_list_file() argument 178 return SSL_CTX_set_default_ctlog_list_file(ctx); in ctx_set_ctlog_list_file() 180 return SSL_CTX_set_ctlog_list_file(ctx, pat in ctx_set_ctlog_list_file() 870 OSSL_STORE_CTX *ctx = NULL; load_key_certs_crls_suppress() local 2029 pkey_ctrl_string(EVP_PKEY_CTX *ctx, const char *value) pkey_ctrl_string() argument 2067 policies_print(X509_STORE_CTX *ctx) policies_print() argument 2220 do_sign_init(EVP_MD_CTX *ctx, EVP_PKEY *pkey, const char *md, STACK_OF(OPENSSL_STRING) *sigopts) do_sign_init() argument 3351 app_keygen(EVP_PKEY_CTX *ctx, const char *alg, int bits, int verbose) app_keygen() argument 3371 app_paramgen(EVP_PKEY_CTX *ctx, const char *alg) app_paramgen() argument [all...] |
/third_party/openssl/apps/lib/ |
H A D | apps.c | 148 int ctx_set_verify_locations(SSL_CTX *ctx, in ctx_set_verify_locations() argument 154 if (!noCAfile && SSL_CTX_set_default_verify_file(ctx) <= 0) in ctx_set_verify_locations() 156 if (!noCApath && SSL_CTX_set_default_verify_dir(ctx) <= 0) in ctx_set_verify_locations() 158 if (!noCAstore && SSL_CTX_set_default_verify_store(ctx) <= 0) in ctx_set_verify_locations() 164 if (CAfile != NULL && !SSL_CTX_load_verify_file(ctx, CAfile)) in ctx_set_verify_locations() 166 if (CApath != NULL && !SSL_CTX_load_verify_dir(ctx, CApath)) in ctx_set_verify_locations() 168 if (CAstore != NULL && !SSL_CTX_load_verify_store(ctx, CAstore)) in ctx_set_verify_locations() 175 int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path) in ctx_set_ctlog_list_file() argument 178 return SSL_CTX_set_default_ctlog_list_file(ctx); in ctx_set_ctlog_list_file() 180 return SSL_CTX_set_ctlog_list_file(ctx, pat in ctx_set_ctlog_list_file() 870 OSSL_STORE_CTX *ctx = NULL; load_key_certs_crls_suppress() local 2022 pkey_ctrl_string(EVP_PKEY_CTX *ctx, const char *value) pkey_ctrl_string() argument 2060 policies_print(X509_STORE_CTX *ctx) policies_print() argument 2213 do_sign_init(EVP_MD_CTX *ctx, EVP_PKEY *pkey, const char *md, STACK_OF(OPENSSL_STRING) *sigopts) do_sign_init() argument 3344 app_keygen(EVP_PKEY_CTX *ctx, const char *alg, int bits, int verbose) app_keygen() argument 3364 app_paramgen(EVP_PKEY_CTX *ctx, const char *alg) app_paramgen() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vidstabutils.h | 35 * @param[in] ctx AVFilterContext used for logging 39 VSPixelFormat ff_av2vs_pixfmt(AVFilterContext *ctx, enum AVPixelFormat pf);
|
H A D | vif.h | 27 int ff_compute_vif2(AVFilterContext *ctx,
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_clear.h | 44 void st_Clear(struct gl_context *ctx, GLbitfield mask);
|
H A D | st_gen_mipmap.h | 40 st_generate_mipmap(struct gl_context *ctx, GLenum target,
|
/third_party/mesa3d/src/mesa/program/ |
H A D | link_program.h | 34 void _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
|