Home
last modified time | relevance | path

Searched refs:tm_isdst (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/contrib/ntp/libntp/
H A Dmktime.c142 tmbuf.tm_isdst = 1; in mkdst()
167 if(atmp->tm_isdst == 1 && !btmp->tm_isdst) in tmcomp()
169 else if(btmp->tm_isdst == 1 && !atmp->tm_isdst) in tmcomp()
248 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2()
274 if (tmp->tm_isdst > 1) in time1()
275 tmp->tm_isdst = 1; in time1()
277 if (okay || tmp->tm_isdst < 0) in time1()
302 tmp->tm_isdst = 0; in timegm()
304 if (okay || tmp->tm_isdst < 0) in timegm()
/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c218 .tm_isdst = 0 }; in ATF_TC_BODY()
273 tm.tm_isdst = -1; in ATF_TC_BODY()
279 tm.tm_isdst = -1; in ATF_TC_BODY()
288 tm.tm_isdst = -1; in ATF_TC_BODY()
294 tm.tm_isdst = -1; in ATF_TC_BODY()
303 tm.tm_isdst = -1; in ATF_TC_BODY()
313 tm.tm_isdst = -1; in ATF_TC_BODY()
318 tm.tm_isdst = -1; in ATF_TC_BODY()
324 tm.tm_isdst = -1; in ATF_TC_BODY()
335 tm.tm_isdst = -1; in ATF_TC_BODY()
[all …]
/freebsd/contrib/tzcode/
H A Dstrftime.c333 tm.tm_isdst = t->tm_isdst; in _fmt()
509 if (t->tm_isdst >= 0) in _fmt()
510 pt = _add(tzname[t->tm_isdst != 0], in _fmt()
549 if (t->tm_isdst < 0) in _fmt()
551 if (t->tm_isdst == 0) in _fmt()
569 negative = t->tm_isdst < 0; in _fmt()
571 if (tzname[t->tm_isdst != 0][0] == '-') in _fmt()
H A Dlocaltime.c108 bool tt_isdst; /* used to set tm_isdst */
1634 result->tm_isdst = ttisp->tt_isdst; in localsub()
1955 tmp->tm_isdst = 0; in timesub()
2086 dest->tm_isdst = src->tm_isdst; in increment_overflow_time()
2243 && alttm.tm_isdst == mytm.tm_isdst in time2sub()
2252 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
[all...]
H A Dzdump.c381 fprintf(stderr, " isdst=%d", tmp->tm_isdst); in my_localtime_rz()
646 || newtm.tm_isdst != tm.tm_isdst in main()
761 || (ab && tm.tm_isdst == lotm.tm_isdst in hunt()
876 printf(" isdst=%d", tmp->tm_isdst); in show()
1130 = (tm->tm_isdst in istrftime()
1131 ? my_snprintf(b, s, &"\t\t%d"[show_abbr], tm->tm_isdst) in istrftime()
1175 if (0 <= tmp->tm_isdst && tzname[0 < tmp->tm_isdst]) in abbr()
[all...]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_pcf.c156 tm.tm_isdst = (buf[8] & 1) ? 1 : (buf[8] & 2) ? 0 : -1; in pcf_poll()
171 if ((tm.tm_isdst > 0 && tm.tm_gmtoff != 7200) in pcf_poll()
172 || (tm.tm_isdst == 0 && tm.tm_gmtoff != 3600) in pcf_poll()
173 || tm.tm_isdst < 0) { in pcf_poll()
H A Drefclock_arc.c1312 local.tm_isdst = (flags & 2); in arc_receive()
1315 local.tm_isdst = (flags & 2); in arc_receive()
1324 local.tm_isdst = 0; in arc_receive()
1331 local.tm_isdst = -1; in arc_receive()
1338 local.tm_isdst = -1; in arc_receive()
1345 local.tm_isdst = 1; in arc_receive()
/freebsd/usr.sbin/newsyslog/
H A Dptimes.c367 (adjtime.did_adj4dst == dstsrc->tm.tm_isdst)) in ptime_adjust4dst()
371 if (dstsrc->tm.tm_isdst != adjtime.tm.tm_isdst) { in ptime_adjust4dst()
372 if (adjtime.tm.tm_isdst == 1) in ptime_adjust4dst()
374 else if (adjtime.tm.tm_isdst == 0) in ptime_adjust4dst()
378 adjtime.did_adj4dst = dstsrc->tm.tm_isdst; in ptime_adjust4dst()
624 nextmatch.tm.tm_isdst = -1; in ptimeset_nxtime()
/freebsd/contrib/sendmail/src/
H A Darpadate.c160 if (lt->tm_isdst > 0)
162 else if (lt->tm_isdst == 0)
172 tz = timezone(off, lt->tm_isdst);
/freebsd/sbin/adjkerntz/
H A Dadjkerntz.c170 initial_isdst = local.tm_isdst; in main()
171 local.tm_isdst = initial_isdst; in main()
217 final_isdst = diff < 0 ? initial_isdst : local.tm_isdst; in main()
225 local.tm_isdst = final_isdst; in main()
/freebsd/bin/date/
H A Dvary.c435 t->tm_isdst = -1; in vary_apply()
468 t->tm_isdst = -1; in vary_apply()
473 t->tm_isdst = -1; in vary_apply()
478 t->tm_isdst = -1; in vary_apply()
483 t->tm_isdst = -1; in vary_apply()
/freebsd/contrib/file/
H A Dacinclude.m428 AC_CACHE_CHECK([for tm_isdst in struct tm], ac_cv_struct_tm_isdst,
31 #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_isdst;])],
/freebsd/usr.bin/touch/
H A Dtouch.c265 t->tm_isdst = -1; /* Figure out DST. */ in stime_arg1()
300 t->tm_isdst = -1; /* Figure out DST. */ in stime_arg2()
319 t.tm_isdst = -1; in stime_darg()
/freebsd/contrib/ntp/sntp/
H A Dutilities.c155 isdst = ptm->tm_isdst; in tv_to_str()
157 ptm->tm_isdst = isdst; in tv_to_str()
/freebsd/lib/libc/stdtime/
H A Dstrftime.c473 if (t->tm_isdst >= 0) in _fmt()
474 pt = _add(tzname[t->tm_isdst != 0], in _fmt()
487 if (t->tm_isdst < 0) in _fmt()
511 if (t->tm_isdst == 0) in _fmt()
/freebsd/usr.bin/pom/
H A Dpom.c124 tmd.tm_isdst = -1; in main()
130 tmd.tm_isdst = -1; in main()
/freebsd/sbin/dump/
H A Dunctime.c48 then.tm_isdst = -1; in unctime()
/freebsd/usr.bin/at/
H A Dparsetime.c318 tm->tm_isdst = -1; in plus_or_minus()
604 runtime.tm_isdst = 0; in parsetime()
664 runtime.tm_isdst = -1; in parsetime()
/freebsd/crypto/heimdal/lib/roken/
H A Dtm2time.c51 tm.tm_isdst = local ? -1 : 0; in tm2time()
H A Dstrftime.c351 tm->tm_isdst ? in strftime()
367 tzname[tm->tm_isdst] in strftime()
/freebsd/usr.sbin/cron/cron/
H A Dexterns.h76 #define TZONE(tm) tzname[(tm).tm_isdst]
/freebsd/contrib/unbound/compat/
H A Dgmtime_r.c97 tmp->tm_isdst = 0;
/freebsd/usr.bin/chpass/
H A Dutil.c129 lt->tm_isdst = -1; in atot()
/freebsd/contrib/lua/src/
H A Dloslib.c239 setboolfield(L, "isdst", stm->tm_isdst); in setallfields()
358 ts.tm_isdst = getboolfield(L, "isdst"); in os_time()
/freebsd/include/
H A Dtime.h107 int tm_isdst; /* Daylight Savings Time flag */ member

1234