Searched refs:SECSPERDAY (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10.1/ntp-92/include/
H A Dntp_calendar.h46 #define SECSPERDAY (SECSPERMIN*MINSPERHR*HRSPERDAY) macro
47 #define SECSPERYEAR (365 * SECSPERDAY) /* regular year */
48 #define SECSPERLEAPYEAR (366 * SECSPERDAY) /* leap year */
50 #define MAR1900 ((JAN+FEB) * SECSPERDAY) /* no leap year in 1900 */
52 #define SECSPERCYCLE (DAYSPERCYCLE*SECSPERDAY)
77 #define JANFEBNOLEAP ((JAN+FEB) * SECSPERDAY)
78 #define JANFEBLEAP ((JAN+FEBLEAP) * SECSPERDAY)
/macosx-10.10.1/ntp-92/libntp/
H A Dcalyearstart.c32 delta = (ntp_u_int32_t)jt.yearday * SECSPERDAY
36 - SECSPERDAY; /* yearday is unity-based... */
H A Dcaltontp.c101 return days * SECSPERDAY
H A Dcaljulian.c82 * SECSPERDAY (86400) == 675 * 128; we can get roughly 17000 years of
96 NTP_ENSURE(ntptime < SECSPERDAY);
97 NTP_INVARIANT((u_int32)(ntptime + ntp_day * SECSPERDAY) == (u_int32)saved_time);
H A Dmktime.c81 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
/macosx-10.10.1/Libc-1044.1.2/stdtime/FreeBSD/
H A Dtzfile.h142 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
209 #define SECS_PER_DAY SECSPERDAY
H A Dlocaltime.c951 ** add SECSPERDAY times the day number-1 to the time of
954 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
956 value += SECSPERDAY;
962 ** Just add SECSPERDAY times the day number to the time of
965 value = janfirst + rulep->r_day * SECSPERDAY;
974 value += mon_lengths[leapyear][i] * SECSPERDAY;
1007 value += d * SECSPERDAY;
1131 SECSPERDAY;
1786 days = *timep / SECSPERDAY;
1787 rem = *timep % SECSPERDAY;
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/tools/tzcode/
H A Dtzfile.h135 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
H A Dlocaltime.c833 ** add SECSPERDAY times the day number-1 to the time of
836 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
838 value += SECSPERDAY;
844 ** Just add SECSPERDAY times the day number to the time of
847 value = janfirst + rulep->r_day * SECSPERDAY;
856 value += mon_lengths[leapyear][i] * SECSPERDAY;
889 value += d * SECSPERDAY;
1028 SECSPERDAY;
1476 tdays = *timep / SECSPERDAY;
1477 rem = *timep - tdays * SECSPERDAY;
[all...]
H A Dzdump.c103 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
104 #define SECSPERNYEAR (SECSPERDAY * DAYSPERNYEAR)
105 #define SECSPERLYEAR (SECSPERNYEAR + SECSPERDAY)
/macosx-10.10.1/tcl-105/tcl84/tcl/win/
H A DtclWinTime.c17 #define SECSPERDAY (60L * 60L * 24L) macro
18 #define SECSPERYEAR (SECSPERDAY * 365L)
19 #define SECSPER4YEAR (SECSPERYEAR * 4L + SECSPERDAY)
611 if (*tp < (LONG_MAX - 2 * SECSPERDAY)
612 && *tp > (LONG_MIN + 2 * SECSPERDAY)) {
716 if (rem >= SECSPERYEAR + SECSPERDAY) { /* 1973, etc. */
718 rem -= SECSPERYEAR + SECSPERDAY;
731 tmPtr->tm_yday = rem / SECSPERDAY;
732 rem %= SECSPERDAY;
757 tmPtr->tm_wday = (long)(*tp / SECSPERDAY)
[all...]
/macosx-10.10.1/adv_cmds-158/finger/
H A Dsprint.c130 #define SECSPERDAY 86400 macro
133 if (now - w->loginat < SECSPERDAY * (DAYSPERWEEK - 1)) {
140 if (now - w->loginat >= SECSPERDAY * DAYSPERNYEAR / 2) {
/macosx-10.10.1/tcl-105/tcl/tcl/win/
H A DtclWinTime.c17 #define SECSPERDAY (60L * 60L * 24L) macro
18 #define SECSPERYEAR (SECSPERDAY * 365L)
19 #define SECSPER4YEAR (SECSPERYEAR * 4L + SECSPERDAY)
663 #define LOCALTIME_VALIDITY_BOUNDARY SECSPERDAY
680 if (*t < (LONG_MAX - 2*SECSPERDAY) && *t > (LONG_MIN + 2*SECSPERDAY)) {
784 if (rem >= SECSPERYEAR + SECSPERDAY) { /* 1973, etc. */
786 rem -= SECSPERYEAR + SECSPERDAY;
799 tmPtr->tm_yday = rem / SECSPERDAY;
800 rem %= SECSPERDAY;
[all...]
/macosx-10.10.1/lukemftp-14/tnftp/src/
H A Dprogressbar.c345 if (remaining > SECSPERDAY) {
348 days = remaining / SECSPERDAY;
349 remaining %= SECSPERDAY;
/macosx-10.10.1/ntp-92/ntpd/
H A Drefclock_dumbclock.c278 asserted_time -= SECSPERDAY; /* local clock behind real time */
282 asserted_time += SECSPERDAY; /* local clock ahead of real time */
H A Dntp_filegen.c363 new_gen = now - (now - calyearstart(now)) % TIMES7(SECSPERDAY)
389 new_gen = current_time - (current_time % SECSPERDAY);
/macosx-10.10.1/shell_cmds-179/find/
H A Dgetdate.y75 #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);
/macosx-10.10.1/sudo-73/src/
H A Dgetdate.y47 #define SECSPERDAY (24L * 60L * 60L)
602 Julian *= SECSPERDAY;
639 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
640 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
H A Dgetdate.c59 #define SECSPERDAY (24L * 60L * 60L) macro
670 Julian *= SECSPERDAY;
707 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
708 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/macosx-10.10.1/adv_cmds-158/last/
H A Dlast.c224 if (delta < SECSPERDAY)
229 delta / SECSPERDAY,
/macosx-10.10.1/file_cmds-242/pax/
H A Dgen_subs.c69 #define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY)
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A DtclGetDate.y56 #define SECSPERDAY (24L * 60L * 60L)
703 Julian *= SECSPERDAY;
746 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
747 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
H A DtclDate.c39 #define SECSPERDAY (24L * 60L * 60L) macro
484 Julian *= SECSPERDAY;
527 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
528 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/macosx-10.10.1/system_cmds-643.1.1/zic.tproj/
H A Dzic.c1140 if (dayoff < min_time / SECSPERDAY) {
1144 if (dayoff > max_time / SECSPERDAY) {
1148 t = (time_t) dayoff * SECSPERDAY;
2122 if (dayoff < min_time / SECSPERDAY)
2124 if (dayoff > max_time / SECSPERDAY)
2126 t = (time_t) dayoff * SECSPERDAY;
/macosx-10.10.1/lukemftp-14/tnftp/
H A Dtnftp.h471 #define SECSPERDAY 86400 macro

Completed in 427 milliseconds

12