Lines Matching defs:tm
42 struct tm tm;
55 tm.tm_year = 70;
57 if (tm.tm_year == 0)
59 tm.tm_year--;
60 secs = year_secs(tm.tm_year + 1900);
63 while ((secs = year_secs(tm.tm_year + 1900)) <= t) {
65 tm.tm_year++;
66 if (tm.tm_year + 1900 > 9999)
69 tm.tm_mon = 0;
70 while ((secs = month_secs(tm.tm_mon, tm.tm_year + 1900)) <= t) {
72 tm.tm_mon++;
74 tm.tm_mday = 1;
77 tm.tm_mday++;
79 tm.tm_hour = 0;
82 tm.tm_hour++;
84 tm.tm_min = 0;
87 tm.tm_min++;
89 tm.tm_sec = (int)t;
92 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
93 tm.tm_hour, tm.tm_min, tm.tm_sec);