HomeSort by: relevance | last modified time | path
    Searched refs:hours (Results 1 - 19 of 19) sorted by relevancy

  /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/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/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/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.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/games/dm/
dm.c 283 static const char *const hours[] = { local
292 return (hours[h]);
  /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/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/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/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.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/lib/libc/time/
tzselect.ksh 479 'AEST and is 10 hours'
zdump.c 819 long hours = a->tm_hour - b->tm_hour + 24 * days;
820 long minutes = a->tm_min - b->tm_min + 60 * hours;
zic.c 2108 warning(_("values over 24 hours not handled by pre-2007 versions of zic"));
3166 register int hours; local
3180 hours = offset;
3181 if (hours >= HOURSPERDAY * DAYSPERWEEK) {
3185 len += snprintf(result + len, resultlen - len, "%d", 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);
  /src/bin/csh/
func.c 1199 limtail(cp, "hours");
  /src/sys/sys/
videoio.h 1785 u_int8_t hours; member in struct:v4l2_timecode

Completed in 59 milliseconds