Home | History | Annotate | Download | only in tzcode

Lines Matching refs:yourtm

1683 	struct tm			yourtm, mytm;
1686 yourtm = *tmp;
1688 if (normalize_overflow(&yourtm.tm_min, &yourtm.tm_sec,
1692 if (normalize_overflow(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR))
1694 if (normalize_overflow(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY))
1696 y = yourtm.tm_year;
1697 if (normalize_overflow32(&y, &yourtm.tm_mon, MONSPERYEAR))
1705 while (yourtm.tm_mday <= 0) {
1708 li = y + (1 < yourtm.tm_mon);
1709 yourtm.tm_mday += year_lengths[isleap(li)];
1711 while (yourtm.tm_mday > DAYSPERLYEAR) {
1712 li = y + (1 < yourtm.tm_mon);
1713 yourtm.tm_mday -= year_lengths[isleap(li)];
1718 i = mon_lengths[isleap(y)][yourtm.tm_mon];
1719 if (yourtm.tm_mday <= i)
1721 yourtm.tm_mday -= i;
1722 if (++yourtm.tm_mon >= MONSPERYEAR) {
1723 yourtm.tm_mon = 0;
1730 yourtm.tm_year = y;
1731 if (yourtm.tm_year != y)
1733 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1744 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1746 saved_seconds = yourtm.tm_sec;
1747 yourtm.tm_sec = SECSPERMIN - 1;
1749 saved_seconds = yourtm.tm_sec;
1750 yourtm.tm_sec = 0;
1777 } else dir = tmcomp(&mytm, &yourtm);
1797 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst)
1810 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst)
1813 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst)
1819 if (tmcomp(&mytm, &yourtm) != 0)
1821 if (mytm.tm_isdst != yourtm.tm_isdst)