/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 950628-1.c | 3 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 D | 950628-1.c | 3 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 D | 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 [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/duration/arithmetic/ |
H A D | dr934-1.cc | 26 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 D | ns_ttl.c | 56 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 D | ns_ttl.c | 61 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 D | dump.c | 112 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 D | ttl.c | 84 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 D | mail_conf_time.c | 39 /* (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 D | 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);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | progressmeter.c | 130 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 D | refclock_chronolog.c | 180 int hours; /* hour-of-day */ local 230 &hours,&minutes,&seconds) == 3) 250 local.tm_hour = hours; 279 pp->hour = hours;
|
H A D | refclock_dumbclock.c | 204 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 D | rusers.c | 191 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 D | printquota.c | 102 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 D | rwhod.c | 590 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 D | getdate.y | 802 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 D | mktime.c | 188 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 D | config.c | 169 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 D | dm.c | 283 static const char *const hours[] = { local 292 return (hours[h]);
|
/netbsd-6-1-5-RELEASE/bin/ps/ |
H A D | print.c | 851 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 D | misc.c | 571 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 D | curses.c | 754 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 D | raidctl.c | 1101 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 D | mmcformat.c | 66 int hours, minutes, seconds; local 77 hours = (int) (eta/3600); 80 printf(" ETA %02d:%02d:%02d", hours, minutes, seconds);
|