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

12

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D950628-1.c3 char hours, day, month; member in struct:__anon5552
11 now.hours = 1;
28 if (f ().hours != 1 || f ().day != 2 || f ().month != 3 || f ().year != 4)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D950628-1.c3 char hours, day, month; member in struct:__anon3807
11 now.hours = 1;
28 if (f ().hours != 1 || f ().day != 2 || f ().month != 3 || f ().year != 4)
/netbsd-6-1-5-RELEASE/usr.bin/leave/
H A Dleave.c74 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
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/duration/arithmetic/
H A Ddr934-1.cc26 typedef std::chrono::hours hours; typedef in class:ClockTime
31 hours hours_;
38 : hours_ (std::chrono::duration_cast<hours> (d)),
39 minutes_(std::chrono::duration_cast<minutes>(d % hours(1))),
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/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)) {
/netbsd-6-1-5-RELEASE/lib/libc/nameser/
H A Dns_ttl.c61 int secs, mins, hours, days, weeks, x; local
66 hours = src % 24; src /= 24;
79 if (hours) {
80 T(fmt1(hours, 'H', &dst, &dstlen));
87 if (secs || !(weeks || days || hours || mins)) {
/netbsd-6-1-5-RELEASE/usr.sbin/rtsold/
H A Ddump.c112 int days, hours, mins, secs; local
119 hours = (total / 3600) % 24;
130 if (!first || hours) {
132 n = snprintf(p, ep - p, "%dh", hours);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Dttl.c84 unsigned secs, mins, hours, days, weeks, x; local
88 hours = src % 24; src /= 24;
102 if (hours != 0) {
103 RETERR(ttlfmt(hours, "hour", verbose, ISC_TF(x > 0), target));
111 (weeks == 0 && days == 0 && hours == 0 && mins == 0)) {
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmail_conf_time.c39 /* (seconds), m (minutes), h (hours), d (days) or w (weeks).
210 static int hours; local
216 "hours", "10h", &hours, 0, 0,
225 vstream_printf("10 hours = %d\n", hours);
/netbsd-6-1-5-RELEASE/usr.bin/ruptime/
H A Druptime.c191 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);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dprogressmeter.c130 int hours, minutes, seconds; local
223 hours = seconds / 3600;
224 seconds -= hours * 3600;
228 if (hours != 0)
230 "%d:%02d:%02d", hours, minutes, seconds);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_chronolog.c180 int hours; /* hour-of-day */ local
230 &hours,&minutes,&seconds) == 3)
250 local.tm_hour = hours;
279 pp->hour = hours;
H A Drefclock_dumbclock.c204 int hours; /* hour-of-day */ local
242 &hours,&minutes,&seconds) == 3)
265 asserted_tm.tm_hour = hours;
/netbsd-6-1-5-RELEASE/usr.bin/rusers/
H A Drusers.c191 unsigned int days, hours; local
195 hours = minutes / 60;
200 else if (hours > 0)
202 hours, minutes);
/netbsd-6-1-5-RELEASE/usr.bin/quota/
H A Dprintquota.c102 time_t years, months, weeks, days, hours, minutes; local
110 hours = (seconds + HOUR / 2) / HOUR;
128 if (hours > 36) {
/netbsd-6-1-5-RELEASE/usr.sbin/rwhod/
H A Drwhod.c590 int days, hours, minutes; local
597 hours = minutes / 60; minutes %= 60;
598 days = hours / 24; hours %= 24;
601 updown, days, hours, minutes);
604 updown, hours, minutes);
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetdate.y802 to_hour (long int hours, int meridian)
808 return 0 <= hours && hours < 24 ? hours : -1;
810 return 0 < hours && hours < 12 ? hours : hours == 12 ? 0 : -1;
812 return 0 < hours && hours < 1
[all...]
H A Dmktime.c188 time_t hours = 24 * days + hour1 - hour0; local
189 time_t minutes = 60 * hours + min1 - min0;
/netbsd-6-1-5-RELEASE/usr.sbin/envstat/
H A Dconfig.c169 bool minutes, hours; local
171 minutes = hours = false;
174 * Check what was specified: seconds, minutes or hours.
183 hours = true;
212 else if (hours) {
/netbsd-6-1-5-RELEASE/games/dm/
H A Ddm.c283 static const char *const hours[] = { local
292 return (hours[h]);
/netbsd-6-1-5-RELEASE/bin/ps/
H A Dprint.c851 int32_t origseconds, secs, mins, hours, days; local
875 hours = mins / MINSPERHOUR;
877 days = hours / HOURSPERDAY;
878 hours %= HOURSPERDAY;
891 } else if (hours > 0) {
893 fmtlen = iwidth(hours) + 6;
916 (void)printf("-%.*d", fmtlen - 7, hours);
918 } else if (hours > 0) {
919 (void)printf("%*d", fmtlen - 6, hours);
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/
H A Dmisc.c571 int hours = gmtoff / SECONDS_PER_HOUR; local
572 int minutes = (gmtoff - (hours * SECONDS_PER_HOUR)) / SECONDS_PER_MINUTE;
579 (void)snprintf(strchr(ret, '?'), "% .2d%.2d", hours, minutes);
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnd/
H A Dcurses.c754 int hours; local
786 hours = (time_t) (uptime / (60*60)) % (60*60);
804 hours,
805 hours == 1 ? "hour" : "hours",
/netbsd-6-1-5-RELEASE/sbin/raidctl/
H A Draidctl.c1101 int minutes, seconds, hours; local
1110 hours = minutes / 60;
1111 minutes = minutes - 60*hours;
1113 if (hours > 0) {
1114 snprintf(hours_buffer,5,"%02d:",hours);
/netbsd-6-1-5-RELEASE/usr.sbin/mmcformat/
H A Dmmcformat.c66 int hours, minutes, seconds; local
77 hours = (int) (eta/3600);
80 printf(" ETA %02d:%02d:%02d", hours, minutes, seconds);

Completed in 304 milliseconds

12