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

12

/openbsd-current/usr.bin/w/
H A Dextern.h40 #define SECSPERDAY (24 * 60 * 60) macro
H A Dpr_time.c58 if (diff > SECSPERDAY * 7)
83 int days = idle / SECSPERDAY;
H A Dw.c445 days = uptime / SECSPERDAY;
446 uptime %= SECSPERDAY;
/openbsd-current/usr.bin/finger/
H A Dfinger.h41 #define SECSPERDAY (24 * 60 * 60) macro
42 #define SIXMONTHS (SECSPERDAY * 365 / 2)
H A Dsprint.c104 if (now - w->loginat < SECSPERDAY * 6)
/openbsd-current/lib/libc/time/
H A Dtzfile.h127 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
H A Dlocaltime.c796 ** add SECSPERDAY times the day number-1 to the time of
799 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
801 value += SECSPERDAY;
807 ** Just add SECSPERDAY times the day number to the time of
810 value = janfirst + rulep->r_day * SECSPERDAY;
819 value += mon_lengths[leapyear][i] * SECSPERDAY;
852 value += d * SECSPERDAY;
991 SECSPERDAY;
1447 tdays = *timep / SECSPERDAY;
1448 rem = *timep - tdays * SECSPERDAY;
[all...]
/openbsd-current/usr.bin/find/
H A Dfind.h136 #define SECSPERDAY (24 * 60 * 60) macro
137 #define SIXMONTHS (SECSPERDAY * 365 / 2)
H A Dfunction.c207 SECSPERDAY - 1) / SECSPERDAY, plan->sec_data);
262 SECSPERDAY - 1) / SECSPERDAY, plan->sec_data);
1108 COMPARE((now - entry->fts_statp->st_mtime + SECSPERDAY - 1) /
1109 SECSPERDAY, plan->sec_data);
/openbsd-current/lib/libutil/
H A Dcheck_expire.c54 #define SECSPERDAY (24 * 60 * 60) macro
55 #define TWOWEEKS (2 * 7 * SECSPERDAY)
/openbsd-current/usr.bin/calendar/
H A Dcalendar.h101 #define SECSPERDAY (24 * 60 * 60) macro
H A Dcalendar.c144 f_time -= SECSPERDAY * f_dayBefore;
245 if (time(NULL) - t >= SECSPERDAY)
H A Dday.c457 tmp->when = f_time - 1 * SECSPERDAY;
461 tmp->when = f_time + v2 * SECSPERDAY;
547 tdiff = difftime(ttmp, f_time)/ SECSPERDAY;
/openbsd-current/usr.bin/last/
H A Dlast.c93 #define SECSPERDAY (24 * 60 * 60) macro
373 if (delta < SECSPERDAY)
379 (long long)delta / SECSPERDAY,
396 if ((total / SECSPERDAY) > 0) {
397 int days = (total / SECSPERDAY);
398 total -= (days * SECSPERDAY);
/openbsd-current/usr.bin/vacation/
H A Dvacation.c85 #define SECSPERDAY (24 * 60 * 60) macro
113 interval = atol(optarg) * SECSPERDAY;
395 next = SECSPERDAY * 7;
/openbsd-current/bin/pax/
H A Dgen_subs.c61 #define SECSPERDAY (24 * 60 * 60) macro
62 #define SIXMONTHS (SECSPERDAY * 365 / 2)
/openbsd-current/usr.sbin/zdump/
H A Dzdump.c36 #define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) macro
37 #define SECSPERNYEAR (SECSPERDAY * DAYSPERNYEAR)
38 #define SECSPERLYEAR (SECSPERNYEAR + SECSPERDAY)
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dgetdate.y89 #define SECSPERDAY (24L * 60L * 60L)
640 Julian *= SECSPERDAY;
677 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
678 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/openbsd-current/usr.bin/rcs/
H A Ddate.y27 #define SECSPERDAY (24L * 60L * 60L)
573 julian *= SECSPERDAY;
606 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
607 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/openbsd-current/usr.bin/cvs/
H A Ddate.y26 #define SECSPERDAY (24L * 60L * 60L)
568 julian *= SECSPERDAY;
601 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
602 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
/openbsd-current/bin/ls/
H A Dprint.c66 #define SECSPERDAY (24 * 60 * 60) macro
67 #define SIXMONTHS (SECSPERDAY * 365 / 2)
/openbsd-current/sbin/dump/
H A Doptr.c367 #define SECSPERDAY (24 * 60 * 60) macro
406 dtwalk->dd_ddate < tnow - (dt->fs_freq * SECSPERDAY));
/openbsd-current/bin/ps/
H A Dprint.c523 #define SECSPERDAY (24 * 60 * 60) macro
535 } else if (now - kp->p_ustart_sec < 7 * SECSPERDAY) {
585 days = secs / SECSPERDAY;
586 secs %= SECSPERDAY;
/openbsd-current/usr.bin/login/
H A Dlogin.c119 #define SECSPERDAY (24 * 60 * 60) macro
120 #define TWOWEEKS (2 * 7 * SECSPERDAY)
/openbsd-current/sbin/savecore/
H A Dsavecore.c625 #define SECSPERDAY (24 * 60 * 60) macro
626 #define LEEWAY (7 * SECSPERDAY)

Completed in 306 milliseconds

12