Home
last modified time | relevance | path

Searched refs:TEST_uint64_t_eq (Results 1 – 24 of 24) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dquic_wire_test.c113 if (ret == 1 && !TEST_uint64_t_eq(peek_total_ranges, 2)) in encode_case_3_dec()
119 if (!TEST_uint64_t_eq(total_ranges, peek_total_ranges)) in encode_case_3_dec()
135 if (!TEST_uint64_t_eq(ossl_time2ticks(f.delay_time), in encode_case_3_dec()
142 if (!TEST_uint64_t_eq(f.ect0, encode_case_3_f.ect0)) in encode_case_3_dec()
145 if (!TEST_uint64_t_eq(f.ect1, encode_case_3_f.ect1)) in encode_case_3_dec()
148 if (!TEST_uint64_t_eq(f.ecnce, encode_case_3_f.ecnce)) in encode_case_3_dec()
270 if (!TEST_uint64_t_eq(f.offset, 0x1234)) in encode_case_6_dec()
374 if (!TEST_uint64_t_eq(f.stream_id, 0x1234)) in encode_case_8_dec()
377 if (!TEST_uint64_t_eq(f.offset, 0)) in encode_case_8_dec()
429 if (!TEST_uint64_t_eq(f.stream_id, 0x1234)) in encode_case_9_dec()
[all …]
H A Dquic_fc_test.c34 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 0)) in test_txfc()
37 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(txfc), 2000)) in test_txfc()
40 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 2000)) in test_txfc()
43 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 100), 1900)) in test_txfc()
47 if ( !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 2000)) in test_txfc()
50 if ( !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 100), 1900)) in test_txfc()
60 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 1500)) in test_txfc()
63 if (is_stream && !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), in test_txfc()
70 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 500)) in test_txfc()
76 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 600)) in test_txfc()
[all …]
H A Dquic_fifd_test.c144 || !TEST_uint64_t_eq(hdr.offset, 0) in test_generic()
145 || !TEST_uint64_t_eq(hdr.len, 12) in test_generic()
258 || !TEST_uint64_t_eq(hdr.offset, 0) in test_generic()
259 || !TEST_uint64_t_eq(hdr.len, 12)) in test_generic()
265 || !TEST_uint64_t_eq(regen_stream_id[0], 42) in test_generic()
266 || !TEST_uint64_t_eq(regen_frame_type[0], OSSL_QUIC_FRAME_TYPE_MAX_STREAM_DATA) in test_generic()
267 || !TEST_uint64_t_eq(regen_stream_id[1], 43) in test_generic()
268 || !TEST_uint64_t_eq(regen_frame_type[1], OSSL_QUIC_FRAME_TYPE_MAX_STREAM_DATA) in test_generic()
269 || !TEST_uint64_t_eq(regen_frame_type[2], OSSL_QUIC_FRAME_TYPE_HANDSHAKE_DONE) in test_generic()
270 || !TEST_uint64_t_eq(regen_stream_id[2], UINT64_MAX) in test_generic()
[all …]
H A Dquic_srtm_test.c48 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
51 || !TEST_uint64_t_eq(seq_num, 3) in test_srtm()
54 || !TEST_uint64_t_eq(seq_num, 2) in test_srtm()
57 || !TEST_uint64_t_eq(seq_num, 1) in test_srtm()
60 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
65 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
68 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
H A Dthreadpool_test.c110 if (!TEST_uint64_t_eq(OSSL_get_max_threads(NULL), 0)) in test_thread_internal()
112 if (!TEST_uint64_t_eq(OSSL_get_max_threads(cust_ctx), 0)) in test_thread_internal()
120 if (!TEST_uint64_t_eq(OSSL_get_max_threads(NULL), 0)) in test_thread_internal()
122 if (!TEST_uint64_t_eq(OSSL_get_max_threads(cust_ctx), 0)) in test_thread_internal()
135 if (!TEST_uint64_t_eq(OSSL_get_max_threads(NULL), 0)) in test_thread_internal()
142 if (!TEST_uint64_t_eq(OSSL_get_max_threads(cust_ctx), 0)) in test_thread_internal()
146 if (!TEST_uint64_t_eq(OSSL_get_max_threads(NULL), 0)) in test_thread_internal()
148 if (!TEST_uint64_t_eq(OSSL_get_max_threads(cust_ctx), 1)) in test_thread_internal()
160 if (!TEST_uint64_t_eq(OSSL_get_max_threads(NULL), 1)) in test_thread_internal()
162 if (!TEST_uint64_t_eq(OSSL_get_max_threads(cust_ctx), 0)) in test_thread_internal()
H A Dquic_stream_test.c76 || !TEST_uint64_t_eq(hdr.offset, 0) in test_sstream_simple()
77 || !TEST_uint64_t_eq(hdr.len, sizeof(data_1)) in test_sstream_simple()
93 || !TEST_uint64_t_eq(hdr.offset, 8) in test_sstream_simple()
94 || !TEST_uint64_t_eq(hdr.len, sizeof(data_1) - 8) in test_sstream_simple()
119 || !TEST_uint64_t_eq(hdr.offset, 4) in test_sstream_simple()
120 || !TEST_uint64_t_eq(hdr.len, 3) in test_sstream_simple()
162 || !TEST_uint64_t_eq(hdr.offset, 16) in test_sstream_simple()
163 || !TEST_uint64_t_eq(hdr.len, 0) in test_sstream_simple()
187 || !TEST_uint64_t_eq(hdr.offset, 16) in test_sstream_simple()
188 || !TEST_uint64_t_eq(hdr.len, 0) in test_sstream_simple()
[all …]
H A Dquic_txpim_test.c47 if (!TEST_uint64_t_eq(rchunks[0].stream_id, 98) in test_txpim()
48 || !TEST_uint64_t_eq(rchunks[1].stream_id, 99) in test_txpim()
49 || !TEST_uint64_t_eq(rchunks[2].stream_id, 100)) in test_txpim()
H A Dquic_rcidm_test.c104 || !TEST_uint64_t_eq(seq_num_out, 0)) in test_rcidm()
115 || !TEST_uint64_t_eq(seq_num_out, 0) in test_rcidm()
117 || !TEST_uint64_t_eq(seq_num_out, 0) in test_rcidm()
119 || !TEST_uint64_t_eq(seq_num_out, 2)) in test_rcidm()
H A Dquic_lcidm_test.c61 || !TEST_uint64_t_eq(seq_num, 0) in test_lcidm()
65 || !TEST_uint64_t_eq(seq_num, 1) in test_lcidm()
69 || !TEST_uint64_t_eq(seq_num, 2) in test_lcidm()
73 || !TEST_uint64_t_eq(seq_num, 3) in test_lcidm()
H A Dquic_cc_test.c422 if (!TEST_uint64_t_eq(diag_cur_bytes_in_flight, 0)) in test_simulate()
529 if (!TEST_uint64_t_eq(diag_cur_bytes_in_flight, 0)) in test_sanity()
537 if (!TEST_uint64_t_eq(ccm->get_tx_allowance(cc), allowance - 1200)) in test_sanity()
556 if (!TEST_uint64_t_eq(ccm->get_tx_allowance(cc), allowance - 1200)) in test_sanity()
563 if (!TEST_uint64_t_eq(ccm->get_tx_allowance(cc), allowance2)) in test_sanity()
576 if (!TEST_uint64_t_eq(allowance2 = ccm->get_tx_allowance(cc), in test_sanity()
H A Dquic_txp_test.c458 if (!TEST_uint64_t_eq(h->frame.new_conn_id.seq_num, 2345) in check_cfq_new_conn_id()
459 || !TEST_uint64_t_eq(h->frame.new_conn_id.retire_prior_to, 1234) in check_cfq_new_conn_id()
1024 if (!TEST_uint64_t_eq(h->frame.stop_sending.stream_id, 42) in check_stream_12()
1025 || !TEST_uint64_t_eq(h->frame.stop_sending.app_error_code, 4568)) in check_stream_12()
1056 if (!TEST_uint64_t_eq(h->frame.reset_stream.stream_id, 42) in check_stream_13()
1057 || !TEST_uint64_t_eq(h->frame.reset_stream.app_error_code, 4568) in check_stream_13()
1058 || !TEST_uint64_t_eq(h->frame.reset_stream.final_size, 0)) in check_stream_13()
1105 || !TEST_uint64_t_eq(h->frame.conn_close.frame_type, in check_14()
1107 || !TEST_uint64_t_eq(h->frame.conn_close.error_code, 2345) in check_14()
1350 if (!TEST_uint64_t_eq(h.frame_type, op->arg0)) in run_script()
H A Dquicfaultstest.c124 || !TEST_uint64_t_eq(sid, 1)) in test_unknown_frame()
301 || !TEST_uint64_t_eq(sid, 1)) in test_corrupted_data()
H A Dquic_record_test_util.h37 || !TEST_uint64_t_eq(a->len, b->len)) in cmp_pkt_hdr()
H A Dquic_multistream_test.c403 return TEST_uint64_t_eq(aec, 42); in check_stream_reset()
1537 && !TEST_uint64_t_eq(SSL_get_stream_id(c_stream), in run_script_worker()
1550 if (!TEST_uint64_t_eq(s_stream_id, UINT64_MAX)) in run_script_worker()
1562 && !TEST_uint64_t_eq(stream_id, op->arg2)) in run_script_worker()
1594 if (!TEST_uint64_t_eq(s_stream_id, UINT64_MAX)) in run_script_worker()
1712 || !TEST_uint64_t_eq(error_code, cc_info.error_code)) { in run_script_worker()
1734 if (!TEST_uint64_t_eq(error_code, tc->error_code) in run_script_worker()
1743 if (!TEST_uint64_t_eq(s_stream_id, UINT64_MAX)) in run_script_worker()
3729 || !TEST_uint64_t_eq(frame_data, path_challenge)) { in script_41_trace()
3750 if (!TEST_uint64_t_eq(h->scratch1, 0)) in script_41_check()
[all …]
H A Dquic_cfq_test.c126 || !TEST_uint64_t_eq(ossl_quic_cfq_item_get_frame_type(item), in test_cfq()
H A Dquicapitest.c825 if (!TEST_uint64_t_eq(SSL_CTX_get_options(ctx), UINT64_MAX)) in test_quic_forbidden_options()
838 if (!TEST_uint64_t_eq(SSL_get_options(ssl), OSSL_QUIC_PERMITTED_OPTIONS)) in test_quic_forbidden_options()
844 if (!TEST_uint64_t_eq(SSL_get_options(ssl), OSSL_QUIC_PERMITTED_OPTIONS)) in test_quic_forbidden_options()
850 if (!TEST_uint64_t_eq(SSL_get_options(ssl), 0)) in test_quic_forbidden_options()
2301 || !TEST_uint64_t_eq(info.error_code, OSSL_QUIC_ERR_TRANSPORT_PARAMETER_ERROR) in test_tparam()
2416 || !TEST_uint64_t_eq(domain_flags, SSL_DOMAIN_FLAG_SINGLE_THREAD) in test_domain_flags()
2419 || !TEST_uint64_t_eq(domain_flags, SSL_DOMAIN_FLAG_SINGLE_THREAD) in test_domain_flags()
2422 || !TEST_uint64_t_eq(domain_flags, SSL_DOMAIN_FLAG_SINGLE_THREAD) in test_domain_flags()
H A Dquic_record_test.c1892 if (!TEST_uint64_t_eq(ossl_qrx_get_key_epoch(s.qrx), in rx_run_script()
1901 if (!TEST_uint64_t_eq(last_key_epoch, op->largest_pn)) in rx_run_script()
3664 if (!TEST_uint64_t_eq(old_value + 1, new_value)) in tx_run_script()
H A Dquic_ackm_test.c1014 if (!TEST_uint64_t_eq(ack->ack_ranges[i].start, in test_rx_ack_actual()
1017 if (!TEST_uint64_t_eq(ack->ack_ranges[i].end, in test_rx_ack_actual()
H A Dpackettest.c511 || !TEST_uint64_t_eq(v, cases[i].value) in test_PACKET_get_quic_vlint()
H A Dwpackettest.c620 || !TEST_uint64_t_eq(expected, actual)) in test_WPACKET_quic_vlint_random()
H A Dtestutil.h481 # define TEST_uint64_t_eq(a, b) test_uint64_t_eq(__FILE__, __LINE__, #a, #b, a, b) macro
/freebsd/crypto/openssl/test/radix/
H A Dquic_tests.c155 if (!TEST_uint64_t_eq(items[i].revents, expected_items[i].revents)) in DEF_FUNC()
H A Dquic_ops.c847 || !TEST_uint64_t_eq(error_code, cc_info.error_code)) { in DEF_FUNC()
920 if (!TEST_uint64_t_eq(actual, expected)) in DEF_FUNC()
/freebsd/crypto/openssl/test/helpers/
H A Dquictestlib.c760 || !TEST_uint64_t_eq(cause->error_code, code)) in qtest_check_server_transport_err()