/titanic_41/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;
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | getdate.c | 127 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 D | strftime.c | 110 pt = _add((t->tm_wday < 0 || in _fmt() 111 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 112 "?" : tptr->weekday[t->tm_wday], 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() [all …]
|
/titanic_41/usr/src/lib/libast/common/tm/ |
H A D | tmweek.c | 61 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 D | tmfix.c | 152 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 D | tmequiv.c | 56 …return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->t… in tmequiv()
|
H A D | tmxfmt.c | 247 n = TM_DAY_ABBREV + tm->tm_wday; in tmxfmt() 250 n = TM_DAY + tm->tm_wday; in tmxfmt() 472 if (!(i = tm->tm_wday)) in tmxfmt() 486 cp = number(cp, ep, (long)tm->tm_wday, 0, width, pad); in tmxfmt()
|
H A D | tmxdate.c | 641 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() 1396 tm->tm_mday += 7 * m - tm->tm_wday + 1; in tmxdate() 1433 j -= tm->tm_wday; in tmxdate() 1434 …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() 1696 j = day - tm->tm_wday; in tmxdate() 1712 message((-1, "AHA#%d WORK mday=%d wday=%d", __LINE__, tm->tm_mday, tm->tm_wday)); in tmxdate() 1713 if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) in tmxdate()
|
/titanic_41/usr/src/cmd/mdb/common/libstand/ |
H A D | ctime.c | 58 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()
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | time.c | 115 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 D | time.h | 50 int tm_wday; /* days since Sunday */ member
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
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; 294 cp = itoa(tm->tm_wday, cp, 1); 301 if (tm->tm_wday == 0) 304 temp = tm->tm_yday - tm->tm_wday + 1;
|
H A D | asctime.c | 31 ncp = &"SunMonTueWedThuFriSat"[3*t->tm_wday]; in asctime()
|
/titanic_41/usr/src/cmd/auditreduce/ |
H A D | time.c | 242 } 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()
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | time.h | 43 int tm_wday; member
|
/titanic_41/usr/src/lib/libbc/inc/5include/ |
H A D | time.h | 48 int tm_wday; member
|
/titanic_41/usr/src/cmd/acct/lib/ |
H A D | pnpsplit.c | 170 if (ltp->tm_wday == 0 || ltp->tm_wday == 6)
|
/titanic_41/usr/src/head/iso/ |
H A D | time_iso.h | 93 int tm_wday; member
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | ctime.c | 122 ncp = Day + (3 * t->tm_wday); in __posix_asctime_r()
|
/titanic_41/usr/src/lib/libnsl/dial/ |
H A D | conn.c | 861 if (tp->tm_wday >= 1 && tp->tm_wday <= 5) in ifdate() 866 if (tp->tm_wday == i) in ifdate()
|
/titanic_41/usr/src/cmd/zdump/ |
H A D | zdump.c | 603 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= 606 else wn = wday_name[timeptr->tm_wday];
|
/titanic_41/usr/src/lib/libast/common/include/ |
H A D | tm.h | 144 int tm_wday; member
|