Lines Matching defs:txfc
17 QUIC_TXFC conn_txfc, stream_txfc, *txfc, *parent_txfc;
25 txfc = is_stream ? &stream_txfc : &conn_txfc;
28 if (!TEST_true(ossl_quic_txfc_bump_cwm(txfc, 2000)))
34 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 0))
37 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(txfc), 2000))
40 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 2000))
43 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 100), 1900))
47 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 2000))
50 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 100), 1900))
54 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
57 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 500)))
60 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 1500))
63 if (is_stream && !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 1500))
66 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
69 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 500))
72 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 100)))
75 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 600))
78 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 1400))
81 if (is_stream && !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 1400))
84 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
87 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1400)))
90 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 0))
93 if (is_stream && !TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 0))
96 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 2000))
99 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0)))
102 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0)))
105 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 1)))
108 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
111 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
114 if (!TEST_false(ossl_quic_txfc_consume_credit(txfc, 1)))
117 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(txfc), 2000))
120 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 2000))
123 if (!TEST_false(ossl_quic_txfc_bump_cwm(txfc, 2000)))
126 if (!TEST_true(ossl_quic_txfc_bump_cwm(txfc, 2500)))
132 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(txfc), 2500))
135 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(txfc), 2000))
138 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(txfc, 0), 500))
145 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 400), 0))
148 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 399)))
151 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
154 if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(txfc, 0), 1))
157 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1)))
169 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 499)))
172 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))
178 if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1)))
181 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0)))
184 if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 1)))
187 if (!TEST_false(ossl_quic_txfc_has_become_blocked(txfc, 0)))