Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/libntp/
H A Dmktime.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/contrib/tzcode/
H A Dasctime.c146 struct tm mytm; in ctime_r() local
147 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r()
H A Dlocaltime.c2614 struct tm yourtm, mytm; in time2sub() local
2718 if (! funcp(sp, &t, offset, &mytm)) { in time2sub()
2725 } else dir = tmcomp(&mytm, &yourtm); in time2sub()
2746 if (mytm.TM_GMTOFF != yourtm.TM_GMTOFF in time2sub()
2749 && (mytm.TM_GMTOFF <= in time2sub()
2755 <= mytm.TM_GMTOFF)))) { in time2sub()
2764 v = ckd_sub(&offdiff, mytm.TM_GMTOFF, yourtm.TM_GMTOFF); in time2sub()
2770 offdiff = utoff_diff(mytm.TM_GMTOFF, yourtm.TM_GMTOFF); in time2sub()
2775 && alttm.tm_isdst == mytm.tm_isdst in time2sub()
2779 mytm = alttm; in time2sub()
[all …]