Searched refs:tm_wday (Results 1 - 15 of 15) sorted by relevance
/ast/src/lib/libast/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 | tmxmake.c | 98 tm->tm_wday = (x + 4) % 7;
|
H A D | tmxfmt.c | 247 n = TM_DAY_ABBREV + tm->tm_wday; 250 n = TM_DAY + tm->tm_wday; 552 if (!(i = tm->tm_wday)) 570 cp = number(cp, ep, (long)tm->tm_wday, 0, width, pad);
|
H A D | tmxdate.c | 641 k = tm->tm_wday; 659 k = tm->tm_wday; 680 k = tm->tm_wday; 690 tm->tm_wday = k; 1409 tm->tm_mday += 7 * m - tm->tm_wday + 1; 1446 j -= tm->tm_wday; 1447 message((-1, "AHA#%d mday=%d wday=%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, j, l, m)); 1712 j = day - tm->tm_wday; 1728 message((-1, "AHA#%d WORK mday=%d wday=%d", __LINE__, tm->tm_mday, tm->tm_wday)); 1729 if (tm->tm_wday [all...] |
H A D | tmxscan.c | 146 if ((n = set->wday - tm->tm_wday) < 0)
|
/ast/src/lib/libast/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;
|
/ast/src/lib/libast/include/ |
H A D | tm.h | 144 int tm_wday; member in struct:Tm_s
|
/ast/src/cmd/dsslib/time_t/ |
H A D | time_t.c | 461 r->value.number = state->tm.tm_wday; 530 if ((i -= state->tm.tm_wday) < 0) 533 state->tm.tm_wday = a->value.number;
|
/ast/src/cmd/coshell/ |
H A D | schedule.c | 209 if (!state.tm->tm_wday) 210 state.tm->tm_wday = 7;
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclDate.c | 501 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
|
Completed in 34 milliseconds