| /src/lib/libc/time/ |
| checktab.awk | 3 # Check tz tables for consistency. 112 tz = $3 120 tztab[tz] = 1 121 tz2comments[tz] = comments 122 tz2NR[tz] = zone_NR 125 cctz = cc tz 145 tz = substr (cctz, 3) 147 comments_needed[tz] = cc 152 tz = substr (cctz, 3) 153 if (!comments_needed[tz] && tz2comments[tz]) [all...] |
| zdump.c | 223 mktime_z(timezone_t tz, struct tm *tmp) 238 if (setenv("TZ", val, 1) != 0) { 247 static char const TZeq[TZeqlen] = "TZ="; 337 my_localtime_rz(timezone_t tz, const time_t *tp, struct tm *tmp) 339 tmp = localtime_rz(tz, tp, tmp); 345 t = mktime_z(tz, &tm); 579 timezone_t tz = tzalloc(strcmp(argv[i], "-") == 0 local 586 if (!tz) { 590 show(tz, argv[i], now, false); 591 tzfree(tz); [all...] |
| tzselect.ksh | 2 # Ask the user about the time zone, and output the resulting TZ value to stdout. 7 REPORT_BUGS_TO=tz@iana.org 359 fmt = "TZ='\''%s'\'' date +'\''%d %%Y %%m %%d %%H:%%M %%a %%b\t%s'\''\n" 393 'Please select a continent, ocean, "coord", "TZ", "time", or "now".' 430 "TZ - I want to specify the timezone using a proleptic TZ string." \ 453 TZ) 454 # Ask the user for a proleptic TZ string. Check that it conforms. 457 tz = substr(ARGV[1], 2) 471 exit tz ~ tzpatter [all...] |
| Makefile | 44 BUGEMAIL= tz@iana.org 69 # The POSIXRULES macro controls interpretation of POSIX-like TZ 70 # settings like TZ='EET-2EEST' that lack DST transition rules. 315 # not needed by the main-program tz code, which is single-threaded. 339 # -DTZ_CHANGE_INTERVAL=N if functions depending on TZ should check 343 # to respond to changes to a file selected by TZ, including to 344 # TZDEFAULT (normally /etc/localtime) if TZ is unset. 347 # -DTZ_DOMAIN=\"foo\" to use "foo" for gettext domain name; default is "tz" 351 # DST transitions for proleptic format TZ strings lacking them, 355 # It also mishandles settings like TZ='EET-2EEST' for eastern Europe [all...] |
| strptime.c | 121 timezone_t tz; local 133 tz = tzalloc(buf); 134 if (tz == NULL) 140 tm->TM_GMTOFF = tzgetgmtoff(tz, tm->tm_isdst); 146 tzfree(tz);
|
| /src/lib/libcompat/4.1/ |
| ftime.c | 53 struct timezone tz; local 58 if (gettimeofday(&t, &tz) < 0) 62 tbp->timezone = tz.tz_minuteswest; 63 tbp->dstflag = tz.tz_dsttime;
|
| /src/sys/fs/cd9660/ |
| cd9660_node.c | 249 int y, m, d, hour, minute, second, tz; local 257 tz = pi[6]; 278 if (-48 <= tz && tz <= 52) 279 crtime -= tz * 15 * 60;
|
| /src/sys/arch/hpc/stand/hpcboot/ |
| hpcmenu.cpp | 334 TIME_ZONE_INFORMATION tz; local 335 DWORD tzid = GetTimeZoneInformation(&tz); 348 bi.timezone = tz.Bias; 350 bi.timezone += tz.DaylightBias;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_common_syscalls.inc | 219 PRE_SYSCALL(gettimeofday)(void *tv, void *tz) {} 221 POST_SYSCALL(gettimeofday)(long res, void *tv, void *tz) { 224 if (tz) POST_WRITE(tz, struct_timezone_sz); 228 PRE_SYSCALL(settimeofday)(void *tv, void *tz) {} 230 POST_SYSCALL(settimeofday)(long res, void *tv, void *tz) { 233 if (tz) POST_WRITE(tz, struct_timezone_sz);
|
| /src/usr.bin/pr/ |
| pr.c | 1302 struct timezone tz; local 1323 if (gettimeofday(&tv, &tz) < 0) { 1347 if (gettimeofday(&tv, &tz) < 0) { 1379 if (gettimeofday(&tv, &tz) < 0) {
|
| /src/sys/dev/bluetooth/ |
| btmagic.c | 1317 int id, nf, az, aw, tz, tw; local 1359 tz = az - sc->sc_az[id]; 1364 dz += btmagic_scale(tz, &sc->sc_rz, 1368 } else if (abs(tz) > sc->sc_dist
|
| /src/sys/arch/hpcmips/stand/pbsdboot/ |
| main.c | 810 TIME_ZONE_INFORMATION tz; local 812 GetTimeZoneInformation(&tz); 824 bi->timezone = tz.Bias;
|
| /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
| linux_syscall_hooks.h | 32 #define __sanitizer_syscall_pre_gettimeofday(tv, tz) \ 33 __sanitizer_syscall_pre_impl_gettimeofday((long)(tv), (long)(tz)) 34 #define __sanitizer_syscall_post_gettimeofday(res, tv, tz) \ 35 __sanitizer_syscall_post_impl_gettimeofday(res, (long)(tv), (long)(tz)) 36 #define __sanitizer_syscall_pre_settimeofday(tv, tz) \ 37 __sanitizer_syscall_pre_impl_settimeofday((long)(tv), (long)(tz)) 38 #define __sanitizer_syscall_post_settimeofday(res, tv, tz) \ 39 __sanitizer_syscall_post_impl_settimeofday(res, (long)(tv), (long)(tz)) 2020 void __sanitizer_syscall_pre_impl_gettimeofday(long tv, long tz); 2021 void __sanitizer_syscall_post_impl_gettimeofday(long res, long tv, long tz); [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
| msan_interceptors.cc | 599 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { 601 int res = REAL(gettimeofday)(tv, tz); 604 if (tz) 605 __msan_unpoison(tz, 8);
|
| /src/sys/external/mit/xen-include-public/dist/xen/include/public/ |
| platform.h | 153 int16_t tz; member in struct:xenpf_efi_time
|
| /src/sbin/newfs_udf/ |
| udf_core.c | 849 uint16_t tz; local 887 tz = udf_rw16(timestamp->type_tz); 888 tz &= 0x0fff; /* only lower 12 bits are significant */ 889 if (tz & 0x0800) /* sign extension */ 890 tz |= 0xf000; 896 if ((int16_t) tz != -2047) 897 secs -= (int16_t) tz * 60;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
| msan_test.cc | 2170 struct timezone tz; local 2172 break_optimization(&tz); 2174 ASSERT_EQ(8U, sizeof(tz)); 2177 EXPECT_POISONED(tz.tz_minuteswest); 2178 EXPECT_POISONED(tz.tz_dsttime); 2179 ASSERT_EQ(0, gettimeofday(&tv, &tz)); 2182 EXPECT_NOT_POISONED(tz.tz_minuteswest); 2183 EXPECT_NOT_POISONED(tz.tz_dsttime);
|
| /src/sys/fs/udf/ |
| udf_subr.c | 4291 uint16_t tz; local 4312 tz = udf_rw16(timestamp->type_tz); 4313 tz &= 0x0fff; /* only lower 12 bits are significant */ 4314 if (tz & 0x0800) /* sign extension */ 4315 tz |= 0xf000; 4320 if ((int16_t) tz != -2047) 4321 secs -= (int16_t) tz * 60;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_interceptors.cc | 2080 TSAN_INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { 2081 SCOPED_TSAN_INTERCEPTOR(gettimeofday, tv, tz); 2083 return REAL(gettimeofday)(tv, tz);
|