/openssl/ssl/quic/ |
H A D | quic_statm.c | 33 if (ossl_time_compare(latest_rtt, statm->min_rtt) < 0) in ossl_statm_update_rtt() 42 if (ossl_time_compare(latest_rtt, ossl_time_add(statm->min_rtt, ack_delay)) >= 0) in ossl_statm_update_rtt()
|
H A D | quic_ackm.c | 790 if (ossl_time_compare(pkt->time, lost_send_time) <= 0 in ackm_detect_and_remove_lost_pkts() 819 || ossl_time_compare(ackm->loss_time[i], time) == -1) { in ackm_get_loss_time_and_space() 879 if (ossl_time_compare(t, pto_timeout) < 0) { in ackm_get_pto_time_and_space() 1084 || ossl_time_compare(ackm->time_of_last_ack_eliciting_pkt[pkt->pkt_space], in ossl_ackm_on_tx_packet() 1383 && ossl_time_compare(ackm->now(ackm->now_arg), in ossl_ackm_is_ack_desired() 1624 && ossl_time_compare(now, ackm->rx_largest_time[pkt_space]) > 0 in ossl_ackm_get_ack_frame()
|
H A D | cc_newreno.c | 241 return ossl_time_compare(tx_time, nr->cong_recovery_start_time) <= 0; in newreno_in_cong_recovery() 415 if (ossl_time_compare(info->tx_time, nr->tx_time_of_last_loss) <= 0) in newreno_on_data_lost()
|
H A D | quic_channel.c | 691 ossl_time_compare(get_time(ch), ch->txku_cooldown_deadline) >= 0 in txku_recommendable() 829 || ossl_time_compare(get_time(ch), ch->rxku_update_end_deadline) < 0) in ch_rxku_tick() 1880 if (ossl_time_compare(now, ch->terminate_deadline) >= 0) { in ossl_quic_channel_subtick() 1924 if (ossl_time_compare(now, ch->idle_deadline) >= 0) { in ossl_quic_channel_subtick() 1941 && ossl_time_compare(now, deadline) >= 0) in ossl_quic_channel_subtick() 1945 if (ossl_time_compare(now, ch->ping_deadline) >= 0) { in ossl_quic_channel_subtick()
|
H A D | quic_fc.c | 287 return ossl_time_compare(t_window, ossl_time_multiply(rtt, 4)) < 0; in rxfc_should_bump_window_size()
|
/openssl/include/internal/ |
H A D | time.h | 148 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b) in ossl_time_compare() function 161 return ossl_time_compare(t, ossl_time_zero()) == 0; in ossl_time_is_zero() 168 return ossl_time_compare(t, ossl_time_infinite()) == 0; in ossl_time_is_infinite()
|
/openssl/test/ |
H A D | quic_cc_test.c | 91 return ossl_time_compare(a->next_time, b->next_time); in net_pkt_cmp() 208 if (skip_forward && ossl_time_compare(pkt->next_time, fake_time) > 0) in net_sim_process_one() 212 && ossl_time_compare(fake_time, pkt->arrive_time) >= 0) { in net_sim_process_one() 225 if (ossl_time_compare(fake_time, pkt->determination_time) < 0) in net_sim_process_one()
|
H A D | quic_tserver_test.c | 203 if (ossl_time_compare(ossl_time_subtract(real_now(NULL), start_time), in do_test() 328 if (!isinf && ossl_time_compare(ossl_time_zero(), in do_test()
|
H A D | quic_client_test.c | 102 if (ossl_time_compare(ossl_time_subtract(ossl_time_now(), start_time), in test_quic_client_ex()
|
H A D | quic_ackm_test.c | 420 if (!TEST_int_eq(ossl_time_compare(deadline, loss_detection_deadline), 0)) in test_tx_ack_case_actual() 424 if (!TEST_int_gt(ossl_time_compare(deadline, fake_time), 0)) in test_tx_ack_case_actual() 996 if (!TEST_int_eq(ossl_time_compare(ossl_ackm_get_ack_deadline(h.ackm, i), in test_rx_ack_actual()
|
H A D | quic_multistream_test.c | 1083 if (!TEST_int_le(ossl_time_compare(ossl_time_now(), op_deadline), 0)) { in run_script_worker()
|
H A D | sslapitest.c | 3532 if (ossl_time_compare(timer, ossl_seconds2time(7)) >= 0) in check_early_data_timeout()
|
/openssl/crypto/ |
H A D | sleep.c | 107 while (ossl_time_compare(ossl_time_now(), finish) < 0) in ossl_sleep_millis()
|
/openssl/doc/internal/man3/ |
H A D | OSSL_TIME.pod | 11 ossl_time_compare, ossl_time_is_zero, ossl_time_is_infinite, 45 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b); 110 B<ossl_time_compare> compares I<a> with I<b> and returns -1 if I<a> 165 B<ossl_time_compare> returns -1, 0 or 1 depending on the comparison.
|
/openssl/fuzz/ |
H A D | quic-client.c | 236 if (len > 3 && ossl_time_compare(nxttimeout, nxtpkt) >= 0) { in FuzzerTestOneInput()
|
/openssl/test/helpers/ |
H A D | noisydgrambio.c | 129 if (ossl_time_compare(limit->pinfos[idx].timestamp, sampling_start) >= 0) in bandwidth_limit()
|
/openssl/ssl/statem/ |
H A D | extensions_srvr.c | 1196 && ossl_time_compare(sess->timeout, t) >= 0 in tls_parse_ctos_psk() 1197 && ossl_time_compare(age, expire) <= 0 in tls_parse_ctos_psk() 1198 && ossl_time_compare(ossl_time_add(age, TICKET_AGE_ALLOWANCE), in tls_parse_ctos_psk()
|
H A D | statem_srvr.c | 3895 if (ossl_time_compare(s->session->timeout, in create_ticket_prequel()
|
/openssl/ssl/ |
H A D | ssl_sess.c | 31 return ossl_time_compare(t, ss->calc_timeout) > 0; in DEFINE_STACK_OF() 40 return ossl_time_compare(a->calc_timeout, b->calc_timeout); in timeoutcmp()
|
H A D | d1_lib.c | 327 if (ossl_time_compare(*timeleft, ossl_ms2time(15)) <= 0) in dtls1_get_timeout()
|
/openssl/crypto/bio/ |
H A D | bss_dgram.c | 335 if (ossl_time_compare(timeleft, ossl_ticks2time(OSSL_TIME_US)) < 0) in dgram_adjust_rcv_timeout() 343 || ossl_time_compare(data->socket_timeout, timeleft) >= 0) { in dgram_adjust_rcv_timeout()
|