Home
last modified time | relevance | path

Searched refs:tm_gmtoff (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.c199 if (tm->tm_gmtoff < 0) in make_date_time()
204 str[9] = (u_char)(labs(tm->tm_gmtoff) / 3600); in make_date_time()
205 str[10] = (u_char)((labs(tm->tm_gmtoff) % 3600) / 60); in make_date_time()
/freebsd/contrib/netbsd-tests/lib/libc/time/
H A Dt_strptime.c188 tm.tm_gmtoff = -1; in ztest1()
206 ATF_REQUIRE_MSG(tm.tm_gmtoff == value, in ztest1()
209 name, fmt, value, tm.tm_gmtoff); in ztest1()
210 printf("%s %s %ld\n", name, fmt, tm.tm_gmtoff); in ztest1()
/freebsd/usr.sbin/cron/cron/
H A Dcron.c236 && tm->tm_gmtoff != lasttm.tm_gmtoff ) {
238 diff = tm->tm_gmtoff - lasttm.tm_gmtoff;
280 time_t difftime = TargetTime + tm->tm_gmtoff - diff;
/freebsd/lib/libc/gen/
H A Dsyslog.c177 if (tm.tm_gmtoff < 0) { in vsyslog1()
179 tz_offset = -tm.tm_gmtoff; in vsyslog1()
182 tz_offset = tm.tm_gmtoff; in vsyslog1()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_pcf.c171 if ((tm.tm_isdst > 0 && tm.tm_gmtoff != 7200) in pcf_poll()
172 || (tm.tm_isdst == 0 && tm.tm_gmtoff != 3600) in pcf_poll()
/freebsd/contrib/tzcode/
H A Dtzconfig.h4 #define TM_GMTOFF tm_gmtoff
H A Dprivate.h152 /* Enable tm_gmtoff, tm_zone, and environ on GNUish systems. */
805 # define TM_GMTOFF tm_gmtoff
924 standard doesn't say what to return and when tm_gmtoff can help
/freebsd/libexec/bootpd/
H A Dtzone.c43 secondswest = -tm->tm_gmtoff; in tzone_init()
/freebsd/sbin/adjkerntz/
H A Dadjkerntz.c197 offset = -local.tm_gmtoff; in main()
249 offset = -local.tm_gmtoff; in main()
/freebsd/usr.sbin/newsyslog/
H A Dptimes.c532 if (tm.tm_gmtoff < 0) { in ptimeget_ctime_rfc5424()
534 tz_offset = -tm.tm_gmtoff; in ptimeget_ctime_rfc5424()
537 tz_offset = tm.tm_gmtoff; in ptimeget_ctime_rfc5424()
/freebsd/include/
H A Dtime.h108 long tm_gmtoff; /* offset from UTC in seconds */ member
/freebsd/usr.bin/calendar/
H A Dcalendar.c157 utcoffset = tm.tm_gmtoff; in main()
/freebsd/contrib/file/src/
H A Dcdf_time.c131 tm.tm_gmtoff = 0; in cdf_timestamp_to_timespec()
/freebsd/crypto/heimdal/lib/roken/
H A Dstrftime.c348 (long)tm->tm_gmtoff in strftime()
/freebsd/usr.sbin/ndp/
H A Dndp.c189 assert(tm->tm_gmtoff > INT32_MIN && tm->tm_gmtoff < INT32_MAX); in utc_offset()
191 return (tm->tm_gmtoff); in utc_offset()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.h224 long int tm_gmtoff; member
H A Dsanitizer_platform_limits_freebsd.cpp499 CHECK_SIZE_AND_OFFSET(tm, tm_gmtoff);
H A Dsanitizer_platform_limits_posix.h424 long int tm_gmtoff; member
H A Dsanitizer_platform_limits_posix.cpp1185 CHECK_SIZE_AND_OFFSET(tm, tm_gmtoff);
/freebsd/lib/libc/stdtime/
H A Dstrftime.c305 mkt = timeoff(&tm, t->tm_gmtoff); in _fmt()
/freebsd/contrib/file/
H A Dconfigure.ac146 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
H A Dconfig.h.in197 /* Define to 1 if 'tm_gmtoff' is a member of 'struct tm'. */
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y835 yyTimezone = tm->tm_gmtoff; in get_date()
/freebsd/contrib/diff/lib/
H A Dstrftime.c1245 diff = tp->tm_gmtoff;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp1240 tm_epoch.tm_gmtoff = 0; in GetOSXEpoch()

12