Lines Matching refs: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()
1359 tsec += SECSPERDAY * DAYSPERLYEAR; in smb_timegm()
1361 tsec += SECSPERDAY * DAYSPERNYEAR; in smb_timegm()
1365 dd = days_in_month[mm] * SECSPERDAY; in smb_timegm()
1368 dd += SECSPERDAY; in smb_timegm()
1373 tsec += (tm->tm_mday - 1) * SECSPERDAY; in smb_timegm()