Searched refs:tz (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-10.0-release/contrib/ldns/compat/
H A Dtimegm.c16 char *tz; local
18 tz = getenv("TZ");
22 if (tz) {
24 snprintf(buf, sizeof(buf), "TZ=%s", tz);
25 putenv(tz);
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dgettimeofday.c12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz})
15 that @var{tz} be NULL. Returns 0 on success, -1 on failure.
22 gettimeofday (struct timeval *tp, void *tz) argument
24 if (tz)
/freebsd-10.0-release/lib/libc/sys/
H A Dgettimeofday.c35 int __gettimeofday(struct timeval *tv, struct timezone *tz);
40 __gettimeofday(struct timeval *tv, struct timezone *tz) argument
44 error = __vdso_gettimeofday(tv, tz);
46 error = __sys_gettimeofday(tv, tz);
H A D__vdso_gettimeofday.c84 __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) argument
89 if (tz != NULL)
/freebsd-10.0-release/lib/libcompat/4.1/
H A Dftime.c42 struct timezone tz; local
45 if (gettimeofday(&t, &tz) < 0)
49 tbp->timezone = tz.tz_minuteswest;
50 tbp->dstflag = tz.tz_dsttime;
/freebsd-10.0-release/contrib/sendmail/src/
H A Darpadate.c66 char *tz; local
149 tz = NULL;
151 tz = lt->tm_name;
154 tz = lt->tm_zone;
161 tz = tzname[1];
163 tz = tzname[0];
165 tz = NULL;
172 tz = timezone(off, lt->tm_isdst);
191 if (tz != NULL && *tz !
[all...]
H A Dmain.c658 char *tz; local
663 tz = xalloc(tzlen);
664 (void) sm_strlcpyn(tz, tzlen, 2, "TZ=", p);
667 (void) putenv(tz);
/freebsd-10.0-release/sbin/adjkerntz/
H A Dadjkerntz.c82 struct timezone tz, *stz; local
167 if (gettimeofday(&tv, &tz)) {
213 diff = offset - tz.tz_minuteswest * 60 - kern_offset;
265 diff = offset - tz.tz_minuteswest * 60 - kern_offset;
279 if (tz.tz_dsttime != 0 || tz.tz_minuteswest != 0) {
280 tz.tz_dsttime = tz.tz_minuteswest = 0; /* zone info is garbage */
281 stz = &tz;
/freebsd-10.0-release/bin/date/
H A Ddate.c75 struct timezone tz; local
90 tz.tz_dsttime = tz.tz_minuteswest = 0;
97 tz.tz_dsttime = strtol(optarg, &endptr, 10) ? 1 : 0;
119 tz.tz_minuteswest = strtol(optarg, &endptr, 10);
140 if (set_timezone && settimeofday(NULL, &tz) != 0)
/freebsd-10.0-release/sys/fs/cd9660/
H A Dcd9660_node.c226 int y, m, d, hour, minute, second, tz; local
235 tz = ((signed char *)pi)[6]; /* Timezone value is signed. */
238 tz = 0;
259 if (-48 <= tz && tz <= 52)
260 crtime -= tz * 15 * 60;
/freebsd-10.0-release/sys/sys/
H A Dvdso.h64 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz);
/freebsd-10.0-release/usr.sbin/ctm/ctm/
H A Dctm_pass3.c62 char *tz; local
74 tz = getenv("TZ"); local
102 if (tz) {
103 if (setenv("TZ", tz, 1) < 0) WRONGDATE
/freebsd-10.0-release/contrib/ntp/ntpd/
H A Drefclock_wwvb.c228 int tz; /* time zone */ local
269 tz = 0;
280 &pp->second, &tmpchar, &dstchar, &tz) == 8)
H A Drefclock_acts.c449 int tz; /* WWVB timezone */ local
564 &pp->second, &dstchar, &tz) != 7) {
H A Drefclock_msfees.c70 bug->values[11] = (u_long)ees->tz;
262 char tz; /* timezone from clock */ member in struct:eesunit
852 ees->tz = istrue(cp[EESM_BST]) ? -1 : 0;
867 ees->tz, rbufp->recv_time.l_ui, &ees->yearstart,
/freebsd-10.0-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_pkt_randomizer.c137 struct timezone tz; local
147 gettimeofday(&tv, &tz);
/freebsd-10.0-release/contrib/bzip2/
H A Dblocksort.c610 { Int32 tz; \
611 tz = nextLo[az]; nextLo[az] = nextLo[bz]; nextLo[bz] = tz; \
612 tz = nextHi[az]; nextHi[az] = nextHi[bz]; nextHi[bz] = tz; \
613 tz = nextD [az]; nextD [az] = nextD [bz]; nextD [bz] = tz; }
/freebsd-10.0-release/sys/fs/udf/
H A Dudf_vnops.c218 } tz; local
270 tz.u_tz_offset = le16toh(time->type_tz);
271 tz.u_tz_offset &= 0x0fff;
272 if (tz.u_tz_offset & 0x0800)
273 tz.u_tz_offset |= 0xf000; /* extend the sign to 16 bits */
274 if ((le16toh(time->type_tz) & 0x1000) && (tz.s_tz_offset != -2047))
275 t->tv_sec -= tz.s_tz_offset * 60;
/freebsd-10.0-release/sys/boot/fdt/dts/
H A Dimx51x.dtsi70 tzic: tz-interrupt-controller@e0000000 {
H A Dimx53x.dtsi72 tzic: tz-interrupt-controller@0fffc000 {
/freebsd-10.0-release/sys/xen/interface/
H A Dplatform.h149 int16_t tz; member in struct:xenpf_efi_runtime_call::__anon11226::__anon11227::xenpf_efi_time
/freebsd-10.0-release/crypto/openssh/
H A Dauth-pam.c439 char *tz = getenv("TZ"); local
445 if (tz != NULL)
446 if (setenv("TZ", tz, 1) == -1)
/freebsd-10.0-release/usr.bin/calendar/calendars/de_DE.ISO8859-1/
H A Dcalendar.geschichte39 07/03 Schlacht von K�niggr�tz
/freebsd-10.0-release/contrib/wpa/src/eap_server/
H A Deap_server_pwd.c1014 struct timezone tz; local
1020 (void) gettimeofday(&tp, &tz);
/freebsd-10.0-release/sys/compat/freebsd32/
H A Dfreebsd32_misc.c1271 struct timezone tz, *tzp; local
1284 error = copyin(uap->tzp, &tz, sizeof(tz));
1287 tzp = &tz;

Completed in 280 milliseconds

12