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