Searched refs:hours (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dmovemail.conf4 my $hours = 3600;
25 6*$hours # q2 to q3
/freebsd-9.3-release/usr.bin/leave/
H A Dleave.c66 int hours, minutes; local
93 for (hours = 0; (c = *cp) && c != '\n'; ++cp) {
96 hours = hours * 10 + (c - '0');
98 minutes = hours % 100;
99 hours /= 100;
104 secs = hours * 60 * 60 + minutes * 60;
109 if (hours > 23)
113 if (hours > 11)
114 hours
[all...]
/freebsd-9.3-release/lib/libc/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; local
59 hours = src % 24; src /= 24;
72 if (hours) {
73 T(fmt1(hours, 'H', &dst, &dstlen));
80 if (secs || !(weeks || days || hours || mins)) {
/freebsd-9.3-release/sbin/camcontrol/
H A Dprogress.c139 char hours[12]; local
168 (void) snprintf(hours, sizeof(hours), "%2lld:", (long long)secs);
170 (void) snprintf(hours, sizeof(hours), " ");
183 hours,
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dttl.c82 unsigned secs, mins, hours, days, weeks, x; local
86 hours = src % 24; src /= 24;
100 if (hours != 0) {
101 RETERR(ttlfmt(hours, "hour", verbose, ISC_TF(x > 0), target));
109 (weeks == 0 && days == 0 && hours == 0 && mins == 0)) {
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.sched.c67 int count, hours, minutes, dif_hour, dif_min; local
140 hours = atoi(short2str(cp));
145 if ((hours < 0) || (minutes < 0) ||
146 (hours > 23) || (minutes > 59))
153 hours += 12;
157 dif_hour = hours;
161 if ((dif_hour = hours - ltp->tm_hour) < 0)
/freebsd-9.3-release/usr.sbin/rtsold/
H A Ddump.c143 int days, hours, mins, secs; local
158 hours = (tsec / 3600) % 24;
169 if (!first || hours) {
171 n = snprintf(p, ep - p, "%dh", hours);
/freebsd-9.3-release/usr.bin/ruptime/
H A Druptime.c127 int days, hours, minutes; local
135 hours = minutes / 60;
137 days = hours / 24;
138 hours %= 24;
141 "%s %3d+%02d:%02d", updown, days, hours, minutes);
144 "%s %2d:%02d", updown, hours, minutes);
/freebsd-9.3-release/crypto/openssh/
H A Dprogressmeter.c129 int hours, minutes, seconds; local
208 hours = seconds / 3600;
209 seconds -= hours * 3600;
213 if (hours != 0)
215 "%d:%02d:%02d", hours, minutes, seconds);
/freebsd-9.3-release/usr.sbin/acpi/acpiconf/
H A Dacpiconf.c89 int hours, min, amp; local
157 hours = battio.battinfo.min / 60;
159 printf("Remaining time:\t\t%d:%02d\n", hours, min);
/freebsd-9.3-release/usr.bin/rusers/
H A Drusers.c103 int days, hours, minutes, seconds; local
137 hours = seconds / (60 * 60);
145 hours, minutes, seconds);
148 days, hours, minutes, seconds);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_chronolog.c178 int hours; /* hour-of-day */ local
228 &hours,&minutes,&seconds) == 3)
248 local.tm_hour = hours;
277 pp->hour = hours;
H A Drefclock_dumbclock.c201 int hours; /* hour-of-day */ local
239 &hours,&minutes,&seconds) == 3)
262 asserted_tm.tm_hour = hours;
H A Drefclock_tsyncpci.c146 unsigned char hours; member in struct:TimeObj
615 TimeContext.timeObj.days, TimeContext.timeObj.hours,
620 pp->hour = TimeContext.timeObj.hours;
824 // Convert days, hours, minutes and seconds
/freebsd-9.3-release/sbin/dump/
H A Doptr.c68 * a large number of hours of work.
194 int deltat, hours, mins; local
208 hours = deltat / 3600;
215 disk, passno, percent, hours, mins, tdone_str);
221 hours, mins, tdone_str);
/freebsd-9.3-release/usr.sbin/repquota/
H A Drepquota.c348 time_t hours, minutes; local
360 hours = (minutes + 30) / 60;
361 if (hours >= 36) {
362 sprintf(buf, "%lddays", (long)(hours + 12) / 24);
/freebsd-9.3-release/usr.sbin/rwhod/
H A Drwhod.c693 int days, hours, minutes; local
700 hours = minutes / 60; minutes %= 60;
701 days = hours / 24; hours %= 24;
704 updown, days, hours, minutes);
707 updown, hours, minutes);
/freebsd-9.3-release/lib/libncp/
H A Dncpl_misc.c170 sTime->hours = (time >> 11) & 0x1f;
199 u_time.tm_hour = t.hours;
/freebsd-9.3-release/usr.sbin/newsyslog/
H A Dnewsyslog.c167 int hours; /* Hours between log trimming */ member in struct:conf_entry
400 tempwork->hours = src_entry->hours;
420 tempwork->hours = -1;
560 } else if (verbose && ent->hours <= 0) {
566 if (verbose && (ent->hours > 0))
567 printf(" age (hr): %d [%d] ", modtime, ent->hours);
584 } else if (ent->hours <= 0 && (ent->flags & CE_TRIMAT)) {
586 } else if ((ent->hours > 0) && ((modtime >= ent->hours) ||
[all...]
/freebsd-9.3-release/usr.sbin/rrenumd/
H A Dparser.y111 %type <num> lifetime days hours minutes seconds
594 | days hours minutes seconds
614 hours: label
/freebsd-9.3-release/sbin/ifconfig/
H A Daf_inet6.c403 int days, hours, mins, secs; local
409 hours = (total / 3600) % 24;
417 if (!first || hours) {
419 p += sprintf(p, "%dh", hours);
/freebsd-9.3-release/usr.bin/quota/
H A Dquota.c452 time_t hours, minutes; local
465 hours = (minutes + 30) / 60;
466 if (hours >= 36) {
467 if (asprintf(&buf, "%lddays", ((long)hours + 12) / 24) < 0)
/freebsd-9.3-release/bin/ps/
H A Dprint.c625 int days, hours, mins, secs; local
634 hours = val / (60 * 60);
639 asprintf(&str, "%3d-%02d:%02d:%02d", days, hours, mins, secs);
640 else if (hours != 0)
641 asprintf(&str, "%02d:%02d:%02d", hours, mins, secs);
/freebsd-9.3-release/sys/dev/hpt27xx/
H A Dosm.h120 HPT_U32 hours:6; /* 0 - 59 */ member in struct:_TIME_RECORD
/freebsd-9.3-release/sys/dev/hptmv/
H A Darray.h43 UINT hours:6; /* 0 - 59 */ member in struct:_TIME_RECORD

Completed in 296 milliseconds

12