Lines Matching refs:mwd
213 tmp->mwd.month = read_number(ptr); in read_trans_spec_mwd()
214 if (tmp->mwd.month == TIMELIB_UNSET) { in read_trans_spec_mwd()
224 tmp->mwd.week = read_number(ptr); in read_trans_spec_mwd()
225 if (tmp->mwd.week == TIMELIB_UNSET) { in read_trans_spec_mwd()
235 tmp->mwd.dow = read_number(ptr); in read_trans_spec_mwd()
236 if (tmp->mwd.dow == TIMELIB_UNSET) { in read_trans_spec_mwd()
444 m1 = (psi->mwd.month + 9) % 12 + 1; in calc_transition()
445 yy0 = (psi->mwd.month <= 2) ? (year - 1) : year; in calc_transition()
455 d = psi->mwd.dow - dow; in calc_transition()
459 for (i = 1; i < psi->mwd.week; ++i) { in calc_transition()
460 if (d + DAYS_PER_WEEK >= month_lengths[leap_year][psi->mwd.month - 1]) { in calc_transition()
468 for (i = 0; i < psi->mwd.month - 1; ++i) { in calc_transition()