Home
last modified time | relevance | path

Searched refs:SECSPERDAY (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c206 result->tm_wday = tsec / SECSPERDAY; in smb_gmtime_r()
210 while (tsec >= (isleap(year) ? (SECSPERDAY * DAYSPERLYEAR) : in smb_gmtime_r()
211 (SECSPERDAY * DAYSPERNYEAR))) { in smb_gmtime_r()
213 tsec -= SECSPERDAY * DAYSPERLYEAR; in smb_gmtime_r()
215 tsec -= SECSPERDAY * DAYSPERNYEAR; in smb_gmtime_r()
221 result->tm_yday = tsec / SECSPERDAY; in smb_gmtime_r()
224 sec_per_month = days_in_month[month] * SECSPERDAY; in smb_gmtime_r()
227 sec_per_month += SECSPERDAY; in smb_gmtime_r()
236 result->tm_mday = (tsec / SECSPERDAY) + 1; in smb_gmtime_r()
237 tsec %= SECSPERDAY; in smb_gmtime_r()
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Dtime.c59 #define SECSPERDAY (24 * SECSPERHOUR) macro
116 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
121 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
126 CumulativeDays[lyear][efi_time->Month] * SECSPERDAY) { in to_efi_time()
131 time -= CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
133 for (efi_time->Day = 0; time > SECSPERDAY; efi_time->Day++) in to_efi_time()
134 time -= SECSPERDAY; in to_efi_time()
174 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); in from_efi_time()
183 SECSPERDAY); in from_efi_time()
191 UTime += (((ETime->Day > 0) ? ETime->Day-1:0) * SECSPERDAY); in from_efi_time()
/illumos-gate/usr/src/uts/common/sys/
H A Dtzfile.h106 #define SECSPERDAY ((long)SECSPERHOUR * HOURSPERDAY) macro
157 #define SECS_PER_DAY SECSPERDAY
H A Depm.h1003 #define DC_SPY (SECSPERDAY * DAYSPERNYEAR)
1004 #define DC_SPW (SECSPERDAY * DAYSPERWEEK)
1005 #define DC_SPD SECSPERDAY
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c1286 result->tm_wday = tsec / SECSPERDAY; in smb_gmtime_r()
1290 while (tsec >= (isleap(year) ? (SECSPERDAY * DAYSPERLYEAR) : in smb_gmtime_r()
1291 (SECSPERDAY * DAYSPERNYEAR))) { in smb_gmtime_r()
1293 tsec -= SECSPERDAY * DAYSPERLYEAR; in smb_gmtime_r()
1295 tsec -= SECSPERDAY * DAYSPERNYEAR; in smb_gmtime_r()
1301 result->tm_yday = tsec / SECSPERDAY; in smb_gmtime_r()
1304 sec_per_month = days_in_month[month] * SECSPERDAY; in smb_gmtime_r()
1307 sec_per_month += SECSPERDAY; in smb_gmtime_r()
1316 result->tm_mday = (tsec / SECSPERDAY) + 1; in smb_gmtime_r()
1317 tsec %= SECSPERDAY; in smb_gmtime_r()
[all …]
/illumos-gate/usr/src/head/
H A Dtzfile.h176 #define SECSPERDAY ((time_t)SECSPERHOUR * HOURSPERDAY) macro
224 #define SECS_PER_DAY SECSPERDAY
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c697 SECSPERDAY * (tmptr->tm_mday - 1); in mktime1()
720 (long long)SECSPERDAY * DAYS_SINCE_70(cached_year); in mktime1()
725 t += SECSPERDAY * __lyday_to_month[tmptr->tm_mon]; in mktime1()
727 t += SECSPERDAY * __yday_to_month[tmptr->tm_mon]; in mktime1()
1196 days = t / SECSPERDAY; in offtime_u()
1197 rem = t % SECSPERDAY; in offtime_u()
1200 rem += SECSPERDAY; in offtime_u()
1203 while (rem >= SECSPERDAY) { in offtime_u()
1204 rem -= SECSPERDAY; in offtime_u()
1265 jan01 = t - ((gmttm.tm_yday * SECSPERDAY) + in posix_check_dst()
[all …]
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c68 #ifndef SECSPERDAY
69 #define SECSPERDAY ((long)SECSPERHOUR * HOURSPERDAY) macro
71 #define SECSPERNYEAR (SECSPERDAY * DAYSPERNYEAR)
72 #define SECSPERLYEAR (SECSPERNYEAR + SECSPERDAY)
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y183 #define SECSPERDAY (24L * 60L * 60L) macro
668 Julian *= SECSPERDAY;
705 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
706 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/illumos-gate/usr/src/cmd/backup/lib/
H A Dgetdate.y48 #define SECSPERDAY (24L * 60L * 60L) macro
548 Julian *= SECSPERDAY;
585 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
586 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslogd.h49 #define MAPPING_UPDATE_INTERVAL (SECSPERDAY) /* frequency of updates to */
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dutil.c203 *ltime = num * SECSPERDAY; in str2lifetime()
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c617 *ltime = SECSPERDAY * DAYSPERNYEAR; in Str2Lifetime()
627 *ltime = num * SECSPERDAY; in Str2Lifetime()
633 *ltime = num * SECSPERDAY * DAYSPERNYEAR; in Str2Lifetime()
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c1195 if (dayoff < min_time / SECSPERDAY) {
1199 if (dayoff > max_time / SECSPERDAY) {
1203 t = (zic_t)dayoff * SECSPERDAY;
2225 if (dayoff < min_time / SECSPERDAY)
2227 if (dayoff > max_time / SECSPERDAY)
2229 t = (zic_t)dayoff * SECSPERDAY;