Home
last modified time | relevance | path

Searched refs:convtime (Results 1 – 23 of 23) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_convtime.c34 ASSERT_INT_EQ(convtime("0"), 0); in test_convtime()
35 ASSERT_INT_EQ(convtime("1"), 1); in test_convtime()
36 ASSERT_INT_EQ(convtime("2s"), 2); in test_convtime()
37 ASSERT_INT_EQ(convtime("3m"), 180); in test_convtime()
38 ASSERT_INT_EQ(convtime("1m30"), 90); in test_convtime()
39 ASSERT_INT_EQ(convtime("1m30s"), 90); in test_convtime()
40 ASSERT_INT_EQ(convtime("1h1s"), 3601); in test_convtime()
41 ASSERT_INT_EQ(convtime("1h30m"), 90 * 60); in test_convtime()
42 ASSERT_INT_EQ(convtime("1d"), 24 * 60 * 60); in test_convtime()
43 ASSERT_INT_EQ(convtime("1w"), 7 * 24 * 60 * 60); in test_convtime()
[all …]
/freebsd/crypto/openssh/regress/unittests/conversion/
H A Dtests.c28 ASSERT_INT_EQ(convtime("0"), 0); in tests()
29 ASSERT_INT_EQ(convtime("1"), 1); in tests()
30 ASSERT_INT_EQ(convtime("1S"), 1); in tests()
32 ASSERT_INT_EQ(convtime("90m"), 5400); in tests()
33 ASSERT_INT_EQ(convtime("1h30m"), 5400); in tests()
34 ASSERT_INT_EQ(convtime("2d"), 172800); in tests()
35 ASSERT_INT_EQ(convtime("1w"), 604800); in tests()
38 ASSERT_INT_EQ(convtime("-7"), -1); in tests()
39 ASSERT_INT_EQ(convtime("-9d"), -1); in tests()
43 ASSERT_INT_EQ(convtime(buf), INT_MAX); in tests()
[all …]
/freebsd/contrib/sendmail/src/
H A Dreadcf.c1819 m->m_wait = convtime(p, 's');
3455 SafeAlias = convtime(val, 'm');
3653 MciCacheTimeout = convtime(val, 'm');
3958 MinQueueAge = convtime(val, 'm');
3962 MaxQueueAge = convtime(val, 'm');
3975 DialDelay = convtime(val, 's');
4764 DeliverByMin = convtime(val, 's');
4796 RejectLogInterval = convtime(val, 'h');
4808 ConnectionRateWindowSize = convtime(val, 's');
5399 toval = convtime(val, 'm');
[all …]
H A Dconvtime.c43 convtime(p, units)
H A DMakefile.m49 define(`bldSOURCES', `main.c alias.c arpadate.c bf.c collect.c conf.c control.c convtime.c daemon.c…
H A Dsendmail.h2879 extern time_t convtime __P((char *, int));
H A Dmap.c369 map->map_timeout = convtime(p, 's');
1335 map->map_timeout = convtime(p, 's');
H A Ddaemon.c4453 map->map_timeout = convtime(p, 's');
H A Dmain.c1124 QueueIntvl = convtime(optarg, 'm');
H A Dmilter.c1479 m->mf_timeout[tcode] = convtime(p, 's');
H A Dqueue.c7631 qg->qg_queueintvl = convtime(p, 'm');
H A DREADME1811 convtime.c A routine to sanely process times.
/freebsd/usr.sbin/sendmail/
H A DMakefile15 convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
/freebsd/crypto/openssh/
H A Dmisc.h73 int convtime(const char *);
H A Dssh-keyscan.c758 timeout = convtime(optarg); in main()
H A Dreadconf.c1134 else if ((value = convtime(arg)) == -1) { in process_config_line_depth()
1923 else if ((value2 = convtime(arg)) >= 0) in process_config_line_depth()
2260 if ((value2 = convtime(arg2)) == -1) { in process_config_line_depth()
2266 if ((value2 = convtime(arg)) == -1) { in process_config_line_depth()
H A Dssh-add.c925 if ((lifetime = convtime(optarg)) == -1 || in main()
H A Dmisc.c588 convtime(const char *s) in convtime() function
2520 if ((secs = convtime(cp)) < 0) { in parse_pattern_interval()
H A Dssh_namespace.h229 #define convtime Fssh_convtime macro
H A Dssh-keygen.c1937 if ((secs = convtime(s + 1)) == -1) in parse_relative_time()
1968 if ((secs = convtime(timespec + 1)) == -1) in parse_cert_times()
H A Dsshd.c1724 if ((options.login_grace_time = convtime(optarg)) == -1) {
H A Dssh-agent.c2300 if ((lifetime = convtime(optarg)) == -1) { in main()
H A Dservconf.c1417 if ((value = convtime(arg)) == -1) in process_server_config_line_depth()