Searched refs:convtime (Results 1 – 11 of 11) sorted by relevance
/external/openssh/regress/unittests/conversion/ |
D | tests.c | 29 ASSERT_LONG_EQ(convtime("0"), 0); in tests() 30 ASSERT_LONG_EQ(convtime("1"), 1); in tests() 31 ASSERT_LONG_EQ(convtime("1S"), 1); in tests() 33 ASSERT_LONG_EQ(convtime("90m"), 5400); in tests() 34 ASSERT_LONG_EQ(convtime("1h30m"), 5400); in tests() 35 ASSERT_LONG_EQ(convtime("2d"), 172800); in tests() 36 ASSERT_LONG_EQ(convtime("1w"), 604800); in tests() 39 ASSERT_LONG_EQ(convtime("-7"), -1); in tests() 40 ASSERT_LONG_EQ(convtime("-9d"), -1); in tests() 44 ASSERT_LONG_EQ(convtime(buf), -1); in tests() [all …]
|
/external/openssh/ |
D | misc.h | 57 long convtime(const char *);
|
D | ssh-add.c | 549 if ((lifetime = convtime(optarg)) == -1) { in main()
|
D | ssh-keyscan.c | 731 timeout = convtime(optarg); in main()
|
D | misc.c | 307 convtime(const char *s) in convtime() function
|
D | ssh-keygen.c | 1702 if ((secs = convtime(s + 1)) == -1) in parse_relative_time() 1752 if ((secs = convtime(timespec + 1)) == -1) in parse_cert_times()
|
D | readconf.c | 886 else if ((value = convtime(arg)) == -1) in process_config_line_depth() 1431 else if ((value2 = convtime(arg)) >= 0) in process_config_line_depth()
|
D | ssh-agent.c | 1282 if ((lifetime = convtime(optarg)) == -1) { in main()
|
D | sshd.c | 1526 if ((options.login_grace_time = convtime(optarg)) == -1) {
|
D | servconf.c | 1044 if ((value = convtime(arg)) == -1) in process_server_config_line()
|
D | ChangeLog | 186 Add unit test for convtime(). 206 Fix convtime() overflow test on boundary condition, 218 convtime(). Reported by nicolas.iooss at m4x.org, ok djm@
|