Searched refs:convtime_double (Results 1 – 6 of 6) sorted by relevance
| /freebsd/crypto/openssh/regress/unittests/misc/ |
| H A D | test_convtime.c | 61 ASSERT_DOUBLE_EQ(convtime_double("0"), 0); in test_convtime() 62 ASSERT_DOUBLE_EQ(convtime_double("1"), 1.0); in test_convtime() 63 ASSERT_DOUBLE_EQ(convtime_double("2s"), 2.0); in test_convtime() 64 ASSERT_DOUBLE_EQ(convtime_double("3m"), 180.0); in test_convtime() 65 ASSERT_DOUBLE_EQ(convtime_double("1m30s"), 90.0); in test_convtime() 66 ASSERT_DOUBLE_EQ(convtime_double("1.5s"), 1.5); in test_convtime() 67 ASSERT_DOUBLE_EQ(convtime_double(".5s"), 0.5); in test_convtime() 68 ASSERT_DOUBLE_EQ(convtime_double("0.5s"), 0.5); in test_convtime() 69 ASSERT_DOUBLE_EQ(convtime_double("1.123456s"), 1.123456); in test_convtime() 70 ASSERT_DOUBLE_EQ(convtime_double("1.1234567s"), 1.1234567); in test_convtime() [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | misc.h | 84 double convtime_double(const char *); 86 double convtime_double(const char *);
|
| H A D | misc.c | 658 convtime_double(const char *s) in convtime_double() function 737 if ((sec_val = convtime_double(s)) < 0.0) in convtime()
|
| H A D | ssh_namespace.h | 225 #define convtime_double Fssh_convtime_double macro
|
| H A D | servconf.c | 2166 if ((dvalue = convtime_double(q)) < 0) { in process_server_config_line_depth()
|
| H A D | ChangeLog | 1872 upstream: unit tests for convtime_double() 1893 upstream: Add convtime_double() that converts a string interval, 1897 Reimplement the existing convtime() function using convtime_double()
|