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

12

/freebsd-10.0-release/contrib/sendmail/contrib/
H A Dmovemail.conf4 my $hours = 3600;
25 6*$hours # q2 to q3
/freebsd-10.0-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-10.0-release/contrib/ldns/
H A Dduration.c66 duration->hours = 0;
99 if (d1->hours != d2->hours) {
100 return (int) (d1->hours - d2->hours);
162 duration->hours = (time_t) atoi(str+1);
238 if (duration->hours > 0) {
239 count = count + 1 + digits_in_number(duration->hours);
289 if (duration->hours > 0) {
290 count = digits_in_number(duration->hours);
[all...]
H A Dutil.c197 time_t hours; local
210 hours = days * 24 + tm->tm_hour;
211 minutes = hours * 60 + tm->tm_min;
/freebsd-10.0-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-10.0-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-10.0-release/contrib/ldns/ldns/
H A Dduration.h57 time_t hours; member in struct:ldns_duration_struct
/freebsd-10.0-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-10.0-release/usr.sbin/rtsold/
H A Ddump.c140 int days, hours, mins, secs; local
155 hours = (tsec / 3600) % 24;
166 if (!first || hours) {
168 n = snprintf(p, ep - p, "%dh", hours);
/freebsd-10.0-release/usr.bin/ruptime/
H A Druptime.c125 int days, hours, minutes; local
133 hours = minutes / 60;
135 days = hours / 24;
136 hours %= 24;
139 "%s %4d+%02d:%02d", updown, days, hours, minutes);
142 "%s %2d:%02d", updown, hours, minutes);
/freebsd-10.0-release/crypto/openssh/
H A Dprogressmeter.c128 int hours, minutes, seconds; local
207 hours = seconds / 3600;
208 seconds -= hours * 3600;
212 if (hours != 0)
214 "%d:%02d:%02d", hours, minutes, seconds);
/freebsd-10.0-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-10.0-release/contrib/ntp/ntpd/
H A Drefclock_chronolog.c178 int hours; /* hour-of-day */ local
228 &hours,&minutes,&seconds) == 3)
246 local.tm_hour = hours;
275 pp->hour = hours;
H A Drefclock_dumbclock.c206 int hours; /* hour-of-day */ local
244 &hours,&minutes,&seconds) == 3)
265 asserted_tm.tm_hour = hours;
/freebsd-10.0-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-10.0-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-10.0-release/usr.sbin/repquota/
H A Drepquota.c347 time_t hours, minutes; local
359 hours = (minutes + 30) / 60;
360 if (hours >= 36) {
361 sprintf(buf, "%lddays", (long)(hours + 12) / 24);
/freebsd-10.0-release/usr.sbin/rwhod/
H A Drwhod.c762 int days, hours, minutes; local
769 hours = minutes / 60;
771 days = hours / 24;
772 hours %= 24;
775 updown, days, hours, minutes);
778 updown, hours, minutes);
/freebsd-10.0-release/usr.sbin/bhyve/
H A Drtc.c101 uint8_t hours; member in struct:__anon11548
221 *eax = rtc_alarm.hours;
297 rtc_alarm.hours = *eax;
/freebsd-10.0-release/sbin/ifconfig/
H A Daf_inet6.c369 int days, hours, mins, secs; local
375 hours = (total / 3600) % 24;
383 if (!first || hours) {
385 p += sprintf(p, "%dh", hours);
/freebsd-10.0-release/usr.sbin/newsyslog/
H A Dnewsyslog.c167 int hours; /* Hours between log trimming */ member in struct:conf_entry
402 tempwork->hours = src_entry->hours;
422 tempwork->hours = -1;
562 } else if (verbose && ent->hours <= 0) {
568 if (verbose && (ent->hours > 0))
569 printf(" age (hr): %d [%d] ", modtime, ent->hours);
586 } else if (ent->hours <= 0 && (ent->flags & CE_TRIMAT)) {
588 } else if ((ent->hours > 0) && ((modtime >= ent->hours) ||
[all...]
/freebsd-10.0-release/usr.sbin/rrenumd/
H A Dparser.y111 %type <num> lifetime days hours minutes seconds
594 | days hours minutes seconds
614 hours: label
/freebsd-10.0-release/usr.bin/quota/
H A Dquota.c451 time_t hours, minutes; local
464 hours = (minutes + 30) / 60;
465 if (hours >= 36) {
466 if (asprintf(&buf, "%lddays", ((long)hours + 12) / 24) < 0)
/freebsd-10.0-release/contrib/apr/time/unix/
H A Dtime.c258 tmpdate.tm_hour = os2time.hours;
278 os2time->hours = lt->tm_hour;
/freebsd-10.0-release/bin/ps/
H A Dprint.c580 int days, hours, mins, secs; local
588 hours = val / (60 * 60);
593 asprintf(&str, "%3d-%02d:%02d:%02d", days, hours, mins, secs);
594 else if (hours != 0)
595 asprintf(&str, "%02d:%02d:%02d", hours, mins, secs);

Completed in 339 milliseconds

12