Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/regress/unittests/conversion/
H A Dtests.c29 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 …]
/freebsd-12.1/contrib/sendmail/src/
H A Dreadcf.c4958 toval = convtime(val, 'm');
5028 toval = convtime(val, 'h');
5037 toval = convtime(val, 'h');
5042 toval = convtime(val, 'h');
5047 toval = convtime(val, 'h');
5052 toval = convtime(val, 'h');
5057 toval = convtime(val, 'd');
5066 toval = convtime(val, 'd');
5071 toval = convtime(val, 'd');
5076 toval = convtime(val, 'd');
[all …]
H A Dconvtime.c42 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.h2677 extern time_t convtime __P((char *, int));
H A Dmap.c215 map->map_timeout = convtime(p, 's');
1097 map->map_timeout = convtime(p, 's');
H A Dmain.c1091 QueueIntvl = convtime(optarg, 'm');
H A Ddaemon.c4201 map->map_timeout = convtime(p, 's');
H A Dmilter.c1479 m->mf_timeout[tcode] = convtime(p, 's');
H A Dqueue.c7392 qg->qg_queueintvl = convtime(p, 'm');
H A DREADME1803 convtime.c A routine to sanely process times.
/freebsd-12.1/usr.sbin/sendmail/
H A DMakefile18 convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
/freebsd-12.1/crypto/openssh/
H A Dmisc.h63 long convtime(const char *);
H A Dssh-add.c606 if ((lifetime = convtime(optarg)) == -1) { in main()
H A Dssh-keyscan.c686 timeout = convtime(optarg); in main()
H A Dssh_namespace.h193 #define convtime Fssh_convtime macro
H A Dssh-keygen.c1829 if ((secs = convtime(s + 1)) == -1) in parse_relative_time()
1845 if ((secs = convtime(timespec + 1)) == -1) in parse_cert_times()
H A Dreadconf.c909 else if ((value = convtime(arg)) == -1) in process_config_line_depth()
1456 else if ((value2 = convtime(arg)) >= 0) in process_config_line_depth()
H A Dssh-agent.c1169 if ((lifetime = convtime(optarg)) == -1) { in main()
H A Dmisc.c404 convtime(const char *s) in convtime() function
H A Dsshd.c1608 if ((options.login_grace_time = convtime(optarg)) == -1) {
H A Dservconf.c1300 if ((value = convtime(arg)) == -1) in process_server_config_line()
H A DChangeLog7246 Add unit test for convtime().
7266 Fix convtime() overflow test on boundary condition,
7278 convtime(). Reported by nicolas.iooss at m4x.org, ok djm@