Symbol: convtime
crypto/openssh/misc.c
2568
if ((secs = convtime(cp)) < 0) {
crypto/openssh/misc.h
82
int convtime(const char *);
crypto/openssh/readconf.c
1227
else if ((value = convtime(arg)) == -1) {
crypto/openssh/readconf.c
2009
else if ((value2 = convtime(arg)) >= 0)
crypto/openssh/readconf.c
2358
if ((value2 = convtime(arg2)) == -1) {
crypto/openssh/readconf.c
2364
if ((value2 = convtime(arg)) == -1) {
crypto/openssh/regress/unittests/conversion/tests.c
28
ASSERT_INT_EQ(convtime("0"), 0);
crypto/openssh/regress/unittests/conversion/tests.c
29
ASSERT_INT_EQ(convtime("1"), 1);
crypto/openssh/regress/unittests/conversion/tests.c
30
ASSERT_INT_EQ(convtime("1S"), 1);
crypto/openssh/regress/unittests/conversion/tests.c
32
ASSERT_INT_EQ(convtime("90m"), 5400);
crypto/openssh/regress/unittests/conversion/tests.c
33
ASSERT_INT_EQ(convtime("1h30m"), 5400);
crypto/openssh/regress/unittests/conversion/tests.c
34
ASSERT_INT_EQ(convtime("2d"), 172800);
crypto/openssh/regress/unittests/conversion/tests.c
35
ASSERT_INT_EQ(convtime("1w"), 604800);
crypto/openssh/regress/unittests/conversion/tests.c
38
ASSERT_INT_EQ(convtime("-7"), -1);
crypto/openssh/regress/unittests/conversion/tests.c
39
ASSERT_INT_EQ(convtime("-9d"), -1);
crypto/openssh/regress/unittests/conversion/tests.c
43
ASSERT_INT_EQ(convtime(buf), INT_MAX);
crypto/openssh/regress/unittests/conversion/tests.c
45
ASSERT_INT_EQ(convtime(buf), -1);
crypto/openssh/regress/unittests/conversion/tests.c
49
ASSERT_INT_EQ(convtime(buf), -1);
crypto/openssh/regress/unittests/conversion/tests.c
50
ASSERT_INT_EQ(convtime("1000000000000000000000w"), -1);
crypto/openssh/regress/unittests/misc/test_convtime.c
34
ASSERT_INT_EQ(convtime("0"), 0);
crypto/openssh/regress/unittests/misc/test_convtime.c
35
ASSERT_INT_EQ(convtime("1"), 1);
crypto/openssh/regress/unittests/misc/test_convtime.c
36
ASSERT_INT_EQ(convtime("2s"), 2);
crypto/openssh/regress/unittests/misc/test_convtime.c
37
ASSERT_INT_EQ(convtime("3m"), 180);
crypto/openssh/regress/unittests/misc/test_convtime.c
38
ASSERT_INT_EQ(convtime("1m30"), 90);
crypto/openssh/regress/unittests/misc/test_convtime.c
39
ASSERT_INT_EQ(convtime("1m30s"), 90);
crypto/openssh/regress/unittests/misc/test_convtime.c
40
ASSERT_INT_EQ(convtime("1h1s"), 3601);
crypto/openssh/regress/unittests/misc/test_convtime.c
41
ASSERT_INT_EQ(convtime("1h30m"), 90 * 60);
crypto/openssh/regress/unittests/misc/test_convtime.c
42
ASSERT_INT_EQ(convtime("1d"), 24 * 60 * 60);
crypto/openssh/regress/unittests/misc/test_convtime.c
43
ASSERT_INT_EQ(convtime("1w"), 7 * 24 * 60 * 60);
crypto/openssh/regress/unittests/misc/test_convtime.c
44
ASSERT_INT_EQ(convtime("1w2d3h4m5"), 788645);
crypto/openssh/regress/unittests/misc/test_convtime.c
45
ASSERT_INT_EQ(convtime("1w2d3h4m5s"), 788645);
crypto/openssh/regress/unittests/misc/test_convtime.c
47
ASSERT_INT_EQ(convtime("-1"), -1);
crypto/openssh/regress/unittests/misc/test_convtime.c
48
ASSERT_INT_EQ(convtime(""), -1);
crypto/openssh/regress/unittests/misc/test_convtime.c
49
ASSERT_INT_EQ(convtime("trout"), -1);
crypto/openssh/regress/unittests/misc/test_convtime.c
50
ASSERT_INT_EQ(convtime("-77"), -1);
crypto/openssh/regress/unittests/misc/test_convtime.c
53
ASSERT_INT_EQ(convtime(buf), INT_MAX);
crypto/openssh/regress/unittests/misc/test_convtime.c
55
ASSERT_INT_EQ(convtime(buf), -1);
crypto/openssh/regress/unittests/misc/test_convtime.c
56
ASSERT_INT_EQ(convtime("3550w5d3h14m7s"), 2147483647);
crypto/openssh/regress/unittests/misc/test_convtime.c
58
ASSERT_INT_EQ(convtime("3550w5d3h14m8s"), -1);
crypto/openssh/servconf.c
1447
if ((value = convtime(arg)) == -1)
crypto/openssh/servconf.c
2164
if (value == -1 && (value = convtime(p)) == -1) {
crypto/openssh/ssh-add.c
925
if ((lifetime = convtime(optarg)) == -1 ||
crypto/openssh/ssh-agent.c
2334
if ((lifetime = convtime(optarg)) == -1) {
crypto/openssh/ssh-keygen.c
1965
if ((secs = convtime(s + 1)) == -1)
crypto/openssh/ssh-keygen.c
1996
if ((secs = convtime(timespec + 1)) == -1)
crypto/openssh/ssh-keyscan.c
707
timeout = convtime(optarg);
crypto/openssh/sshd-auth.c
553
if ((options.login_grace_time = convtime(optarg)) == -1) {
crypto/openssh/sshd-session.c
945
if ((options.login_grace_time = convtime(optarg)) == -1) {
crypto/openssh/sshd.c
1477
if ((options.login_grace_time = convtime(optarg)) == -1) {