Searched refs:mytm (Results 1 – 2 of 2) sorted by relevance
1172 struct tm *mytm; in get_logfilename() local1180 if (!(mytm = localtime(&t))) in get_logfilename()1182 year = mytm->tm_year + 1900; in get_logfilename()1183 month = mytm->tm_mon + 1; in get_logfilename()1184 day = mytm->tm_mday; in get_logfilename()1185 hours = mytm->tm_hour; in get_logfilename()1186 minutes = mytm->tm_min; in get_logfilename()
1640 struct tm mytm; in ctime_r() local1641 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r()1762 struct tm yourtm, mytm; in time2sub() local1842 if ((*funcp)(&t, offset, &mytm) == NULL) { in time2sub()1849 } else dir = tmcomp(&mytm, &yourtm); in time2sub()1869 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()1888 if ((*funcp)(&newt, offset, &mytm) == NULL) in time2sub()1890 if (tmcomp(&mytm, &yourtm) != 0) in time2sub()1892 if (mytm.tm_isdst != yourtm.tm_isdst) in time2sub()