Home
last modified time | relevance | path

Searched refs:OSSL_TIME_SECOND (Results 1 – 6 of 6) sorted by relevance

/openssl/include/internal/
H A Dtime.h31 # define OSSL_TIME_SECOND ((uint64_t)1000000000) macro
34 # define OSSL_TIME_MS (OSSL_TIME_SECOND / 1000)
42 #define ossl_seconds2time(s) ossl_ticks2time((s) * OSSL_TIME_SECOND)
43 #define ossl_time2seconds(t) (ossl_time2ticks(t) / OSSL_TIME_SECOND)
106 tv.tv_sec = (long int)(t.t / OSSL_TIME_SECOND); in ossl_time_to_timeval()
108 tv.tv_sec = (time_t)(t.t / OSSL_TIME_SECOND); in ossl_time_to_timeval()
110 tv.tv_usec = (t.t % OSSL_TIME_SECOND) / OSSL_TIME_US; in ossl_time_to_timeval()
124 t.t = tv.tv_sec * OSSL_TIME_SECOND + tv.tv_usec * OSSL_TIME_US; in ossl_time_from_timeval()
132 return (time_t)(t.t / OSSL_TIME_SECOND); in ossl_time_to_time_t()
142 ot.t *= OSSL_TIME_SECOND; in ossl_time_from_time_t()
/openssl/crypto/
H A Dtime.c34 r.t = ((uint64_t)now.ul) * (OSSL_TIME_SECOND / 10000000); in ossl_time_now()
/openssl/doc/internal/man3/
H A DOSSL_TIME.pod5 OSSL_TIME, OSSL_TIME_SECOND, OSSL_TIME_MS, OSSL_TIME_US,
23 #define OSSL_TIME_SECOND /* Ticks per second */
70 B<OSSL_TIME_SECOND> is an integer that indicates the precision of an
/openssl/crypto/thread/arch/
H A Dthread_posix.c197 = (ossl_time2ticks(deadline) % OSSL_TIME_SECOND) / OSSL_TIME_NS; in ossl_crypto_condvar_wait_timeout()
/openssl/test/
H A Dquic_cc_test.c24 #define TIME_BASE (ossl_ticks2time(5 * OSSL_TIME_SECOND))
H A Dquic_ackm_test.c17 #define TIME_BASE (ossl_ticks2time(123 * OSSL_TIME_SECOND))

Completed in 16 milliseconds