Searched refs:DAYSPERWEEK (Results 1 – 13 of 13) sorted by relevance
| /src/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() 475 DAYSPERWEEK) - 3; in _fmt() 481 (len % DAYSPERWEEK); in _fmt() 483 top += DAYSPERWEEK; in _fmt() [all …]
|
| H A D | asctime.c | 89 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
|
| H A D | localtime.c | 1426 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs() 1507 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule() 1582 dow += DAYSPERWEEK; in transtime() 1591 d += DAYSPERWEEK; in transtime() 1593 if (d + DAYSPERWEEK >= in transtime() 1596 d += DAYSPERWEEK; in transtime() 2427 + ((tmp->tm_year % DAYSPERWEEK) in timesub() 2428 * (DAYSPERNYEAR % DAYSPERWEEK)) in timesub() 2432 tmp->tm_wday %= DAYSPERWEEK; in timesub() 2434 tmp->tm_wday += DAYSPERWEEK; in timesub()
|
| H A D | zic.c | 3189 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset() 3227 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule() 3232 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule() 3237 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule() 3242 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule() 3246 wday += DAYSPERWEEK; in stringrule() 4158 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime() 4159 % DAYSPERWEEK); in rpytime() 4163 if (++wday >= DAYSPERWEEK) in rpytime() 4169 wday = DAYSPERWEEK - 1; in rpytime()
|
| H A D | private.h | 1102 DAYSPERWEEK = 7, enumerator
|
| /src/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() 384 DAYSPERWEEK) - 3; in _fmt() 390 (len % DAYSPERWEEK); in _fmt() 392 top += DAYSPERWEEK; in _fmt() 401 DAYSPERWEEK); in _fmt() 436 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() [all …]
|
| /src/contrib/unbound/compat/ |
| H A D | gmtime_r.c | 19 #define DAYSPERWEEK 7 macro 75 tmp->tm_wday = (int) ((EPOCH_WDAY + days) % DAYSPERWEEK); 77 tmp->tm_wday += DAYSPERWEEK;
|
| /src/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()
|
| /src/contrib/ntp/include/ |
| H A D | ntp_calendar.h | 90 #define DAYSPERWEEK (7) /* days per week */ macro 95 #define SECSPERWEEK (DAYSPERWEEK * SECSPERDAY)
|
| /src/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()
|
| /src/contrib/sendmail/vacation/ |
| H A D | vacation.c | 75 #define DAYSPERWEEK 7 macro 916 next = SECSPERDAY * DAYSPERWEEK; in recent()
|
| /src/contrib/ntp/ |
| H A D | CommitLog | 40717 Added definitions for DAYSPERWEEK and SECSPERWEEK.
|