Home
last modified time | relevance | path

Searched refs:ctx1 (Results 1 - 20 of 20) sorted by relevance

/third_party/openssl/demos/pkey/
H A DEVP_PKEY_DSA_paramvalidate.c110 EVP_PKEY_CTX *ctx1 = NULL; in main() local
166 ctx1 = create_merged_key(dsaparamskey, params, libctx, propq); in main()
167 if (ctx1 == NULL) in main()
170 if (EVP_PKEY_param_check(ctx1) > 0) { in main()
198 EVP_PKEY_CTX_free(ctx1); in main()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfscmp.c671 static void cmp_attribute(ntfs_attr_search_ctx *ctx1, in cmp_attribute() argument
674 ATTR_RECORD *a1 = ctx1->attr; in cmp_attribute()
679 print_ctx(ctx1); in cmp_attribute()
683 na1 = ntfs_attr_open(base_inode(ctx1), a1->type, GET_ATTR_NAME(a1)); in cmp_attribute()
687 print_ctx(ctx1); in cmp_attribute()
702 if (ntfs_inode_badclus_bad(inumber(ctx1->ntfs_ino), ctx1->attr) == 1) { in cmp_attribute()
834 ntfs_attr_search_ctx *ctx1, *ctx2; in cmp_attributes() local
836 if (!(ctx1 = attr_get_search_ctx(ni1))) in cmp_attributes()
841 set_cmp_attr(ctx1, in cmp_attributes()
[all...]
/third_party/openssl/test/
H A Dsm3_internal_test.c59 SM3_CTX ctx1, ctx2; in test_sm3() local
62 if (!TEST_true(ossl_sm3_init(&ctx1)) in test_sm3()
63 || !TEST_true(ossl_sm3_update(&ctx1, input1, sizeof(input1))) in test_sm3()
64 || !TEST_true(ossl_sm3_final(md1, &ctx1)) in test_sm3()
H A Dkeymgmt_internal_test.c31 OSSL_LIB_CTX *ctx1; member
45 OSSL_LIB_CTX_free(fixture->ctx1); in tear_down()
56 || !TEST_ptr(fixture->ctx1 = OSSL_LIB_CTX_new()) in set_up()
57 || !TEST_ptr(fixture->prov1 = OSSL_PROVIDER_load(fixture->ctx1, in set_up()
221 if (!TEST_ptr(km1 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA", NULL)) in test_pass_rsa()
223 || !TEST_ptr(km3 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA-PSS", NULL)) in test_pass_rsa()
/third_party/python/Lib/test/
H A Dtest_context.py148 ctx1 = contextvars.Context()
166 returned_ctx = ctx1.run(func1)
167 self.assertEqual(ctx1, returned_ctx)
237 ctx1 = contextvars.copy_context()
238 self.assertIn(c, ctx1)
245 self.assertIn(c, ctx1)
246 self.assertEqual(ctx1[c], 'spam2')
247 self.assertEqual(ctx1.get(c, 'aa'), 'spam2')
248 self.assertEqual(len(ctx1), 1)
249 self.assertEqual(list(ctx1
[all...]
H A Dtest_ssl.py2265 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2266 ctx1.load_verify_locations(capath=CAPATH)
2270 with ctx1.wrap_socket(s, server_hostname='localhost') as ss:
2272 self.assertIs(ss.context, ctx1)
2273 self.assertIs(ss._sslobj.context, ctx1)
/third_party/selinux/libsepol/src/
H A Dmls.c672 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local
673 ctx1 = malloc(sizeof(context_struct_t)); in sepol_mls_contains()
675 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains()
677 context_init(ctx1); in sepol_mls_contains()
680 if (mls_from_string(handle, &policydb->p, mls1, ctx1) < 0) in sepol_mls_contains()
686 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains()
687 context_destroy(ctx1); in sepol_mls_contains()
689 free(ctx1); in sepol_mls_contains()
699 context_destroy(ctx1); in sepol_mls_contains()
701 free(ctx1); in sepol_mls_contains()
[all...]
H A Dkernel_to_cil.c2800 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_cil() local
2805 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_cil()
2806 if (!ctx1) { in write_selinux_netif_rules_to_cil()
2812 free(ctx1); in write_selinux_netif_rules_to_cil()
2817 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil()
2819 free(ctx1); in write_selinux_netif_rules_to_cil()
H A Dkernel_to_conf.c2668 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_conf() local
2673 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_conf()
2674 if (!ctx1) { in write_selinux_netif_rules_to_conf()
2680 free(ctx1); in write_selinux_netif_rules_to_conf()
2685 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_conf()
2687 free(ctx1); in write_selinux_netif_rules_to_conf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth.h485 void (*cb)(void *ctx1, void *ctx2),
486 void *ctx1, void *ctx2);
488 void (*cb)(void *ctx1, void *ctx2),
489 void *ctx1, void *ctx2);
491 void (*cb)(void *ctx1, void *ctx2),
492 void *ctx1, void *ctx2);
H A Dwpa_auth_i.h161 void (*eapol_status_cb)(void *ctx1, void *ctx2);
H A Dwpa_auth.c4965 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m1()
4966 void *ctx1, void *ctx2) in wpa_auth_resend_m1()
4987 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m3()
4988 void *ctx1, void *ctx2) in wpa_auth_resend_m3()
5162 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_group_m1()
5163 void *ctx1, void *ctx2) in wpa_auth_resend_group_m1()
5215 sm->eapol_status_cb_ctx1 = ctx1; in wpa_auth_resend_group_m1()
4964 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) wpa_auth_resend_m1() argument
4986 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) wpa_auth_resend_m3() argument
5161 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) wpa_auth_resend_group_m1() argument
/third_party/mesa3d/src/gallium/targets/osmesa/
H A Dtest-render.cpp248 std::unique_ptr<osmesa_context, decltype(&OSMesaDestroyContext)> ctx1{ in TEST()
252 ASSERT_TRUE(ctx1); in TEST()
257 ASSERT_EQ(OSMesaMakeCurrent(ctx1.get(), &pixel1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST()
275 ASSERT_EQ(OSMesaMakeCurrent(ctx1.get(), &pixel1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth.h550 void (*cb)(void *ctx1, void *ctx2),
551 void *ctx1, void *ctx2);
553 void (*cb)(void *ctx1, void *ctx2),
554 void *ctx1, void *ctx2);
556 void (*cb)(void *ctx1, void *ctx2),
557 void *ctx1, void *ctx2);
H A Dwpa_auth_i.h166 void (*eapol_status_cb)(void *ctx1, void *ctx2);
H A Dwpa_auth.c5403 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m1()
5404 void *ctx1, void *ctx2) in wpa_auth_resend_m1()
5425 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m3()
5426 void *ctx1, void *ctx2) in wpa_auth_resend_m3()
5605 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_group_m1()
5606 void *ctx1, void *ctx2) in wpa_auth_resend_group_m1()
5656 sm->eapol_status_cb_ctx1 = ctx1; in wpa_auth_resend_group_m1()
5402 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) wpa_auth_resend_m1() argument
5424 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) wpa_auth_resend_m3() argument
5604 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) wpa_auth_resend_group_m1() argument
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_context.c95 struct stw_context *ctx1; in DrvShareLists() local
104 ctx1 = stw_lookup_context_locked( dhglrc1 ); in DrvShareLists()
107 if (ctx1 && ctx2 && ctx2->st->share) { in DrvShareLists()
108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists()
109 ctx1->shared = TRUE; in DrvShareLists()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMultithreadingTest.cpp252 EGLContext ctx1 = createMultithreadedContext(window, EGL_NO_CONTEXT); in TEST_P()
256 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx1)); in TEST_P()
259 EXPECT_EGL_TRUE(eglDestroyContext(dpy, ctx1)); in TEST_P()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c2233 static void restore_tk(void *ctx1, void *ctx2) in restore_tk() argument
2235 struct hostapd_data *hapd = ctx1; in restore_tk()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c2474 static void restore_tk(void *ctx1, void *ctx2) in restore_tk() argument
2476 struct hostapd_data *hapd = ctx1; in restore_tk()

Completed in 54 milliseconds