Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/test/
H A Dbio_callback_test.c66 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
68 || !TEST_ptr_eq(my_param_argp[0], test1) in test_bio_callback_ex()
72 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
74 || !TEST_ptr_eq(my_param_argp[1], test1) in test_bio_callback_ex()
85 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
87 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback_ex()
91 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
93 || !TEST_ptr_eq(my_param_argp[1], buf) in test_bio_callback_ex()
105 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
107 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback_ex()
[all …]
H A Dexdatatest.c34 || !TEST_ptr_eq(argp, saved_argp) in exnew()
44 || !TEST_ptr_eq(argp, saved_argp) in exdup()
55 || !TEST_ptr_eq(argp, saved_argp)) in exfree()
78 || !TEST_ptr_eq(argp, saved_argp) in exnew2()
97 || !TEST_ptr_eq(argp, saved_argp) in exdup2()
121 || !TEST_ptr_eq(argp, saved_argp) in exfree2()
260 if (!TEST_ptr_eq(cp, p)) in test_exdata()
265 if (!TEST_ptr_eq(cp, p)) in test_exdata()
270 if (!TEST_ptr_eq(cp, p)) in test_exdata()
292 if (!TEST_ptr_eq(cp, p)) in test_exdata()
[all …]
H A Dquic_srtm_test.c47 || !TEST_ptr_eq(opaque, ptrs + 1) in test_srtm()
50 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm()
53 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm()
56 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm()
59 || !TEST_ptr_eq(opaque, ptrs + 0) in test_srtm()
64 || !TEST_ptr_eq(opaque, ptrs + 1) in test_srtm()
67 || !TEST_ptr_eq(opaque, ptrs + 2) in test_srtm()
H A Dcontext_internal_test.c24 || !TEST_ptr_eq(global, OSSL_LIB_CTX_set0_default(NULL))) in test_set0_default()
29 || !TEST_ptr_eq(global, prev)) in test_set0_default()
33 if (!TEST_ptr_eq(local, OSSL_LIB_CTX_set0_default(NULL))) in test_set0_default()
37 if (!TEST_ptr_eq(global, OSSL_LIB_CTX_get0_global_default())) in test_set0_default()
42 || !TEST_ptr_eq(local, prev)) in test_set0_default()
H A 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()
209 if (!TEST_ptr_eq(sk_uchar_pop(s), v + i)) { in test_uchar_stack()
232 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
240 if (!TEST_ptr_eq(sk_uchar_delete(r, 1), v + 1)) in test_uchar_stack()
246 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
333 if (!TEST_ptr_eq(sk_SS_value(s, i), v[i<3 ? i : 1+i])) { in test_SS_stack()
370 if (!TEST_ptr_eq(sk_SU_value(s, i), v + i)) { in test_SU_stack()
H A Dasn1_dsa_internal_test.c97 || !TEST_ptr_eq(pder, (t_dsa_sig + sizeof(t_dsa_sig))) in test_decode()
107 || !TEST_ptr_eq(pder, in test_decode()
118 || !TEST_ptr_eq(pder, (t_dsa_sig_msb + sizeof(t_dsa_sig_msb))) in test_decode()
128 || !TEST_ptr_eq(pder, (t_dsa_sig_two + sizeof(t_dsa_sig_two))) in test_decode()
H A Dbio_meth_test.c45 if (!TEST_ptr_eq(BIO_find_type(bio3, BIO_TYPE_MEM), membio) in test_bio_meth()
46 || !TEST_ptr_eq(BIO_find_type(bio3, id), bio1)) in test_bio_meth()
53 if (!TEST_ptr_eq(BIO_find_type(bio3, BIO_TYPE_FILTER), bio3)) in test_bio_meth()
H A Dquic_lcidm_test.c60 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm()
64 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm()
68 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm()
72 || !TEST_ptr_eq(opaque, ptrs + 2) in test_lcidm()
H A 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()
H A Ddhtest.c93 if (!TEST_ptr_eq(p2, p) in dh_test()
94 || !TEST_ptr_eq(q2, q) in dh_test()
95 || !TEST_ptr_eq(g2, g)) in dh_test()
99 if (!TEST_ptr_eq(DH_get0_p(dh), p2) in dh_test()
100 || !TEST_ptr_eq(DH_get0_q(dh), q2) in dh_test()
101 || !TEST_ptr_eq(DH_get0_g(dh), g2)) in dh_test()
111 if (!TEST_ptr_eq(pub_key2, NULL) in dh_test()
112 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test()
116 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2) in dh_test()
117 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test()
H A Dproperty_test.c318 r = r && TEST_ptr_eq(ossl_prop_defn_get(NULL, "red"), red) in test_property_defn_cache()
319 && TEST_ptr_eq(ossl_prop_defn_get(NULL, "blue"), blue) in test_property_defn_cache()
328 r = r && TEST_ptr_eq(blue2, blue) in test_property_defn_cache()
329 && TEST_ptr_eq(ossl_prop_defn_get(NULL, "blue"), blue); in test_property_defn_cache()
504 || !TEST_ptr_eq(fake_prov1, &fake_provider1) in test_property()
515 || !TEST_ptr_eq(fake_prov1, &fake_provider1) in test_property()
536 || !TEST_ptr_eq(fake_prov2, &fake_provider2) in test_property()
547 || !TEST_ptr_eq(fake_prov2, &fake_provider2) in test_property()
H A 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()
559 if (!TEST_ptr_eq(pkt.curr, cases[i].buf)) in test_PACKET_get_quic_length_prefixed()
564 if (!TEST_ptr_eq(subpkt.curr, cases[i].buf + cases[i].enclen)) in test_PACKET_get_quic_length_prefixed()
H A Dnamemap_internal_test.c95 if (!TEST_ptr_eq(sha256, foo)) in test_digestbyname()
123 if (!TEST_ptr_eq(aes128, bar)) in test_cipherbyname()
H A Dquic_cfq_test.c87 || !TEST_ptr_eq(ossl_quic_cfq_item_get_encoded(item), in check()
128 || !TEST_ptr_eq(ossl_quic_cfq_item_get_encoded(item), in test_cfq()
H A Dcmp_client_test.c379 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(ctx), NULL) in execute_try_certreq_poll_test()
382 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(ctx), NULL) in execute_try_certreq_poll_test()
408 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(ctx), NULL) in execute_try_certreq_poll_abort_test()
411 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(fixture->cmp_ctx), NULL); in execute_try_certreq_poll_abort_test()
H A Dlhash_test.c122 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + i), int_tests + i)) { in test_int_lhash()
127 if (!TEST_ptr_eq(lh_int_retrieve(h, &j), int_tests + 2)) in test_int_lhash()
134 if (!TEST_ptr_eq(p, int_tests + 1)) in test_int_lhash()
136 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + 1), &j)) in test_int_lhash()
H A Dstrtoultest.c88 if (!TEST_ptr_eq(endptr, &test->input[test->expect_endptr_offset])) in test_strtoul()
H A Dsha_test.c26 || !TEST_ptr_eq(sbuf, buf) in test_static_sha_common()
H A Dquic_fifd_test.c169 || !TEST_ptr_eq(cfq_item, ossl_quic_cfq_get_priority_head(info->cfq, pn_space))) in test_generic()
282 if (!TEST_ptr_eq(cfq_item, ossl_quic_cfq_get_priority_head(info->cfq, pn_space))) in test_generic()
H A Ddrbgtest.c560 if (!TEST_ptr_eq(RAND_get_rand_method(), RAND_OpenSSL())) in test_rand_reseed()
574 || !TEST_ptr_eq(prov_rand(public)->parent, prov_rand(primary)) in test_rand_reseed()
575 || !TEST_ptr_eq(prov_rand(private)->parent, prov_rand(primary))) in test_rand_reseed()
H A Dparams_api_test.c708 || (tstid <= 1 && !TEST_ptr_eq(bufp2, bufp))) in test_param_construct()
734 || (tstid <= 1 && !TEST_ptr_eq(vp, &ul))) in test_param_construct()
740 || (tstid <= 1 && !TEST_ptr_eq(vp2, vp))) in test_param_construct()
H A Dcrltest.c440 || !TEST_ptr_eq(result, reused_crl)) in test_reuse_crl()
H A Dpriority_queue_test.c101 if (!TEST_ptr_eq(ossl_pqueue_size_t_remove(pq, ref[i]), in test_size_t_priority_queue_int()
H A Dquicapitest.c938 if (!TEST_ptr_eq(bio, SSL_get_wbio(ssl))) in test_quic_set_fd()
2388 || !TEST_ptr_eq(clientquic, cbssl)) in test_session_cb()
2425 || !TEST_ptr_eq(SSL_get0_domain(domain), domain) in test_domain_flags()
2430 || !TEST_ptr_eq(SSL_get0_domain(listener), domain) in test_domain_flags()
2431 || !TEST_ptr_eq(SSL_get0_listener(listener), listener)) in test_domain_flags()
2817 return TEST_ptr_eq(cssl, quic_verify_ssl); in quic_verify_cb()
H A Dquic_record_test.c2819 if (!TEST_ptr_eq(ptrs.raw_start, t->expected)) in test_wire_pkt_hdr_actual()
2826 if (!TEST_ptr_eq(ptrs.raw_pn, t->expected + t->pn_offset)) in test_wire_pkt_hdr_actual()
2831 if (!TEST_ptr_eq(ptrs.raw_sample, t->expected + t->sample_offset)) in test_wire_pkt_hdr_actual()

12