Searched refs:tm_wday (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmequiv.c56 return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->tm_year)];
H A Dtmweek.c61 if ((day = tm->tm_wday - tm->tm_yday % 7) < 0)
68 else if (week == 53 && (tm->tm_wday + (31 - tm->tm_mday)) < 4)
78 d = tm->tm_wday;
81 if (d = tm->tm_wday - day)
H A Dtmfix.c53 * check for special case that adjusts tm_wday at the end
152 w = tm->tm_wday;
155 if (w = (w - p->tm_wday))
159 tm->tm_wday += w;
166 tm->tm_wday = (n + n / 4 - n / 100 + n / 400 + tm->tm_yday + 1) % 7;
H A Dtmxfmt.c247 n = TM_DAY_ABBREV + tm->tm_wday;
250 n = TM_DAY + tm->tm_wday;
472 if (!(i = tm->tm_wday))
486 cp = number(cp, ep, (long)tm->tm_wday, 0, width, pad);
H A Dtmxmake.c98 tm->tm_wday = (x + 4) % 7;
/illumos-gate/usr/src/lib/libast/common/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/libbc/inc/include/
H A Dtime.h43 int tm_wday; member in struct:tm
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgetdate.c127 rtm.tm_wday = rtm.tm_yday = rtm.tm_isdst = TMSENTINEL;
168 if (rtm.tm_wday != TMSENTINEL && rtm.tm_year == TMSENTINEL &&
173 (rtm.tm_wday - tmnow.tm_wday + 7) % 7;
195 if (rtm.tm_wday != TMSENTINEL) {
204 (rtm.tm_wday - tm.tm_wday + 7) % 7;
259 if (rtm.tm_wday != TMSENTINEL) {
267 rtm.tm_mday += (rtm.tm_wday - tm.tm_wday
[all...]
H A Dstrftime.c110 pt = _add((t->tm_wday < 0 ||
111 t->tm_wday >= DAYSPERWEEK) ?
112 "?" : tptr->weekday[t->tm_wday],
116 pt = _add((t->tm_wday < 0 ||
117 t->tm_wday >= DAYSPERWEEK) ?
118 "?" : tptr->wday[t->tm_wday],
268 t->tm_wday) / DAYSPERWEEK,
279 pt = _conv((t->tm_wday == 0) ?
280 DAYSPERWEEK : t->tm_wday,
314 wday = t->tm_wday;
[all...]
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.h50 int tm_wday; /* days since Sunday */ member in struct:tm
H A Dtime.c115 tmp->tm_wday = (int)((EPOCH_WDAY + days) % DAYS_PER_WEEK);
116 if (tmp->tm_wday < 0)
117 tmp->tm_wday += DAYS_PER_WEEK;
176 ncp = Day + (3 * t->tm_wday);
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dtime.h48 int tm_wday; member in struct:tm
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dasctime.c31 ncp = &"SunMonTueWedThuFriSat"[3*t->tm_wday];
H A Dstrftime.c87 for (p = dtcp->abbrev_weekday_names[tm->tm_wday];
96 for (p = dtcp->weekday_names[tm->tm_wday];
281 temp = tm->tm_yday - tm->tm_wday;
283 i = (temp + 1) / 7 + 1; /* +1 for - tm->tm_wday */
294 cp = itoa(tm->tm_wday, cp, 1);
301 if (tm->tm_wday == 0)
304 temp = tm->tm_yday - tm->tm_wday + 1;
307 -tm->tm_wday */
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dctime.c58 tmp->tm_wday = (int)((EPOCH_WDAY + days) % DAYS_PER_WEEK);
59 if (tmp->tm_wday < 0)
60 tmp->tm_wday += DAYS_PER_WEEK;
172 ncp = Day + (3*t->tm_wday);
/illumos-gate/usr/src/head/iso/
H A Dtime_iso.h87 int tm_wday; member in struct:std::tm
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c122 ncp = Day + (3 * t->tm_wday);
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c242 } else if (tme->tm_wday < 0 || tme->tm_wday > 6) {
244 gettext("weekday out of range (%d)"), tme->tm_wday);
/illumos-gate/usr/src/lib/libast/common/include/
H A Dtm.h144 int tm_wday; member in struct:Tm_s
/illumos-gate/usr/src/boot/include/
H A Dtime.h132 int tm_wday; /* days since Sunday [0-6] */ member in struct:tm
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c170 if (ltp->tm_wday == 0 || ltp->tm_wday == 6)
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c861 if (tp->tm_wday >= 1 && tp->tm_wday <= 5)
866 if (tp->tm_wday == i)

Completed in 148 milliseconds

123