• Home
  • Raw
  • Download

Lines Matching refs:yourtm

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