Searched refs:SECSPERDAY (Results 1 – 14 of 14) sorted by relevance
206 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 …]
59 #define SECSPERDAY (24 * SECSPERHOUR) macro116 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()
106 #define SECSPERDAY ((long)SECSPERHOUR * HOURSPERDAY) macro157 #define SECS_PER_DAY SECSPERDAY
1003 #define DC_SPY (SECSPERDAY * DAYSPERNYEAR)1004 #define DC_SPW (SECSPERDAY * DAYSPERWEEK)1005 #define DC_SPD SECSPERDAY
1286 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 …]
176 #define SECSPERDAY ((time_t)SECSPERHOUR * HOURSPERDAY) macro224 #define SECS_PER_DAY SECSPERDAY
697 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 …]
68 #ifndef SECSPERDAY69 #define SECSPERDAY ((long)SECSPERHOUR * HOURSPERDAY) macro71 #define SECSPERNYEAR (SECSPERDAY * DAYSPERNYEAR)72 #define SECSPERLYEAR (SECSPERNYEAR + SECSPERDAY)
183 #define SECSPERDAY (24L * 60L * 60L) macro668 Julian *= SECSPERDAY;705 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);706 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
48 #define SECSPERDAY (24L * 60L * 60L) macro548 Julian *= SECSPERDAY;585 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);586 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
49 #define MAPPING_UPDATE_INTERVAL (SECSPERDAY) /* frequency of updates to */
203 *ltime = num * SECSPERDAY; in str2lifetime()
617 *ltime = SECSPERDAY * DAYSPERNYEAR; in Str2Lifetime()627 *ltime = num * SECSPERDAY; in Str2Lifetime()633 *ltime = num * SECSPERDAY * DAYSPERNYEAR; in Str2Lifetime()
1195 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;