Home
last modified time | relevance | path

Searched refs:TEST_ptr_eq (Results 1 – 13 of 13) sorted by relevance

/third_party/openssl/test/
Dbio_callback_test.c60 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback()
62 || !TEST_ptr_eq(my_param_argp[0], test1) in test_bio_callback()
66 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback()
68 || !TEST_ptr_eq(my_param_argp[1], test1) in test_bio_callback()
78 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback()
80 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback()
84 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback()
86 || !TEST_ptr_eq(my_param_argp[1], buf) in test_bio_callback()
97 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback()
99 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback()
[all …]
Dexdatatest.c33 || !TEST_ptr_eq(argp, saved_argp) in exnew()
43 || !TEST_ptr_eq(argp, saved_argp) in exdup()
54 || !TEST_ptr_eq(argp, saved_argp)) in exfree()
76 || !TEST_ptr_eq(argp, saved_argp) in exnew2()
94 || !TEST_ptr_eq(argp, saved_argp) in exdup2()
118 || !TEST_ptr_eq(argp, saved_argp) in exfree2()
215 if (!TEST_ptr_eq(cp, p)) in test_exdata()
220 if (!TEST_ptr_eq(cp, p)) in test_exdata()
242 if (!TEST_ptr_eq(cp, p)) in test_exdata()
246 if (!TEST_ptr_eq(cp, p)) in test_exdata()
Ddhtest.c79 if (!TEST_ptr_eq(p2, p) in dh_test()
80 || !TEST_ptr_eq(q2, q) in dh_test()
81 || !TEST_ptr_eq(g2, g)) in dh_test()
85 if (!TEST_ptr_eq(DH_get0_p(dh), p2) in dh_test()
86 || !TEST_ptr_eq(DH_get0_q(dh), q2) in dh_test()
87 || !TEST_ptr_eq(DH_get0_g(dh), g2)) in dh_test()
97 if (!TEST_ptr_eq(pub_key2, NULL) in dh_test()
98 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test()
102 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2) in dh_test()
103 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test()
[all …]
Dstack_test.c104 if (!TEST_ptr_eq(sk_sint_value(s, i), v + i)) { in test_int_stack()
159 if (!TEST_ptr_eq(sk_sint_shift(s), v + 6)) in test_int_stack()
205 if (!TEST_ptr_eq(sk_uchar_pop(s), v + i)) { in test_uchar_stack()
228 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
236 if (!TEST_ptr_eq(sk_uchar_delete(r, 1), v + 1)) in test_uchar_stack()
242 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
325 if (!TEST_ptr_eq(sk_SS_value(s, i), v[i<3 ? i : 1+i])) { in test_SS_stack()
362 if (!TEST_ptr_eq(sk_SU_value(s, i), v + i)) { in test_SU_stack()
Dtest_test.c226 | !TEST(1, TEST_ptr_eq(NULL, NULL)) in test_pointer()
227 | !TEST(0, TEST_ptr_eq(NULL, &y)) in test_pointer()
228 | !TEST(0, TEST_ptr_eq(&y, NULL)) in test_pointer()
229 | !TEST(0, TEST_ptr_eq(&y, &x)) in test_pointer()
230 | !TEST(1, TEST_ptr_eq(&x, &x)) in test_pointer()
487 && TEST_ptr_eq(p++, buf) in test_single_eval()
488 && TEST_ptr_eq(buf + 2, ++p) in test_single_eval()
489 && TEST_ptr_eq(buf, p -= 2) in test_single_eval()
491 && TEST_ptr_eq(p, buf + 1) in test_single_eval()
Dlhash_test.c108 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + i), int_tests + i)) { in test_int_lhash()
113 if (!TEST_ptr_eq(lh_int_retrieve(h, &j), int_tests + 2)) in test_int_lhash()
120 if (!TEST_ptr_eq(p, int_tests + 1)) in test_int_lhash()
122 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + 1), &j)) in test_int_lhash()
Dpackettest.c38 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) in test_PACKET_end()
40 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) in test_PACKET_end()
42 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN)) in test_PACKET_end()
Dthreadstest.c148 if (!TEST_ptr_eq(ptr, &destructor_run_count)) in thread_local_thread_cb()
Ddrbgtest.c725 if (!TEST_ptr_eq(RAND_get_rand_method(), RAND_OpenSSL())) in test_rand_drbg_reseed()
738 || !TEST_ptr_eq(public->parent, master) in test_rand_drbg_reseed()
739 || !TEST_ptr_eq(private->parent, master)) in test_rand_drbg_reseed()
Devp_extra_test.c1081 || !TEST_ptr_eq(p, input + input_len) in test_d2i_AutoPrivateKey()
1165 if (!TEST_ptr_eq(derp, in test_EVP_PKCS82PKEY()
1527 || !TEST_ptr_eq(p, input + input_len) in test_EVP_PKEY_check()
1541 || !TEST_ptr_eq(p, input + input_len) in test_EVP_PKEY_check()
Dhmactest.c159 || !TEST_ptr_eq(HMAC_CTX_get_md(ctx), EVP_sha256()) in test_hmac_run()
Dtestutil.h347 # define TEST_ptr_eq(a, b) test_ptr_eq(__FILE__, __LINE__, #a, #b, a, b) macro
Dsslapitest.c643 || !TEST_ptr_eq(sesspre, sesspost) in test_ccs_change_cipher()
1138 if (!TEST_ptr_eq(SSL_get_session(clientssl2), sess1)) in execute_test_session()
6667 || !TEST_ptr_eq(clientssl, client2ssl)) in test_ssl_dup()