Home | History | Annotate | Download | only in libntp

Lines Matching refs:atmp

152 	register struct tm * atmp,
160 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 &&
161 (result = (atmp->tm_mon - btmp->tm_mon)) == 0)
162 result = (atmp->tm_mday - btmp->tm_mday);
169 if(atmp->tm_isdst == 1 && !btmp->tm_isdst)
171 else if(btmp->tm_isdst == 1 && !atmp->tm_isdst)
172 atmp = mkdst(atmp);
176 if ((result = (atmp->tm_hour - btmp->tm_hour)) == 0 &&
177 (result = (atmp->tm_min - btmp->tm_min)) == 0)
178 result = atmp->tm_sec - btmp->tm_sec;