Home
last modified time | relevance | path

Searched refs:mytm (Results 1 – 3 of 3) sorted by relevance

/freebsd-14-stable/contrib/ntp/libntp/
HDmktime.c193 struct tm yourtm, mytm; in time2() local
234 mytm = *localtime(&t); in time2()
236 mytm = *gmtime(&t); in time2()
237 dir = tmcomp(&mytm, &yourtm); in time2()
248 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2()
/freebsd-14-stable/contrib/tzcode/
HDasctime.c137 struct tm mytm; in ctime_r() local
138 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r()
HDlocaltime.c2110 struct tm yourtm, mytm; in time2sub() local
2196 if (! funcp(sp, &t, offset, &mytm)) { in time2sub()
2203 } else dir = tmcomp(&mytm, &yourtm); in time2sub()
2224 if (mytm.TM_GMTOFF != yourtm.TM_GMTOFF in time2sub()
2227 && (mytm.TM_GMTOFF <= in time2sub()
2233 <= mytm.TM_GMTOFF)))) { in time2sub()
2239 int_fast32_t diff = mytm.TM_GMTOFF - yourtm.TM_GMTOFF; in time2sub()
2243 && alttm.tm_isdst == mytm.tm_isdst in time2sub()
2247 mytm = alttm; in time2sub()
2252 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
[all …]