Lines Matching refs:tmp2
1549 struct tm *tm, ref_tm, tmp, tmp1, tmp2;
1630 tmp2 = tmp;
1631 tmp2.tm_isdst = tmp1.tm_isdst;
1632 if ((t1 = xmktime(&tmp2)) == (time_t)-1) {
1635 if (tmp1.tm_isdst == tmp2.tm_isdst &&
1636 tm_cmp(&tmp, &tmp2)) {
1651 if (tmp1.tm_isdst != tmp2.tm_isdst) {
1779 tmp2 = tmp;
1780 if ((t1 = xmktime(&tmp2)) == (time_t)-1) {
1783 if (tm_cmp(&tmp, &tmp2)) {
1794 int dst = tmp2.tm_isdst;
1796 tmp2 = tmp;
1797 tmp2.tm_isdst = (dst > 0 ? 0 : 1);
1798 if ((t2 = xmktime(&tmp2)) == (time_t)-1) {
1801 if (tm_cmp(&tmp, &tmp2)) {
1841 tmp2 = tmp;
1842 tmp2.tm_min = 0;
1843 tmp2.tm_hour = 0;
1844 tmp2.tm_mday = 1; /* 1st day of the month */
1846 tmp2.tm_mon = 0;
1847 tmp2.tm_year = yr + 1;
1849 tmp2.tm_mon = mon + 1;
1851 if ((t = xmktime(&tmp2)) == (time_t)-1) {
1860 tmp2 = tmp;
1861 tmp2.tm_min = 0;
1862 tmp2.tm_hour = 0;
1863 if ((t = xmktime(&tmp2)) == (time_t)-1) {
1876 (void) localtime_r(&t2, &tmp2);
1877 zone_start = get_switching_time(tmp2.tm_isdst,