Home
last modified time | relevance | path

Searched refs:wday (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxscan.c47 int wday; member
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian…
94 tmweek(tm, set->weektype, set->week, set->wday); in gen()
95 set->wday = -1; in gen()
110 if (set->hour < tm->tm_hour && set->yday < 0 && set->mday < 0 && set->wday < 0) in gen()
142 else if (set->wday >= 0) in gen()
146 if ((n = set->wday - tm->tm_wday) < 0) in gen()
229 set.wday = n; in scan()
335 set.wday = n % 7; in scan()
349 set.wday = n; in scan()
/illumos-gate/usr/src/cmd/localedef/
H A Dtime.c115 add_list(tm.wday, str, 7); in add_time_list()
154 if (tm.wday[6] != NULL) in check_time_list()
195 free((char *)tm.wday[i]); in reset_time_list()
196 tm.wday[i] = NULL; in reset_time_list()
236 if (putl_category(tm.wday[i], f) == EOF) { in dump_time()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrftime.c118 "?" : tptr->wday[t->tm_wday], in _fmt()
308 int wday; in _fmt() local
314 wday = t->tm_wday; in _fmt()
326 bot = ((yday + 11 - wday) % in _fmt()
H A Dtimelocal.h39 const char *wday[7]; member
H A Dstrptime.c286 len = strlen(tptr->wday[i]); in __strptime()
287 if (strncasecmp(buf, tptr->wday[i], len) == 0) in __strptime()
H A Dnl_langinfo.c102 ret = (char *)ltime->wday[_REL(ABDAY_1)]; in nl_langinfo_l()
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c2190 register long wday; local
2193 wday = eitol(EPOCH_WDAY);
2198 wday = (wday + dayoff) % LDAYSPERWEEK;
2200 wday -= ((-dayoff) % LDAYSPERWEEK);
2201 if (wday < 0)
2202 wday += LDAYSPERWEEK;
2204 while (wday != eitol(rp->r_wday))
2207 if (++wday >= LDAYSPERWEEK)
2208 wday = 0;
2212 if (--wday < 0)
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c1515 int tm_mon, tm_mday, tm_wday, wday, m, min, h, hr, carry, day, days; in tz_next_time() local
1681 wday = next_ge(d2%7, e->of.ct.dayweek); in tz_next_time()
1682 if (wday < d2) in tz_next_time()
1683 daysahead = 7 - d2 + wday; in tz_next_time()
1685 daysahead = wday - d2; in tz_next_time()
1717 wday = next_ge(wd, e->of.ct.dayweek); in tz_next_time()
1718 if (wday < wd) in tz_next_time()
1719 day2 = 1 + 7 - wd + wday; in tz_next_time()
1721 day2 = 1 + wday - wd; in tz_next_time()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE1074 01-10-30 tm/tmdate.c: fix cron specs when both wday and mday are specified