/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_time.h | 46 int tm_wday; member in struct:ibcs2_tm
|
/freebsd-11-stable/contrib/tzcode/stdtime/ |
H A D | asctime.c | 102 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) 104 else wn = wday_name[timeptr->tm_wday];
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | strptime.c | 193 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday; 195 timeptr->tm_wday = fday; 209 timeptr->tm_yday = wnum * 7 + (timeptr->tm_wday + 6) % 7 - fday; 211 timeptr->tm_wday = (fday + 1) % 7; 229 timeptr->tm_yday = offset + (wnum - 1) * 7 + timeptr->tm_wday - fday; 231 timeptr->tm_wday = fday; 261 timeptr->tm_wday = ret; 267 timeptr->tm_wday = ret; 382 timeptr->tm_wday = ret - 1; 387 timeptr->tm_wday [all...] |
H A D | strftime.c | 126 return (tm->tm_yday + 7 - (tm->tm_yday % 7 - tm->tm_wday + 7) % 7) / 7; 137 int wday = (tm->tm_wday + 6) % 7; 151 int wday = (tm->tm_wday + 6) % 7; 184 "%s", abb_weekdays[tm->tm_wday]); 188 "%s", full_weekdays[tm->tm_wday]); 311 "%d", (tm->tm_wday == 0) ? 7 : tm->tm_wday); 323 "%d", tm->tm_wday);
|
/freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
H A D | maketime.c | 153 if (TM_DEFINED(t->tm_wday) && --t->tm_wday < 0) 154 t->tm_wday = 6; 170 if (TM_DEFINED(t->tm_wday) && ++t->tm_wday == 7) 171 t->tm_wday = 0; 187 * Ignore TM's old tm_yday and tm_wday, but fill in their correct values. 244 tm->tm_wday = gtm->tm_wday; 302 wday = tm.tm_wday; [all...] |
H A D | partime.c | 211 = t->tm.tm_year = t->tm.tm_wday = t->tm.tm_yday 592 s = parse_ranged (s, 1, 1, 7, &t->tm.tm_wday); 593 t->tm.tm_wday--; 597 if (!TM_DEFINED (t->tm.tm_wday = lookup (s, weekday_names))) 653 conflict (t->tm.tm_wday, u->tm.tm_yday) || 671 merge_ (t->tm.tm_wday, u->tm.tm_yday)
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | gmtime_r.c | 75 tmp->tm_wday = (int) ((EPOCH_WDAY + days) % DAYSPERWEEK); 76 if (tmp->tm_wday < 0) 77 tmp->tm_wday += DAYSPERWEEK;
|
H A D | strptime.c | 139 tm->tm_wday = ret; 277 tm->tm_wday = ret;
|
/freebsd-11-stable/bin/date/ |
H A D | vary.c | 261 if (val < t->tm_wday) 262 val = 7 - t->tm_wday + val; /* early next week */ 264 val -= t->tm_wday; /* later this week */ 270 if (val > t->tm_wday) 271 val = 7 - val + t->tm_wday; /* later last week */ 273 val = t->tm_wday - val; /* early this week */ 278 if (val < t->tm_wday) 279 return adjday(t, '-', t->tm_wday - val, mk); 282 else if (val > t->tm_wday) 283 return adjday(t, '+', val - t->tm_wday, m [all...] |
/freebsd-11-stable/lib/libc/stdtime/ |
H A D | strftime.c | 147 pt = _add((t->tm_wday < 0 || 148 t->tm_wday >= DAYSPERWEEK) ? 149 "?" : tptr->weekday[t->tm_wday], 153 pt = _add((t->tm_wday < 0 || 154 t->tm_wday >= DAYSPERWEEK) ? 155 "?" : tptr->wday[t->tm_wday], 337 t->tm_wday) / DAYSPERWEEK, 348 pt = _conv((t->tm_wday == 0) ? 349 DAYSPERWEEK : t->tm_wday, 383 wday = t->tm_wday; [all...] |
H A D | strptime.c | 341 tm->tm_wday = i; 386 tm->tm_wday = i % 7; 629 tmpwday = (flags & FLAG_WDAY) ? tm->tm_wday : 675 tm->tm_wday = wday_offset;
|
/freebsd-11-stable/contrib/apr/time/unix/ |
H A D | timestr.c | 53 s = &apr_day_snames[xt.tm_wday][0]; 100 s = &apr_day_snames[xt.tm_wday][0]; 143 tm.tm_wday = xt->tm_wday;
|
H A D | time.c | 106 xt->tm_wday = tm.tm_wday; 193 (*ostime)->tm_wday = aprtime->tm_wday; 224 aprtime->tm_wday = (*ostime)->tm_wday;
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-cn3010-evb-hs5.c | 92 TM_CHECK(tms->tm_wday < 0 || tms->tm_wday > 6, "day of week"); 135 tms.tm_wday = (reg[3] & 0x7) - 1; /* Day of week field is 0..6 */ 173 reg[3] = bin2bcd(tms.tm_wday + 1);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 283 if (tm.tm_wday > 4) 285 tm.tm_mday += 4 - tm.tm_wday; 292 tm.tm_mday += 14 - (tm.tm_wday ? tm.tm_wday : 7); 298 if (tm.tm_wday <= 5) 300 tm.tm_mday += 5 - tm.tm_wday; 308 if (tm.tm_wday > 3) 310 tm.tm_mday += 3 - tm.tm_wday; 382 if (tm.tm_wday <= 2) 384 tm.tm_mday += 2 - tm.tm_wday; [all...] |
/freebsd-11-stable/usr.bin/at/ |
H A D | parsetime.c | 414 tm->tm_wday++; 496 tm->tm_wday ++; 526 if (wday < tm->tm_wday) 527 mday += 7 - (tm->tm_wday - wday); 529 mday += (wday - tm->tm_wday); 531 tm->tm_wday = wday; 652 runtime.tm_wday++;
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | time.c | 164 exploded_time.tm_wday = 0; 197 exploded_time.tm_wday = find_matching_string(wday, 7, apr_day_snames);
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | day.c | 58 after = tp.tm_wday == friday ? 3 : 1;
|
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_time.h | 113 apr_int32_t tm_wday; member in struct:apr_time_exp_t
|
/freebsd-11-stable/contrib/diff/lib/ |
H A D | strftime.c | 393 ((const CHAR_T *) _NL_CURRENT (LC_TIME, NLW(ABDAY_1) + tp->tm_wday)) 395 ((const CHAR_T *) _NL_CURRENT (LC_TIME, NLW(DAY_1) + tp->tm_wday)) 409 # define f_wkday (weekday_name[tp->tm_wday]) 1104 DO_NUMBER (1, (tp->tm_wday - 1 + 7) % 7 + 1); 1110 DO_NUMBER (2, (tp->tm_yday - tp->tm_wday + 7) / 7); 1119 int days = iso_week_days (tp->tm_yday, tp->tm_wday); 1126 tp->tm_wday); 1131 tp->tm_wday); 1157 DO_NUMBER (2, (tp->tm_yday - (tp->tm_wday - 1 + 7) % 7 + 7) / 7); 1163 DO_NUMBER (1, tp->tm_wday); [all...] |
/freebsd-11-stable/usr.sbin/newsyslog/ |
H A D | ptimes.c | 260 if (l != tm.tm_wday) { 263 if (l < tm.tm_wday) { 264 save = 6 - tm.tm_wday; 267 save = l - tm.tm_wday;
|
/freebsd-11-stable/include/ |
H A D | time.h | 134 int tm_wday; /* days since Sunday [0-6] */ member in struct:tm
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | strptime.c | 189 tm->tm_wday = i; 321 if (!(_conv_num(&bp, &tm->tm_wday, 0, 6)))
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/time/ |
H A D | t_strptime.c | 46 int tm_mon, int tm_year, int tm_wday, int tm_yday) 82 H_REQUIRE_FIELD(tm_wday); 44 h_pass(const char *buf, const char *fmt, int len, int tm_sec, int tm_min, int tm_hour, int tm_mday, int tm_mon, int tm_year, int tm_wday, int tm_yday) argument
|
/freebsd-11-stable/contrib/ldns/ |
H A D | util.c | 264 result->tm_wday = 4 /* 1-1-1970 was a thursday */ 268 result->tm_wday = LDNS_MOD(result->tm_wday, 7); 269 if (result->tm_wday < 0) { 270 result->tm_wday += 7;
|