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

12

/freebsd-11-stable/contrib/sendmail/contrib/
H A Dmovemail.conf4 my $hours = 3600;
25 6*$hours # q2 to q3
/freebsd-11-stable/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-11-stable/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...]
/freebsd-11-stable/lib/libc/nameser/
H A Dns_ttl.c56 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)) {
/freebsd-11-stable/sbin/camcontrol/
H A Dprogress.c142 char hours[12]; local
189 (void) snprintf(hours, sizeof(hours), "%2lld:", (long long)secs);
191 (void) snprintf(hours, sizeof(hours), " ");
204 hours,
/freebsd-11-stable/contrib/ldns/ldns/
H A Dduration.h57 time_t hours; member in struct:ldns_duration_struct
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCachePruning.h36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w
65 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat_rusage.c70 int days, hours, minutes, seconds, used; local
74 hours = minutes / 60;
76 days = hours / 24;
77 hours %= 24;
85 hours, minutes, seconds, (unsigned int)tv->tv_usec);
/freebsd-11-stable/contrib/tcsh/
H A Dtc.sched.c63 int count, hours, minutes, dif_hour, dif_min; local
136 hours = atoi(short2str(cp));
141 if ((hours < 0) || (minutes < 0) ||
142 (hours > 23) || (minutes > 59))
149 hours += 12;
153 dif_hour = hours;
157 if ((dif_hour = hours - ltp->tm_hour) < 0)
/freebsd-11-stable/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-11-stable/usr.bin/ruptime/
H A Druptime.c126 int days, hours, minutes; local
134 hours = minutes / 60;
136 days = hours / 24;
137 hours %= 24;
140 "%s %4d+%02d:%02d", updown, days, hours, minutes);
143 "%s %2d:%02d", updown, hours, minutes);
/freebsd-11-stable/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-11-stable/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;
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/usr.sbin/acpi/acpiconf/
H A Dacpiconf.c91 int hours, min, amp; local
200 hours = battio.battinfo.min / 60;
202 printf("Remaining time:\t\t%d:%02d\n", hours, min);
/freebsd-11-stable/usr.sbin/rwhod/
H A Drwhod.c761 int days, hours, minutes; local
768 hours = minutes / 60;
770 days = hours / 24;
771 hours %= 24;
774 updown, days, hours, minutes);
777 updown, hours, minutes);
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c171 int hours; /* Hours between log trimming */ member in struct:conf_entry
419 tempwork->hours = src_entry->hours;
439 tempwork->hours = -1;
584 } else if (verbose && ent->hours <= 0) {
590 if (verbose && (ent->hours > 0))
591 printf(" age (hr): %d [%d] ", modtime, ent->hours);
608 } else if (ent->hours <= 0 && (ent->flags & CE_TRIMAT)) {
610 } else if ((ent->hours > 0) && ((modtime >= ent->hours) ||
[all...]
/freebsd-11-stable/usr.sbin/rrenumd/
H A Dparser.y108 %type <num> lifetime days hours minutes seconds
591 | days hours minutes seconds
611 hours: label
/freebsd-11-stable/sbin/ifconfig/
H A Daf_inet6.c390 int days, hours, mins, secs; local
396 hours = (total / 3600) % 24;
404 if (!first || hours) {
406 p += sprintf(p, "%dh", hours);
/freebsd-11-stable/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-11-stable/contrib/apr/time/unix/
H A Dtime.c261 tmpdate.tm_hour = os2time.hours;
281 os2time->hours = lt->tm_hour;
/freebsd-11-stable/bin/ps/
H A Dprint.c583 int days, hours, mins, secs; local
591 hours = val / (60 * 60);
596 asprintf(&str, "%3d-%02d:%02d:%02d", days, hours, mins, secs);
597 else if (hours != 0)
598 asprintf(&str, "%02d:%02d:%02d", hours, mins, secs);

Completed in 165 milliseconds

12