Lines Matching refs:yourtm
1728 struct tm yourtm, mytm;
1731 yourtm = *tmp;
1733 if (normalize_overflow(&yourtm.tm_min, &yourtm.tm_sec,
1737 if (normalize_overflow(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR))
1739 if (normalize_overflow(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY))
1741 y = yourtm.tm_year;
1742 if (normalize_overflow32(&y, &yourtm.tm_mon, MONSPERYEAR))
1750 while (yourtm.tm_mday <= 0) {
1753 li = y + (1 < yourtm.tm_mon);
1754 yourtm.tm_mday += year_lengths[isleap(li)];
1756 while (yourtm.tm_mday > DAYSPERLYEAR) {
1757 li = y + (1 < yourtm.tm_mon);
1758 yourtm.tm_mday -= year_lengths[isleap(li)];
1763 i = mon_lengths[isleap(y)][yourtm.tm_mon];
1764 if (yourtm.tm_mday <= i)
1766 yourtm.tm_mday -= i;
1767 if (++yourtm.tm_mon >= MONSPERYEAR) {
1768 yourtm.tm_mon = 0;
1775 yourtm.tm_year = y;
1776 if (yourtm.tm_year != y)
1778 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1789 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1791 saved_seconds = yourtm.tm_sec;
1792 yourtm.tm_sec = SECSPERMIN - 1;
1794 saved_seconds = yourtm.tm_sec;
1795 yourtm.tm_sec = 0;
1822 } else dir = tmcomp(&mytm, &yourtm);
1842 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst)
1859 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst)
1862 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst)
1868 if (tmcomp(&mytm, &yourtm) != 0)
1870 if (mytm.tm_isdst != yourtm.tm_isdst)