| /src/usr.bin/leave/ |
| leave.c | 74 int hours, minutes; local 101 for (hours = 0; (c = *cp) && c != '\n'; ++cp) { 104 hours = hours * 10 + (c - '0'); 106 minutes = hours % 100; 107 hours /= 100; 112 secs = (hours * HOUR) + (minutes * MINUTE); 114 if (hours > 23) 118 if (hours >= 12) 119 hours -= 12 [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/migrate2kasp/ |
| tests_migrate2kasp.py | 55 "dnskey-ttl": timedelta(hours=1), 59 "parent-propagation-delay": timedelta(hours=1), 60 "publish-safety": timedelta(hours=1), 61 "retire-safety": timedelta(hours=1), 72 "parent-propagation-delay": timedelta(hours=1), 73 "publish-safety": timedelta(hours=1), 74 "retire-safety": timedelta(hours=1), 84 "max-zone-ttl": timedelta(hours=11), 85 "parent-propagation-delay": timedelta(hours=1), 86 "publish-safety": timedelta(hours=1) [all...] |
| /src/lib/libc/nameser/ |
| ns_ttl.c | 62 int secs, mins, hours, days, weeks, x; local 67 hours = (int)(src % 24); src /= 24; 80 if (hours) { 81 T(fmt1(hours, 'H', &dst, &dstlen)); 88 if (secs || !(weeks || days || hours || mins)) {
|
| /src/external/bsd/libbind/dist/nameser/ |
| ns_ttl.c | 56 int secs, mins, hours, days, weeks, x; local 61 hours = src % 24; src /= 24; 74 if (hours) { 75 T(fmt1(hours, 'H', &dst, &dstlen)); 82 if (secs || !(weeks || days || hours || mins)) {
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| CachePruning.h | 37 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 66 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
| /src/external/mpl/bind/dist/bin/tests/system/rollover/ |
| common.py | 51 "PT1H": timedelta(hours=1), 52 "PT2H": timedelta(hours=2), 53 "PT6H": timedelta(hours=6), 54 "PT12H": timedelta(hours=12),
|
| tests_rollover_manual.py | 98 "dnskey-ttl": timedelta(hours=1), 101 "parent-propagation-delay": timedelta(hours=1), 102 "publish-safety": timedelta(hours=1), 103 "retire-safety": timedelta(hours=1), 248 zoffset = -int(timedelta(hours=2).total_seconds())
|
| /src/external/mpl/bind/dist/lib/dns/ |
| ttl.c | 71 unsigned int secs, mins, hours, days, weeks, x; local 77 hours = src % 24; 94 if (hours != 0) { 95 RETERR(ttlfmt(hours, "hour", verbose, x > 0, target)); 102 if (secs != 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0)) {
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| ttl.c | 78 unsigned secs, mins, hours, days, weeks, x; local 84 hours = src % 24; 101 if (hours != 0) { 102 RETERR(ttlfmt(hours, "hour", verbose, (x > 0), target)); 109 if (secs != 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0)) {
|
| /src/external/public-domain/tz/dist/ |
| ziguard.awk | 27 sign, hours, minutes) 30 hours = +field 35 return 60 * hours + sign * minutes 41 hours, minutes, sign) 43 hours = int(offset / 60) 46 return sprintf("%+.4d", hours * 100 + minutes); 48 return sprintf("%+.2d", hours)
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| mail_conf_time.c | 45 /* (seconds), m (minutes), h (hours), d (days) or w (weeks). 238 static int hours; local 244 "hours", "10h", &hours, 0, 0, 253 vstream_printf("10 hours = %d\n", hours);
|
| /src/usr.bin/ruptime/ |
| ruptime.c | 191 int days, hours, minutes; local 199 hours = minutes / MINSPERHOUR; 201 days = hours / HOURSPERDAY; 202 hours %= HOURSPERDAY; 205 "%s%4d+%02d:%02d", updown, days, hours, minutes); 208 "%s %2d:%02d", updown, hours, minutes);
|
| /src/crypto/external/bsd/openssh/dist/ |
| progressmeter.c | 136 int hours, minutes, seconds; local 221 hours = seconds / 3600; 222 seconds -= hours * 3600; 226 if (hours != 0) { 228 hours, minutes, seconds);
|
| /src/external/bsd/nsd/dist/simdzone/src/generic/ |
| time.h | 75 const uint64_t hours = days * 24 + hour; local 76 const uint64_t minutes = hours * 60 + min;
|
| /src/usr.bin/rusers/ |
| rusers.c | 191 unsigned int days, hours; local 195 hours = minutes / 60; 200 else if (hours > 0) 202 hours, minutes);
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_chronolog.c | 180 int hours; /* hour-of-day */ local 230 &hours,&minutes,&seconds) == 3) 250 local.tm_hour = hours; 279 pp->hour = hours;
|
| refclock_dumbclock.c | 197 int hours; /* hour-of-day */ local 235 &hours,&minutes,&seconds) == 3) 258 asserted_tm.tm_hour = hours;
|
| /src/external/mpl/bind/dist/bin/tests/system/nsec3/ |
| common.py | 46 "dnskey-ttl": timedelta(hours=1), 49 "parent-propagation-delay": timedelta(hours=1), 50 "publish-safety": timedelta(hours=1), 51 "retire-safety": timedelta(hours=1),
|
| /src/external/mpl/bind/dist/bin/tests/system/rollover-multisigner/ |
| tests_rollover_multisigner.py | 99 "dnskey-ttl": timedelta(hours=1), 102 "parent-propagation-delay": timedelta(hours=1), 103 "publish-safety": timedelta(hours=1), 104 "retire-safety": timedelta(hours=1),
|
| /src/usr.bin/quota/ |
| printquota.c | 102 time_t years, months, weeks, days, hours, minutes; local 110 hours = (seconds + HOUR / 2) / HOUR; 128 if (hours > 36) {
|
| /src/usr.sbin/rwhod/ |
| rwhod.c | 591 int days, hours, minutes; local 598 hours = minutes / 60; minutes %= 60; 599 days = hours / 24; hours %= 24; 602 updown, days, hours, minutes); 605 updown, hours, minutes);
|
| /src/external/gpl2/xcvs/dist/lib/ |
| getdate.y | 802 to_hour (long int hours, int meridian) 808 return 0 <= hours && hours < 24 ? hours : -1; 810 return 0 < hours && hours < 12 ? hours : hours == 12 ? 0 : -1; 812 return 0 < hours && hours < 12 ? hours + 12 : hours == 12 ? 12 : -1 [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rollover-ksk-3crowd/ |
| tests_rollover_three_is_a_crowd.py | 37 OFFSET2 = -int(timedelta(hours=27).total_seconds())
|
| /src/games/dm/ |
| dm.c | 283 static const char *const hours[] = { local 292 return (hours[h]);
|
| /src/external/mpl/bind/dist/bin/tests/system/kasp/ |
| tests_kasp.py | 94 "parent-propagation-delay": timedelta(hours=1), 95 "publish-safety": timedelta(hours=1), 96 "retire-safety": timedelta(hours=1), 107 "parent-propagation-delay": timedelta(hours=1), 108 "publish-safety": timedelta(hours=1), 109 "retire-safety": timedelta(hours=1), 508 "parent-propagation-delay": timedelta(hours=1), 509 "publish-safety": timedelta(hours=1), 510 "retire-safety": timedelta(hours=1), 1323 publish = key.get_timing("Publish") + timedelta(hours=1 [all...] |