Home
last modified time | relevance | path

Searched refs:tm_wday (Results 1 – 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstrftime.c66 tm->tm_wday < 0 || tm->tm_wday > 6 ||
77 if (tm->tm_wday >= 0 && tm->tm_wday <= 6)
78 tl.tm_wday = tm->tm_wday;
94 tl.tm_wday = tm->tm_wday;
H A Dmktime.c61 tm.tm_wday = ts->tm_wday;
71 ts->tm_wday = tm.tm_wday;
H A Dstrptime.c62 tm.tm_wday = ts->tm_wday;
76 ts->tm_wday = tm.tm_wday;
H A Dgetdate.c77 ts.tm_wday = tm->tm_wday;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgetdate.c127 rtm.tm_wday = rtm.tm_yday = rtm.tm_isdst = TMSENTINEL; in getdate()
168 if (rtm.tm_wday != TMSENTINEL && rtm.tm_year == TMSENTINEL && in getdate()
173 (rtm.tm_wday - tmnow.tm_wday + 7) % 7; in getdate()
195 if (rtm.tm_wday != TMSENTINEL) { in getdate()
204 (rtm.tm_wday - tm.tm_wday + 7) % 7; in getdate()
259 if (rtm.tm_wday != TMSENTINEL) { in getdate()
267 rtm.tm_mday += (rtm.tm_wday - tm.tm_wday + 7) % 7; in getdate()
H A Dstrftime.c110 pt = _add((t->tm_wday < 0 || in _fmt()
111 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
116 pt = _add((t->tm_wday < 0 || in _fmt()
117 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
118 "?" : tptr->wday[t->tm_wday], in _fmt()
268 t->tm_wday) / DAYSPERWEEK, in _fmt()
279 pt = _conv((t->tm_wday == 0) ? in _fmt()
280 DAYSPERWEEK : t->tm_wday, in _fmt()
314 wday = t->tm_wday; in _fmt()
377 (t->tm_wday ? in _fmt()
[all …]
H A Dstrptime.c293 tm->tm_wday = i; in __strptime()
327 tm->tm_wday = i; in __strptime()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmweek.c61 if ((day = tm->tm_wday - tm->tm_yday % 7) < 0) in tmweek()
68 else if (week == 53 && (tm->tm_wday + (31 - tm->tm_mday)) < 4) in tmweek()
78 d = tm->tm_wday; in tmweek()
81 if (d = tm->tm_wday - day) in tmweek()
H A Dtmfix.c152 w = tm->tm_wday; in tmfix()
155 if (w = (w - p->tm_wday)) in tmfix()
159 tm->tm_wday += w; in tmfix()
166 tm->tm_wday = (n + n / 4 - n / 100 + n / 400 + tm->tm_yday + 1) % 7; in tmfix()
H A Dtmequiv.c56 …return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->t… in tmequiv()
H A Dtmxdate.c641 k = tm->tm_wday; in tmxdate()
659 k = tm->tm_wday; in tmxdate()
680 k = tm->tm_wday; in tmxdate()
690 tm->tm_wday = k; in tmxdate()
1409 tm->tm_mday += 7 * m - tm->tm_wday + 1; in tmxdate()
1446 j -= tm->tm_wday; in tmxdate()
1447 …y=%d day=%d dir=%d f=%d i=%d j=%d l=%d m=%d", __LINE__, tm->tm_mday, tm->tm_wday, day, dir, f, i, … in tmxdate()
1712 j = day - tm->tm_wday; in tmxdate()
1728 message((-1, "AHA#%d WORK mday=%d wday=%d", __LINE__, tm->tm_mday, tm->tm_wday)); in tmxdate()
1729 if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) in tmxdate()
H A Dtmxfmt.c247 n = TM_DAY_ABBREV + tm->tm_wday; in tmxfmt()
250 n = TM_DAY + tm->tm_wday; in tmxfmt()
552 if (!(i = tm->tm_wday)) in tmxfmt()
570 cp = number(cp, ep, (long)tm->tm_wday, 0, width, pad); in tmxfmt()
H A Dtmxmake.c98 tm->tm_wday = (x + 4) % 7; in tmxtm()
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dctime.c58 tmp->tm_wday = (int)((EPOCH_WDAY + days) % DAYS_PER_WEEK); in localtime()
59 if (tmp->tm_wday < 0) in localtime()
60 tmp->tm_wday += DAYS_PER_WEEK; in localtime()
172 ncp = Day + (3*t->tm_wday); in __posix_asctime_r()
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c115 tmp->tm_wday = (int)((EPOCH_WDAY + days) % DAYS_PER_WEEK); in gmtime()
116 if (tmp->tm_wday < 0) in gmtime()
117 tmp->tm_wday += DAYS_PER_WEEK; in gmtime()
176 ncp = Day + (3 * t->tm_wday); in asctime()
H A Dtime.h50 int tm_wday; /* days since Sunday */ member
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c54 int tm_wday; member
206 result->tm_wday = tsec / SECSPERDAY; in smb_gmtime_r()
207 result->tm_wday = (result->tm_wday + TM_THURSDAY) % DAYSPERWEEK; in smb_gmtime_r()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c242 } else if (tme->tm_wday < 0 || tme->tm_wday > 6) { in check_time()
244 gettext("weekday out of range (%d)"), tme->tm_wday); in check_time()
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c170 if (ltp->tm_wday == 0 || ltp->tm_wday == 6)
/illumos-gate/usr/src/head/iso/
H A Dtime_iso.h87 int tm_wday; member
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c608 if (timeptr->tm_wday < 0 || timeptr->tm_wday >=
611 else wn = wday_name[timeptr->tm_wday];
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c861 if (tp->tm_wday >= 1 && tp->tm_wday <= 5) in ifdate()
866 if (tp->tm_wday == i) in ifdate()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c122 ncp = Day + (3 * t->tm_wday); in __posix_asctime_r()
/illumos-gate/usr/src/boot/include/
H A Dtime.h132 int tm_wday; /* days since Sunday [0-6] */ member
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dtm.h144 int tm_wday; member

12