Lines Matching refs:yourtm
1692 struct tm yourtm, mytm; local
1695 yourtm = *tmp;
1697 if (normalize_overflow(&yourtm.tm_min, &yourtm.tm_sec,
1701 if (normalize_overflow(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR))
1703 if (normalize_overflow(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY))
1705 y = yourtm.tm_year;
1706 if (long_normalize_overflow(&y, &yourtm.tm_mon, MONSPERYEAR))
1714 while (yourtm.tm_mday <= 0) {
1717 li = y + (1 < yourtm.tm_mon);
1718 yourtm.tm_mday += year_lengths[isleap(li)];
1720 while (yourtm.tm_mday > DAYSPERLYEAR) {
1721 li = y + (1 < yourtm.tm_mon);
1722 yourtm.tm_mday -= year_lengths[isleap(li)];
1727 i = mon_lengths[isleap(y)][yourtm.tm_mon];
1728 if (yourtm.tm_mday <= i)
1730 yourtm.tm_mday -= i;
1731 if (++yourtm.tm_mon >= MONSPERYEAR) {
1732 yourtm.tm_mon = 0;
1739 yourtm.tm_year = y;
1740 if (yourtm.tm_year != y)
1742 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1753 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1755 saved_seconds = yourtm.tm_sec;
1756 yourtm.tm_sec = SECSPERMIN - 1;
1758 saved_seconds = yourtm.tm_sec;
1759 yourtm.tm_sec = 0;
1791 } else dir = tmcomp(&mytm, &yourtm);
1811 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst)
1826 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst)
1829 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst)
1835 if (tmcomp(&mytm, &yourtm) != 0)
1837 if (mytm.tm_isdst != yourtm.tm_isdst)