/freebsd/contrib/ntp/libntp/ |
H A D | mktime.c | 142 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 D | t_parsedate.c | 218 .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 D | strftime.c | 333 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 D | localtime.c | 108 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 D | zdump.c | 381 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 D | refclock_pcf.c | 156 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 D | refclock_arc.c | 1312 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 D | ptimes.c | 367 (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 D | arpadate.c | 160 if (lt->tm_isdst > 0) 162 else if (lt->tm_isdst == 0) 172 tz = timezone(off, lt->tm_isdst);
|
/freebsd/sbin/adjkerntz/ |
H A D | adjkerntz.c | 170 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 D | vary.c | 435 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 D | acinclude.m4 | 28 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 D | touch.c | 265 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 D | utilities.c | 155 isdst = ptm->tm_isdst; in tv_to_str() 157 ptm->tm_isdst = isdst; in tv_to_str()
|
/freebsd/lib/libc/stdtime/ |
H A D | strftime.c | 473 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 D | pom.c | 124 tmd.tm_isdst = -1; in main() 130 tmd.tm_isdst = -1; in main()
|
/freebsd/sbin/dump/ |
H A D | unctime.c | 48 then.tm_isdst = -1; in unctime()
|
/freebsd/usr.bin/at/ |
H A D | parsetime.c | 318 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 D | tm2time.c | 51 tm.tm_isdst = local ? -1 : 0; in tm2time()
|
H A D | strftime.c | 351 tm->tm_isdst ? in strftime() 367 tzname[tm->tm_isdst] in strftime()
|
/freebsd/usr.sbin/cron/cron/ |
H A D | externs.h | 76 #define TZONE(tm) tzname[(tm).tm_isdst]
|
/freebsd/contrib/unbound/compat/ |
H A D | gmtime_r.c | 97 tmp->tm_isdst = 0;
|
/freebsd/usr.bin/chpass/ |
H A D | util.c | 129 lt->tm_isdst = -1; in atot()
|
/freebsd/contrib/lua/src/ |
H A D | loslib.c | 239 setboolfield(L, "isdst", stm->tm_isdst); in setallfields() 358 ts.tm_isdst = getboolfield(L, "isdst"); in os_time()
|
/freebsd/include/ |
H A D | time.h | 107 int tm_isdst; /* Daylight Savings Time flag */ member
|