Searched refs:DAYSPERWEEK (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/tzcode/ |
| H A D | strftime.c | 105 const char * wday[DAYSPERWEEK]; 106 const char * weekday[DAYSPERWEEK]; 235 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 241 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 415 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() 416 t->tm_wday) / DAYSPERWEEK, in _fmt() 427 DAYSPERWEEK : t->tm_wday, in _fmt() 473 DAYSPERWEEK) - 3; in _fmt() 479 (len % DAYSPERWEEK); in _fmt() 481 top += DAYSPERWEEK; in _fmt() [all …]
|
| H A D | localtime.c | 1420 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs() 1501 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule() 1564 % DAYSPERWEEK); in transtime() 1572 d += (rulep->r_week - (0 <= d)) * DAYSPERWEEK; in transtime() 1574 d -= DAYSPERWEEK; in transtime() 2392 + ((y % DAYSPERWEEK - TM_YEAR_BASE % DAYSPERWEEK) in timesub() 2393 % DAYSPERWEEK in timesub() 2394 * (DAYSPERNYEAR % DAYSPERWEEK)) in timesub() 2398 tmp->tm_wday %= DAYSPERWEEK; in timesub() 2400 tmp->tm_wday += DAYSPERWEEK; in timesub()
|
| H A D | asctime.c | 89 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
|
| H A D | zic.c | 3201 if (offset >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset() 3240 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule() 3245 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule() 3250 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule() 3255 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule() 3259 wday += DAYSPERWEEK; in stringrule() 4194 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime() 4195 % DAYSPERWEEK); in rpytime() 4199 if (++wday >= DAYSPERWEEK) in rpytime() 4205 wday = DAYSPERWEEK - 1; in rpytime()
|
| H A D | private.h | 1124 DAYSPERWEEK = 7, enumerator
|
| /freebsd/lib/libc/stdtime/ |
| H A D | strftime.c | 135 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 141 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 323 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() 324 t->tm_wday) / DAYSPERWEEK, in _fmt() 336 DAYSPERWEEK : t->tm_wday, in _fmt() 382 DAYSPERWEEK) - 3; in _fmt() 388 (len % DAYSPERWEEK); in _fmt() 390 top += DAYSPERWEEK; in _fmt() 399 DAYSPERWEEK); in _fmt() 432 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() [all …]
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_timesub.c | 19 DAYSPERWEEK = 7, enumerator 154 + ((tmp->tm_year % DAYSPERWEEK) in timesub() 155 * (DAYSPERNYEAR % DAYSPERWEEK)) in timesub() 159 tmp->tm_wday %= DAYSPERWEEK; in timesub() 161 tmp->tm_wday += DAYSPERWEEK; in timesub()
|
| /freebsd/contrib/unbound/compat/ |
| H A D | gmtime_r.c | 19 #define DAYSPERWEEK 7 macro 72 tmp->tm_wday = (int) ((EPOCH_WDAY + days) % DAYSPERWEEK); in timesub() 74 tmp->tm_wday += DAYSPERWEEK; in timesub()
|
| /freebsd/usr.bin/finger/ |
| H A D | sprint.c | 121 #define DAYSPERWEEK 7 in sflag_print() macro 123 if (now - w->loginat < SECSPERDAY * (DAYSPERWEEK - 1)) { in sflag_print()
|
| /freebsd/contrib/ntp/include/ |
| H A D | ntp_calendar.h | 90 #define DAYSPERWEEK (7) /* days per week */ macro 95 #define SECSPERWEEK (DAYSPERWEEK * SECSPERDAY)
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | mktime.c | 82 #define DAYSPERWEEK 7 macro
|
| H A D | ntp_calendar.c | 1922 uw = sf32 ^ ((sf32 ^ ud) / DAYSPERWEEK); in isocal_ntp64_to_date() 1923 ud -= uw * DAYSPERWEEK; in isocal_ntp64_to_date() 2081 s_gpsweek = (day - NTP_TO_GPS_DAYS) / DAYSPERWEEK; in basedate_set_day()
|
| /freebsd/contrib/sendmail/vacation/ |
| H A D | vacation.c | 75 #define DAYSPERWEEK 7 macro 916 next = SECSPERDAY * DAYSPERWEEK; in recent()
|
| /freebsd/contrib/ntp/ |
| H A D | CommitLog | [all...] |