Lines Matching refs:tm
164 static char * abbr(struct tm * tmp);
166 static long delta(struct tm * newp, struct tm * oldp);
167 static void dumptime(const struct tm * tmp);
189 static struct tm *
193 register struct tm * tmp;
197 struct tm tm; local
200 tm = *tmp;
201 t = mktime(&tm);
289 struct tm tm; local
290 struct tm newtm;
291 register struct tm * tmp;
292 register struct tm * newtmp;
506 tm = *tmp;
507 (void) strncpy(buf, abbr(&tm), (sizeof buf) - 1);
521 (delta(&newtm, &tm) != (newt - t) ||
522 newtm.tm_isdst != tm.tm_isdst)) {
535 (delta(&newtm, &tm) != (newt - t) ||
536 newtm.tm_isdst != tm.tm_isdst ||
551 tm = newtm;
677 struct tm lotm; in hunt()
678 register struct tm * lotmp; in hunt()
679 struct tm tm; in hunt() local
680 register struct tm * tmp; in hunt()
700 tm = *tmp; in hunt()
702 (delta(&tm, &lotm) == (t - lot) && in hunt()
703 tm.tm_isdst == lotm.tm_isdst && in hunt()
704 strcmp(abbr(&tm), loab) == 0)) { in hunt()
706 lotm = tm; in hunt()
721 struct tm * newp; in delta()
722 struct tm * oldp;
745 register struct tm * tmp; in show()
777 struct tm * tmp; in abbr()
817 register const struct tm * timeptr; in dumptime()
875 struct tm lotm; in huntICU()
876 register struct tm * lotmp; in huntICU()
877 struct tm tm; in huntICU() local
878 register struct tm * tmp; in huntICU()
898 tm = *tmp; in huntICU()
902 (delta(&tm, &lotm) == (t - lot) && in huntICU()
903 tm.tm_isdst == lotm.tm_isdst)) { in huntICU()
905 lotm = tm; in huntICU()
929 struct tm gmt; in dumptimeICU()
930 struct tm loc; in dumptimeICU()