/freebsd-9.3-release/sys/boot/ia64/ski/ |
H A D | time.c | 58 #define SECSPERDAY (24 * SECSPERHOUR) macro 131 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); 139 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY); 146 UTime += (((ETime->Day > 0) ? ETime->Day-1:0) * SECSPERDAY);
|
/freebsd-9.3-release/contrib/ntp/libparse/ |
H A D | gpstolfp.c | 53 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */
|
/freebsd-9.3-release/sys/boot/efi/libefi/ |
H A D | time.c | 59 #define SECSPERDAY (24 * SECSPERHOUR) macro 121 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); 129 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY); 136 UTime += (((ETime->Day > 0) ? ETime->Day-1:0) * SECSPERDAY);
|
/freebsd-9.3-release/contrib/ntp/tests/libntp/ |
H A D | test-libntp.c | 26 nowtime = days * SECSPERDAY + secs;
|
H A D | clocktime.c | 240 TEST_ASSERT_TRUE(isLE(diff, (183u * SECSPERDAY)));
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | calyearstart.c | 34 return (u_int32)(ndays * SECSPERDAY); 53 return (u_int32)(ndays * SECSPERDAY); 72 return (u_int32)(ndays * SECSPERDAY);
|
H A D | clocktime.c | 26 #define NEARTIME (182u * SECSPERDAY) 148 return days * SECSPERDAY;
|
H A D | mktime.c | 86 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
|
/freebsd-9.3-release/contrib/ntp/tests/ntpd/ |
H A D | leapsec.c | 547 rc = leapsec_query(&qr, lsec2009 - 60*SECSPERDAY, NULL); 568 rc = leapsec_query(&qr, lsec2009 - 7*SECSPERDAY, NULL); 724 rc = leapsec_query(&qr, lsec2009-SECSPERDAY, NULL); 750 rc = leapsec_query(&qr, lsec2009-SECSPERDAY, NULL); 789 rc = leapsec_add_dyn(TRUE, insns[idx] - 20*SECSPERDAY - 100, NULL); 793 rc = leapsec_add_dyn(TRUE, insns[0] - 20*SECSPERDAY - 100, NULL); 829 insns[idx].tt - 20*SECSPERDAY - 100, 830 insns[idx].tt + SECSPERDAY, 839 insns[idx].tt + SECSPERDAY, 847 insns[0].tt + SECSPERDAY, [all...] |
/freebsd-9.3-release/contrib/tzcode/stdtime/ |
H A D | tzfile.h | 139 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
|
H A D | localtime.c | 908 ** add SECSPERDAY times the day number-1 to the time of 911 value = janfirst + (rulep->r_day - 1) * SECSPERDAY; 913 value += SECSPERDAY; 919 ** Just add SECSPERDAY times the day number to the time of 922 value = janfirst + rulep->r_day * SECSPERDAY; 931 value += mon_lengths[leapyear][i] * SECSPERDAY; 964 value += d * SECSPERDAY; 1105 SECSPERDAY; 1658 tdays = *timep / SECSPERDAY; 1659 rem = *timep - tdays * SECSPERDAY; [all...] |
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | ntp_calendar.h | 90 #define SECSPERDAY (SECSPERHR * HRSPERDAY) macro 91 #define SECSPERWEEK (DAYSPERWEEK * SECSPERDAY) 92 #define SECSPERYEAR (365 * SECSPERDAY) /* regular year */ 93 #define SECSPERLEAPYEAR (366 * SECSPERDAY) /* leap year */
|
H A D | ntp_unixtime.h | 45 #define JAN_1970 ((u_int)NTP_TO_UNIX_DAYS * (u_int)SECSPERDAY)
|
/freebsd-9.3-release/usr.bin/calendar/ |
H A D | day.c | 60 time1 = now - SECSPERDAY * before; 63 time2 = now + SECSPERDAY * after;
|
H A D | pom.c | 191 p1 = onday + (period / SECSPERDAY); 196 p2 = p1 + (2.0 / SECSPERDAY); 202 p1 += (period / SECSPERDAY); 204 p1 -= (period / SECSPERDAY);
|
H A D | calendar.h | 35 #define SECSPERDAY (24 * 60 * 60) macro
|
H A D | sunpos.c | 238 dial = SECSPERDAY; 239 s = SECSPERDAY / 2; 277 dial = SECSPERDAY; 278 s = SECSPERDAY / 2;
|
/freebsd-9.3-release/usr.bin/finger/ |
H A D | sprint.c | 127 #define SECSPERDAY 86400 macro 130 if (now - w->loginat < SECSPERDAY * (DAYSPERWEEK - 1)) { 137 if (now - w->loginat >= SECSPERDAY * DAYSPERNYEAR / 2) {
|
/freebsd-9.3-release/contrib/tnftp/src/ |
H A D | progressbar.c | 338 if (remaining > SECSPERDAY) { 341 days = remaining / SECSPERDAY; 342 remaining %= SECSPERDAY;
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 159 gen->id_hi = (u_int32)(gen->id_lo + SECSPERDAY); 169 gen->id_hi = (u_int32)(gen->id_lo + 7 * SECSPERDAY); 195 gen->id_lo = current_time - (current_time % SECSPERDAY); 196 gen->id_hi = gen->id_lo + SECSPERDAY;
|
H A D | refclock_dumbclock.c | 281 asserted_time -= SECSPERDAY; /* local clock behind real time */ 285 asserted_time += SECSPERDAY; /* local clock ahead of real time */
|
H A D | refclock_nmea.c | 1613 if (fcnt != 3 || wd->wt_week >= 1024 || secs >= 7*SECSPERDAY) { 1659 rec_qw = ntpcal_ntp_to_ntp(rec_ui - SECSPERDAY/2, NULL); 1663 SECSPERDAY); 1744 doff = (doff >= SECSPERDAY) - (doff < 0); 1832 while (gps_sec >= SECSPERDAY) { 1833 gps_sec -= SECSPERDAY; 1837 gps_sec += SECSPERDAY;
|
/freebsd-9.3-release/contrib/cvs/lib/ |
H A D | getdate.y | 89 #define SECSPERDAY (24L * 60L * 60L) 661 Julian *= SECSPERDAY; 698 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 699 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
|
/freebsd-9.3-release/usr.bin/find/ |
H A D | getdate.y | 75 #define SECSPERDAY (24L * 60L * 60L) 612 Julian *= SECSPERDAY; 644 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 645 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
|
/freebsd-9.3-release/usr.sbin/fifolog/lib/ |
H A D | getdate.y | 37 #define SECSPERDAY (24L * 60L * 60L) 599 Julian *= SECSPERDAY; 633 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 634 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
|