| /freebsd-12.1/crypto/openssh/regress/unittests/conversion/ |
| H A 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 …]
|
| /freebsd-12.1/contrib/sendmail/src/ |
| H A D | readcf.c | 4958 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 D | convtime.c | 42 convtime(p, units)
|
| H A D | Makefile.m4 | 9 define(`bldSOURCES', `main.c alias.c arpadate.c bf.c collect.c conf.c control.c convtime.c daemon.c…
|
| H A D | sendmail.h | 2677 extern time_t convtime __P((char *, int));
|
| H A D | map.c | 215 map->map_timeout = convtime(p, 's'); 1097 map->map_timeout = convtime(p, 's');
|
| H A D | main.c | 1091 QueueIntvl = convtime(optarg, 'm');
|
| H A D | daemon.c | 4201 map->map_timeout = convtime(p, 's');
|
| H A D | milter.c | 1479 m->mf_timeout[tcode] = convtime(p, 's');
|
| H A D | queue.c | 7392 qg->qg_queueintvl = convtime(p, 'm');
|
| H A D | README | 1803 convtime.c A routine to sanely process times.
|
| /freebsd-12.1/usr.sbin/sendmail/ |
| H A D | Makefile | 18 convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | misc.h | 63 long convtime(const char *);
|
| H A D | ssh-add.c | 606 if ((lifetime = convtime(optarg)) == -1) { in main()
|
| H A D | ssh-keyscan.c | 686 timeout = convtime(optarg); in main()
|
| H A D | ssh_namespace.h | 193 #define convtime Fssh_convtime macro
|
| H A D | ssh-keygen.c | 1829 if ((secs = convtime(s + 1)) == -1) in parse_relative_time() 1845 if ((secs = convtime(timespec + 1)) == -1) in parse_cert_times()
|
| H A D | readconf.c | 909 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 D | ssh-agent.c | 1169 if ((lifetime = convtime(optarg)) == -1) { in main()
|
| H A D | misc.c | 404 convtime(const char *s) in convtime() function
|
| H A D | sshd.c | 1608 if ((options.login_grace_time = convtime(optarg)) == -1) {
|
| H A D | servconf.c | 1300 if ((value = convtime(arg)) == -1) in process_server_config_line()
|
| H A D | ChangeLog | 7246 Add unit test for convtime(). 7266 Fix convtime() overflow test on boundary condition, 7278 convtime(). Reported by nicolas.iooss at m4x.org, ok djm@
|