| /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/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/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/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/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/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/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/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/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/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/games/dm/ |
| dm.c | 283 static const char *const hours[] = { local 292 return (hours[h]);
|
| /src/sys/dev/pci/ixgbe/ |
| if_bypass.c | 661 u32 mon, days, hours, min, sec; local 691 hours = time / (60 * 60); 697 mon, days, hours, min, sec, event_str[event],
|
| /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/usr.sbin/envstat/ |
| config.c | 246 bool minutes, hours; local 248 minutes = hours = false; 251 * Check what was specified: seconds, minutes or hours. 260 hours = true; 289 else if (hours) {
|
| /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/cron/dist/ |
| misc.c | 567 int hours = gmtoff / SECONDS_PER_HOUR; local 568 int minutes = (gmtoff - (hours * SECONDS_PER_HOUR)) / SECONDS_PER_MINUTE; 575 (void)snprintf(strchr(ret, '?'), "% .2d%.2d", hours, minutes);
|
| /src/usr.sbin/mmcformat/ |
| mmcformat.c | 69 int hours, minutes, seconds; local 80 hours = (int) (eta/3600); 83 printf(" ETA %02d:%02d:%02d", hours, minutes, seconds);
|
| /src/crypto/external/bsd/netpgp/dist/src/lib/ |
| packet-print.c | 210 int mins, hours, days, years; local 217 hours = mins / 60; 218 days = hours / 24; 226 } else if (hours) { 227 printf("%d %s", hours, hours == 1 ? "hour" : "hours");
|
| /src/external/bsd/unbound/dist/sldns/ |
| parseutil.c | 76 time_t hours; local 89 hours = days * 24 + tm->tm_hour; 90 minutes = hours * 60 + tm->tm_min;
|
| /src/external/public-domain/xz/dist/src/xz/ |
| message.c | 389 // 9999 hours = 416 days 403 const uint32_t hours = minutes / 60; local 407 hours, minutes, seconds); 470 // A maximum of 9 hours and 50 minutes left. 477 // A maximum of 23 hours remaining. 483 // A maximum of 9 days and 23 hours remaining.
|
| /src/bin/ps/ |
| print.c | 861 int32_t origseconds, secs, mins, hours, days; local 884 hours = mins / MINSPERHOUR; 886 days = hours / HOURSPERDAY; 887 hours %= HOURSPERDAY; 900 } else if (hours > 0) { 902 fmtlen = iwidth(hours) + 6; 925 (void)printf("-%.*d", fmtlen - 7, hours); 927 } else if (hours > 0) { 928 (void)printf("%*d", fmtlen - 6, hours);
|
| /src/sbin/raidctl/ |
| raidctl.c | 1191 int minutes, seconds, hours; local 1200 hours = minutes / 60; 1201 minutes = minutes - 60*hours; 1213 if (hours > 0) { 1215 "%02d:",hours);
|
| /src/usr.sbin/arp/ |
| arp.c | 880 int days, hours, mins, secs; local 887 hours = (total / 3600) % 24; 898 if (!first || hours) { 900 n = snprintf(p, (size_t)(ep - p), "%dh", hours);
|
| /src/usr.sbin/ndp/ |
| ndp.c | 926 int days, hours, mins, secs; local 933 hours = (total / 3600) % 24; 944 if (!first || hours) { 946 n = snprintf(p, (size_t)(ep - p), "%dh", hours);
|