Lines Matching refs:txfc

17     QUIC_TXFC conn_txfc, stream_txfc, *txfc, *parent_txfc;  in test_txfc()  local
25 txfc = is_stream ? &stream_txfc : &conn_txfc; in test_txfc()
28 if (!TEST_true(ossl_quic_txfc_bump_cwm(txfc, 2000))) in test_txfc()
34 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()
54 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
57 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 500))) 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()
67 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
70 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 500)) in test_txfc()
73 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 100))) in test_txfc()
76 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 600)) in test_txfc()
79 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 1400)) in test_txfc()
82 if (is_stream && !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), in test_txfc()
86 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
89 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1400))) in test_txfc()
92 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 0)) in test_txfc()
95 if (is_stream && !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), in test_txfc()
99 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 2000)) in test_txfc()
102 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
105 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
108 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 1))) in test_txfc()
111 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
114 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
117 if (!TEST_false(ossl_quic_txfc_consume_credit(txfc, 1))) in test_txfc()
120 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(txfc), 2000)) in test_txfc()
123 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 2000)) in test_txfc()
126 if (!TEST_false(ossl_quic_txfc_bump_cwm(txfc, 2000))) in test_txfc()
129 if (!TEST_true(ossl_quic_txfc_bump_cwm(txfc, 2500))) in test_txfc()
135 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(txfc), 2500)) in test_txfc()
138 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 2000)) in test_txfc()
141 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 500)) in test_txfc()
148 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 400), 0)) in test_txfc()
151 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 399))) in test_txfc()
154 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
157 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 1)) in test_txfc()
160 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1))) in test_txfc()
172 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 499))) in test_txfc()
175 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
181 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1))) in test_txfc()
184 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()
187 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 1))) in test_txfc()
190 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0))) in test_txfc()