HomeSort by: relevance | last modified time | path
    Searched refs:SECSPERDAY (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/external/bsd/unbound/dist/compat/
gmtime_r.c 18 #define SECSPERDAY (24*60*60)
53 days = *timep / SECSPERDAY;
54 rem = *timep % SECSPERDAY;
57 rem += SECSPERDAY;
60 while (rem >= SECSPERDAY) {
61 rem -= SECSPERDAY;
  /src/sys/arch/ia64/stand/ia64/ski/
time.c 56 #define SECSPERDAY (24 * SECSPERHOUR)
129 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY);
137 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY);
144 UTime += (((ETime->Day > 0) ? ETime->Day-1:0) * SECSPERDAY);
  /src/external/bsd/ntp/dist/libparse/
gpstolfp.c 50 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */
  /src/sys/arch/ia64/stand/efi/libefi/
time.c 56 #define SECSPERDAY (24 * SECSPERHOUR)
118 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY);
126 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY);
133 UTime += (((ETime->Day > 0) ? ETime->Day-1:0) * SECSPERDAY);
  /src/external/bsd/ntp/dist/tests/libntp/
test-libntp.c 28 nowtime = days * SECSPERDAY + secs;
clocktime.c 242 TEST_ASSERT_TRUE(isLE(diff, (183u * SECSPERDAY)));
  /src/external/bsd/ntp/dist/libntp/
calyearstart.c 36 return (u_int32)(ndays * SECSPERDAY);
55 return (u_int32)(ndays * SECSPERDAY);
74 return (u_int32)(ndays * SECSPERDAY);
clocktime.c 28 #define NEARTIME (182u * SECSPERDAY)
150 return days * SECSPERDAY;
ntp_calgps.c 66 static const int32_t limit = SECSPERDAY;
84 static const int32_t limit = 7 * SECSPERDAY;
197 static const int32_t shift = SECSPERDAY / 2;
319 ts64 = subv64u32(&ts64, (GPSNTP_DSHIFT * SECSPERDAY));
339 retv.l_ui = nd->days * (uint32_t)SECSPERDAY
471 gps.wsecs = days * SECSPERDAY + ntpcal_date_to_daysec(&cal);
588 pvi64 = addv64u32(&pvi64, (GPSNTP_DSHIFT * SECSPERDAY));
610 ts64 = addv64u32(&ts64, (GPSNTP_DSHIFT * SECSPERDAY));
632 - (uint32_t)SECSPERDAY * GPSNTP_DSHIFT;
mktime.c 88 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY)
  /src/usr.bin/w/
pr_time.c 67 if (diff > SECSPERDAY * DAYSPERWEEK) {
96 days = idle / SECSPERDAY;
  /src/external/bsd/ntp/dist/tests/ntpd/
leapsec.c 507 rc = leapsec_query(&qr, lsec2009 - 60*SECSPERDAY, NULL);
526 rc = leapsec_query(&qr, lsec2009 - 7*SECSPERDAY, NULL);
670 rc = leapsec_query(&qr, lsec2009-SECSPERDAY, NULL);
693 rc = leapsec_query(&qr, lsec2009-SECSPERDAY, NULL);
729 rc = leapsec_add_dyn(TRUE, insns[idx] - 20*SECSPERDAY - 100, NULL);
733 rc = leapsec_add_dyn(TRUE, insns[0] - 20*SECSPERDAY - 100, NULL);
767 insns[idx].tt - 20*SECSPERDAY - 100,
768 insns[idx].tt + SECSPERDAY,
777 insns[idx].tt + SECSPERDAY,
785 insns[0].tt + SECSPERDAY,
    [all...]
  /src/include/
tzfile.h 139 #define SECSPERDAY ((int_fast32_t) SECSPERHOUR * HOURSPERDAY)
  /src/usr.bin/finger/
sprint.c 129 if (now - w->loginat < SECSPERDAY * (DAYSPERWEEK - 1))
132 < SECSPERDAY * DAYSPERNYEAR / 2)
  /src/external/bsd/ntp/dist/include/
ntp_calendar.h 96 #define SECSPERDAY (SECSPERHR * HRSPERDAY)
97 #define SECSPERWEEK (DAYSPERWEEK * SECSPERDAY)
98 #define SECSPERYEAR (365 * SECSPERDAY) /* regular year */
99 #define SECSPERLEAPYEAR (366 * SECSPERDAY) /* leap year */
ntp_unixtime.h 47 #define JAN_1970 ((u_int)NTP_TO_UNIX_DAYS * (u_int)SECSPERDAY)
  /src/usr.bin/find/
ls.c 100 #define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY)
  /src/usr.bin/ftp/
progressbar.c 332 if (remaining > SECSPERDAY) {
335 days = remaining / SECSPERDAY;
336 remaining %= SECSPERDAY;
  /src/usr.bin/su/
su.c 120 time_t pw_warntime = _PASSWORD_WARNDAYS * SECSPERDAY;
238 _PASSWORD_WARNDAYS * SECSPERDAY,
239 _PASSWORD_WARNDAYS * SECSPERDAY);
427 _PASSWORD_WARNDAYS * SECSPERDAY)
  /src/external/bsd/ntp/dist/ntpd/
ntp_filegen.c 161 gen->id_hi = (u_int32)(gen->id_lo + SECSPERDAY);
171 gen->id_hi = (u_int32)(gen->id_lo + 7 * SECSPERDAY);
197 gen->id_lo = current_time - (current_time % SECSPERDAY);
198 gen->id_hi = gen->id_lo + SECSPERDAY;
refclock_dumbclock.c 277 asserted_time -= SECSPERDAY; /* local clock behind real time */
281 asserted_time += SECSPERDAY; /* local clock ahead of real time */
  /src/lib/libc/time/
zdump.c 46 #define SECSPERNYEAR (SECSPERDAY * DAYSPERNYEAR)
47 #define SECSPERLYEAR (SECSPERNYEAR + SECSPERDAY)
617 time_t newt = ((t < absolute_max_time - SECSPERDAY / 2
618 && t + SECSPERDAY / 2 < cuthitime - 1)
619 ? t + SECSPERDAY / 2
878 hi = (SECSPERDAY < hi - boundary
879 ? boundary + SECSPERDAY
881 if (SECSPERDAY < boundary - lo) {
882 lo = boundary - SECSPERDAY;
localtime.c 1663 ** add SECSPERDAY times the day number-1 to the time of
1666 value = (rulep->r_day - 1) * SECSPERDAY;
1668 value += SECSPERDAY;
1674 ** Just add SECSPERDAY times the day number to the time of
1677 value = rulep->r_day * SECSPERDAY;
1716 value = d * SECSPERDAY;
1718 value += mon_lengths[leapyear][i] * SECSPERDAY;
1834 = year_lengths[isleap(yearbeg - 1)] * SECSPERDAY;
1847 = year_lengths[isleap(yearbeg)] * SECSPERDAY;
1864 yearsecs = year_lengths[isleap(year)] * SECSPERDAY;
    [all...]
  /src/usr.bin/last/
want.c 239 if (delta < SECSPERDAY)
246 delta / SECSPERDAY,
  /src/usr.bin/vacation/
vacation.c 197 interval *= SECSPERDAY;
200 interval *= DAYSPERWEEK * SECSPERDAY;
543 next = SECSPERDAY * DAYSPERWEEK;

Completed in 212 milliseconds

1 2 3