Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_misc.c193 ASSERT_STRING_EQ(fmt_timeframe(0), "00:00:00"); in test_fmt_timeframe()
194 ASSERT_STRING_EQ(fmt_timeframe(59), "00:00:59"); in test_fmt_timeframe()
195 ASSERT_STRING_EQ(fmt_timeframe(60), "00:01:00"); in test_fmt_timeframe()
196 ASSERT_STRING_EQ(fmt_timeframe(3599), "00:59:59"); in test_fmt_timeframe()
197 ASSERT_STRING_EQ(fmt_timeframe(3600), "01:00:00"); in test_fmt_timeframe()
198 ASSERT_STRING_EQ(fmt_timeframe(86399), "23:59:59"); in test_fmt_timeframe()
202 ASSERT_STRING_EQ(fmt_timeframe(86400), "1d00h00m"); in test_fmt_timeframe()
203 ASSERT_STRING_EQ(fmt_timeframe(90061), "1d01h01m"); in test_fmt_timeframe()
204 ASSERT_STRING_EQ(fmt_timeframe(604799), "6d23h59m"); in test_fmt_timeframe()
208 ASSERT_STRING_EQ(fmt_timeframe(604800), "01w0d00h"); in test_fmt_timeframe()
[all …]
/freebsd/crypto/openssh/
H A Dmisc.h87 const char *fmt_timeframe(time_t t);
H A Dssh-add.c382 fmt_timeframe((time_t)lifetime)); in add_file()
444 fmt_timeframe((time_t)cert_lifetime)); in add_file()
H A Dssh_namespace.h264 #define fmt_timeframe Fssh_fmt_timeframe macro
H A Dmisc.c751 fmt_timeframe(time_t t) in fmt_timeframe() function
H A Dpacket.c3076 fmt_timeframe(state->rekey_interval), rekey_next); in connection_info_message()