/third_party/libuv/test/ |
D | test-ipc-send-recv.c | 66 static struct echo_ctx ctx2; variable 290 uv_close(&ctx2.recv.handle, NULL); in write2_cb() 291 uv_close(&ctx2.recv2.handle, NULL); in write2_cb() 292 uv_close((uv_handle_t*)&ctx2.channel, NULL); in write2_cb() 293 uv_close((uv_handle_t*)&ctx2.listen, NULL); in write2_cb() 314 ASSERT_EQ(pipe, &ctx2.channel); in read_cb() 318 recv = &ctx2.recv; in read_cb() 319 write_req = &ctx2.write_req; in read_cb() 321 recv = &ctx2.recv2; in read_cb() 322 write_req = &ctx2.write_req2; in read_cb() [all …]
|
/third_party/openssl/test/ |
D | ssl_test_ctx_test.c | 75 static int testctx_eq(SSL_TEST_CTX *ctx, SSL_TEST_CTX *ctx2) in testctx_eq() argument 77 if (!TEST_int_eq(ctx->method, ctx2->method) in testctx_eq() 78 || !TEST_int_eq(ctx->handshake_mode, ctx2->handshake_mode) in testctx_eq() 79 || !TEST_int_eq(ctx->app_data_size, ctx2->app_data_size) in testctx_eq() 80 || !TEST_int_eq(ctx->max_fragment_size, ctx2->max_fragment_size) in testctx_eq() 81 || !extraconf_eq(&ctx->extra, &ctx2->extra) in testctx_eq() 82 || !extraconf_eq(&ctx->resume_extra, &ctx2->resume_extra) in testctx_eq() 83 || !TEST_int_eq(ctx->expected_result, ctx2->expected_result) in testctx_eq() 85 ctx2->expected_client_alert) in testctx_eq() 87 ctx2->expected_server_alert) in testctx_eq() [all …]
|
D | cmactest.c | 165 CMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_cmac_copy() local 171 ctx2 = CMAC_CTX_new(); in test_cmac_copy() 172 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) in test_cmac_copy() 178 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) in test_cmac_copy() 179 || !TEST_true(CMAC_Final(ctx2, buf, &len))) in test_cmac_copy() 188 CMAC_CTX_free(ctx2); in test_cmac_copy()
|
D | hmactest.c | 221 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_hmac_copy() local 227 ctx2 = HMAC_CTX_new(); in test_hmac_copy() 228 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) in test_hmac_copy() 233 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) in test_hmac_copy() 234 || !TEST_true(HMAC_Final(ctx2, buf, &len))) in test_hmac_copy() 243 HMAC_CTX_free(ctx2); in test_hmac_copy()
|
D | evp_extra_test.c | 1511 EVP_PKEY_CTX *ctx2 = NULL; in test_EVP_PKEY_check() local 1563 ctx2 = EVP_PKEY_CTX_new_id(0xdefaced, NULL); in test_EVP_PKEY_check() 1566 ctx2->pkey = pkey; in test_EVP_PKEY_check() 1568 if (!TEST_int_eq(EVP_PKEY_check(ctx2), 0xbeef)) in test_EVP_PKEY_check() 1571 if (!TEST_int_eq(EVP_PKEY_public_check(ctx2), 0xbeef)) in test_EVP_PKEY_check() 1574 if (!TEST_int_eq(EVP_PKEY_param_check(ctx2), 0xbeef)) in test_EVP_PKEY_check() 1581 EVP_PKEY_CTX_free(ctx2); in test_EVP_PKEY_check() 1963 EVP_CIPHER_CTX *ctx = NULL, *ctx2 = NULL; in test_cipher_with_engine() local 1976 || !TEST_ptr(ctx2 = EVP_CIPHER_CTX_new())) in test_cipher_with_engine() 1983 if (!TEST_true(EVP_CIPHER_CTX_copy(ctx2, ctx))) in test_cipher_with_engine() [all …]
|
/third_party/node/test/parallel/ |
D | test-vm-context-property-forwarding.js | 39 const ctx2 = vm.createContext(x); constant 40 const pd_actual = Object.getOwnPropertyDescriptor(ctx2, 1); 43 assert.strictEqual(ctx2[1], 5); 44 delete ctx2[1]; 45 assert.strictEqual(ctx2[1], undefined);
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_nist_kw.function | 20 mbedtls_nist_kw_context ctx1, ctx2; 36 mbedtls_nist_kw_init( &ctx2 ); 49 TEST_ASSERT( mbedtls_nist_kw_setkey( &ctx2, 54 TEST_ASSERT( mbedtls_nist_kw_unwrap( &ctx2, MBEDTLS_KW_MODE_KW, 65 mbedtls_nist_kw_free( &ctx2 ); 71 mbedtls_nist_kw_init( &ctx2 ); 92 TEST_ASSERT( mbedtls_nist_kw_setkey( &ctx2, 97 TEST_ASSERT( mbedtls_nist_kw_unwrap( &ctx2, MBEDTLS_KW_MODE_KW, 109 TEST_ASSERT( mbedtls_nist_kw_unwrap( &ctx2, MBEDTLS_KW_MODE_KWP, 123 mbedtls_nist_kw_free( &ctx2 );
|
D | test_suite_rsa.function | 402 mbedtls_rsa_context ctx, ctx2; /* Also test mbedtls_rsa_copy() while at it */ 408 mbedtls_rsa_init( &ctx2 ); 430 TEST_ASSERT( mbedtls_rsa_copy( &ctx2, &ctx ) == 0 ); 434 TEST_ASSERT( mbedtls_rsa_check_pubkey( &ctx2 ) == 0 ); 437 TEST_ASSERT( mbedtls_rsa_public( &ctx2, message_str->x, output ) == result ); 448 mbedtls_rsa_free( &ctx2 ); 460 mbedtls_rsa_context ctx, ctx2; /* Also test mbedtls_rsa_copy() while at it */ 468 mbedtls_rsa_init( &ctx2 ); 502 TEST_ASSERT( mbedtls_rsa_copy( &ctx2, &ctx ) == 0 ); 506 TEST_ASSERT( mbedtls_rsa_check_privkey( &ctx2 ) == 0 ); [all …]
|
/third_party/openssl/crypto/rsa/ |
D | rsa_x931g.c | 25 BN_CTX *ctx = NULL, *ctx2 = NULL; in RSA_X931_derive_ex() local 107 ctx2 = BN_CTX_new(); in RSA_X931_derive_ex() 108 if (ctx2 == NULL) in RSA_X931_derive_ex() 111 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ in RSA_X931_derive_ex() 130 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); in RSA_X931_derive_ex() 138 BN_CTX_free(ctx2); in RSA_X931_derive_ex()
|
/third_party/libinput/doc/user/dot/ |
D | seats-sketch.gv | 23 ctx2 [label="libinput context 2"; URL="\ref libinput"]; 41 pseat1 -> ctx2 45 ctx2 -> lseatC
|
D | seats-sketch-libinput.gv | 9 ctx2 [label="libinput context 2"; URL="\ref libinput"]; 23 ctx2 -> dev4
|
/third_party/openssl/apps/ |
D | s_server.c | 89 static SSL_CTX *ctx2 = NULL; variable 489 if (ctx2 != NULL) { in ssl_servername_cb() 491 SSL_set_SSL_CTX(s, ctx2); in ssl_servername_cb() 1067 ctx = ctx2 = NULL; in s_server_main() 1907 ctx2 = SSL_CTX_new(meth); in s_server_main() 1908 if (ctx2 == NULL) { in s_server_main() 1914 if (ctx2 != NULL) { in s_server_main() 1918 ssl_ctx_security_debug(ctx2, sdebug); in s_server_main() 1924 if (!SSL_CTX_set_generate_session_id(ctx2, generate_session_id)) { in s_server_main() 1931 SSL_CTX_set_quiet_shutdown(ctx2, 1); in s_server_main() [all …]
|
D | x509.c | 495 X509V3_CTX ctx2; in x509_main() local 505 X509V3_set_ctx_test(&ctx2); in x509_main() 506 X509V3_set_nconf(&ctx2, extconf); in x509_main() 507 if (!X509V3_EXT_add_nconf(extconf, &ctx2, extsect, NULL)) { in x509_main() 1004 X509V3_CTX ctx2; in x509_certify() local 1006 X509V3_set_ctx(&ctx2, xca, x, NULL, NULL, 0); in x509_certify() 1007 X509V3_set_nconf(&ctx2, conf); in x509_certify() 1008 if (!X509V3_EXT_add_nconf(conf, &ctx2, section, x)) in x509_certify()
|
/third_party/selinux/libsepol/src/ |
D | mls.c | 672 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local 674 ctx2 = malloc(sizeof(context_struct_t)); in sepol_mls_contains() 675 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains() 678 context_init(ctx2); in sepol_mls_contains() 683 if (mls_from_string(handle, &policydb->p, mls2, ctx2) < 0) in sepol_mls_contains() 686 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains() 688 context_destroy(ctx2); in sepol_mls_contains() 690 free(ctx2); in sepol_mls_contains() 700 context_destroy(ctx2); in sepol_mls_contains() 702 free(ctx2); in sepol_mls_contains()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfscmp.c | 672 ntfs_attr_search_ctx *ctx2) in cmp_attribute() argument 675 ATTR_RECORD *a2 = ctx2->attr; in cmp_attribute() 684 na2 = ntfs_attr_open(base_inode(ctx2), a2->type, GET_ATTR_NAME(a2)); in cmp_attribute() 834 ntfs_attr_search_ctx *ctx1, *ctx2; in cmp_attributes() local 838 if (!(ctx2 = attr_get_search_ctx(ni2))) in cmp_attributes() 842 set_cmp_attr(ctx2, &atype2, &name2); in cmp_attributes() 853 ret2 = next_attr(ctx2, &atype2, &name2, &errno2); in cmp_attributes() 875 if (new_attribute(ctx2, prev_atype, prev_name)) { in cmp_attributes() 876 print_ctx(ctx2); in cmp_attributes() 883 cmp_attribute(ctx1, ctx2); in cmp_attributes() [all …]
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_context.c | 96 struct stw_context *ctx2; in DrvShareLists() local 105 ctx2 = stw_lookup_context_locked( dhglrc2 ); in DrvShareLists() 107 if (ctx1 && ctx2 && ctx2->st->share) { in DrvShareLists() 108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists() 110 ctx2->shared = TRUE; in DrvShareLists()
|
/third_party/python/Lib/test/ |
D | test_context.py | 148 ctx2 = contextvars.Context() 157 ctx2.run(func2) 253 ctx2 = contextvars.copy_context() 254 self.assertNotIn(c, ctx2) 256 ctx2[c] 257 self.assertEqual(ctx2.get(c, 'aa'), 'aa') 258 self.assertEqual(len(ctx2), 0) 259 self.assertEqual(list(ctx2), []) 325 ctx2 = ctx1.copy() 326 self.assertEqual(ctx2[c], 10) [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth.h | 485 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);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth.h | 548 void (*cb)(void *ctx1, void *ctx2), 549 void *ctx1, void *ctx2); 551 void (*cb)(void *ctx1, void *ctx2), 552 void *ctx1, void *ctx2); 554 void (*cb)(void *ctx1, void *ctx2), 555 void *ctx1, void *ctx2);
|
/third_party/mindspore/tests/ut/cpp/pynative/ |
D | pynative_execute_test.cc | 90 auto ctx2 = MsContext::GetInstance(); in TEST_F() local 92 ASSERT_EQ(ctx.get(), ctx2.get()); in TEST_F()
|
/third_party/mesa3d/src/gallium/targets/osmesa/ |
D | test-render.cpp | 250 std::unique_ptr<osmesa_context, decltype(&OSMesaDestroyContext)> ctx2{ in TEST() 253 ASSERT_TRUE(ctx2); in TEST() 263 ASSERT_EQ(OSMesaMakeCurrent(ctx2.get(), &pixel2, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST()
|
/third_party/libinput/test/ |
D | test-quirks.c | 1402 struct quirks_context *ctx, *ctx2; in START_TEST() local 1415 ctx2 = quirks_context_ref(ctx); in START_TEST() 1416 litest_assert_ptr_eq(ctx, ctx2); in START_TEST() 1417 ctx2 = quirks_context_unref(ctx); in START_TEST() 1418 litest_assert_ptr_eq(ctx2, NULL); in START_TEST() 1419 ctx2 = quirks_context_unref(ctx); in START_TEST() 1420 litest_assert_ptr_eq(ctx2, NULL); in START_TEST()
|
/third_party/boost/libs/compute/test/ |
D | test_vector.cpp | 323 compute::context ctx2(device); in BOOST_AUTO_TEST_CASE() local 326 compute::vector<int> vec2(32, ctx2); in BOOST_AUTO_TEST_CASE() 329 BOOST_CHECK(vec2.get_allocator().get_context() == ctx2); in BOOST_AUTO_TEST_CASE() 333 BOOST_CHECK(vec1.get_allocator().get_context() == ctx2); in BOOST_AUTO_TEST_CASE()
|
/third_party/mbedtls/docs/architecture/ |
D | alternative-implementations.md | 56 mbedtls_xxx_context ctx1, ctx2; 59 ctx2 = ctx1; 61 mbedtls_xxx_do_stuff(&ctx2, …); 62 mbedtls_xxx_free(&ctx2);
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/ |
D | CMakeLists.txt | 70 list(APPEND mytests http-client-fi-ctx2) 71 …add_test(NAME http-client-fi-ctx2 COMMAND lws-minimal-http-client --expected-exit 5 --fault-inject…
|