Lines Matching refs:tm
75 const struct tm *day_tm;
76 struct tm tm;
80 i_zero(&tm);
81 tm.tm_year = day_tm->tm_year;
82 tm.tm_mon = day_tm->tm_mon;
83 tm.tm_mday = day_tm->tm_mday;
84 tm.tm_isdst = -1;
85 new_start_time = mktime(&tm);
90 static const char *strftime_real(const char *fmt, const struct tm *tm)
96 while ((ret = strftime(buf, bufsize, fmt, tm)) == 0) {
105 const char *t_strftime(const char *fmt, const struct tm *tm)
107 return strftime_real(fmt, tm);