Searched defs:wday (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dtimelocal.h39 const char *wday[7]; member in struct:lc_time
H A Dstrftime.c118 "?" : tptr->wday[t->tm_wday],
308 int wday; local
314 wday = t->tm_wday;
326 bot = ((yday + 11 - wday) %
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmxscan.c47 int wday; member in struct:__anon2675
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=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE)
94 tmweek(tm, set->weektype, set->week, set->wday);
95 set->wday = -1;
110 if (set->hour < tm->tm_hour && set->yday < 0 && set->mday < 0 && set->wday < 0)
142 else if (set->wday >= 0)
146 if ((n = set->wday - tm->tm_wday) < 0)
229 set.wday = n;
335 set.wday = n % 7;
349 set.wday
[all...]
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c2188 register long wday; local
2191 wday = eitol(EPOCH_WDAY);
2196 wday = (wday + dayoff) % LDAYSPERWEEK;
2198 wday -= ((-dayoff) % LDAYSPERWEEK);
2199 if (wday < 0)
2200 wday += LDAYSPERWEEK;
2202 while (wday != eitol(rp->r_wday))
2205 if (++wday >= LDAYSPERWEEK)
2206 wday
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c1550 int tm_mon, tm_mday, tm_wday, wday, m, min, h, hr, carry, day, days; local
1716 wday = next_ge(d2%7, e->of.ct.dayweek);
1717 if (wday < d2)
1718 daysahead = 7 - d2 + wday;
1720 daysahead = wday - d2;
1752 wday = next_ge(wd, e->of.ct.dayweek);
1753 if (wday < wd)
1754 day2 = 1 + 7 - wd + wday;
1756 day2 = 1 + wday - wd;

Completed in 73 milliseconds