Lines Matching refs:tm
23 #include <time.h> /* for struct tm */
156 static char * abbr(struct tm * tmp);
158 static long delta(struct tm * newp, struct tm * oldp);
159 static void dumptime(const struct tm * tmp);
169 static struct tm *
173 register struct tm * tmp;
177 struct tm tm;
180 tm = *tmp;
181 t = mktime(&tm);
250 struct tm tm;
251 struct tm newtm;
252 register struct tm * tmp;
253 register struct tm * newtmp;
345 tm = *tmp;
346 (void) strncpy(buf, abbr(&tm), (sizeof buf) - 1);
356 (delta(&newtm, &tm) != (newt - t) ||
357 newtm.tm_isdst != tm.tm_isdst ||
369 tm = newtm;
477 struct tm lotm;
478 register struct tm * lotmp;
479 struct tm tm;
480 register struct tm * tmp;
500 tm = *tmp;
502 (delta(&tm, &lotm) == (t - lot) &&
503 tm.tm_isdst == lotm.tm_isdst &&
504 strcmp(abbr(&tm), loab) == 0)) {
506 lotm = tm;
521 struct tm * newp;
522 struct tm * oldp;
545 register struct tm * tmp;
577 struct tm * tmp;
617 register const struct tm * timeptr;