/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmequiv.c | 56 return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->tm_year)];
|
H A D | tmweek.c | 61 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 D | tmfix.c | 53 * 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 D | tmxfmt.c | 247 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 D | tmxmake.c | 98 tm->tm_wday = (x + 4) % 7;
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | strftime.c | 66 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 D | mktime.c | 61 tm.tm_wday = ts->tm_wday; 71 ts->tm_wday = tm.tm_wday;
|
H A D | strptime.c | 62 tm.tm_wday = ts->tm_wday; 76 ts->tm_wday = tm.tm_wday;
|
H A D | getdate.c | 77 ts.tm_wday = tm->tm_wday;
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | time.h | 43 int tm_wday; member in struct:tm
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | getdate.c | 127 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 D | strftime.c | 110 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 D | time.h | 50 int tm_wday; /* days since Sunday */ member in struct:tm
|
H A D | time.c | 115 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 D | time.h | 48 int tm_wday; member in struct:tm
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | asctime.c | 31 ncp = &"SunMonTueWedThuFriSat"[3*t->tm_wday];
|
H A D | strftime.c | 87 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 D | ctime.c | 58 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 D | time_iso.h | 87 int tm_wday; member in struct:std::tm
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ctime.c | 122 ncp = Day + (3 * t->tm_wday);
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 242 } 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 D | tm.h | 144 int tm_wday; member in struct:Tm_s
|
/illumos-gate/usr/src/boot/include/ |
H A D | time.h | 132 int tm_wday; /* days since Sunday [0-6] */ member in struct:tm
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | pnpsplit.c | 170 if (ltp->tm_wday == 0 || ltp->tm_wday == 6)
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | conn.c | 861 if (tp->tm_wday >= 1 && tp->tm_wday <= 5) 866 if (tp->tm_wday == i)
|