Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 25 of 91) sorted by relevance

1234

/netbsd/src/lib/libc/time/
Dchecktab.awk112 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]) {
155 zone_table, tz2NR[tz], tz2comments[tz] \
[all …]
Dzdump.c230 mktime_z(timezone_t tz, struct tm *tmp) in mktime_z() argument
344 my_localtime_rz(timezone_t tz, const time_t *tp, struct tm *tmp) argument
346 tmp = localtime_rz(tz, tp, tmp);
352 t = mktime_z(tz, &tm);
586 timezone_t tz = tzalloc(strcmp(argv[i], "-") == 0 local
593 if (!tz) {
597 show(tz, argv[i], now, false);
598 tzfree(tz);
604 show(tz, argv[i], t, true);
605 if (my_localtime_rz(tz, &t, &tm) == NULL
[all …]
DCONTRIBUTING1 # Contributing to the tz code and data
12 to <tz@iana.org> for use in the future. In your email, please give
23 "Theory and pragmatics of the tz code and data"
26 <https://lists.iana.org/hyperkitty/list/tz@iana.org/>
44 git clone https://github.com/eggert/tz.git
45 cd tz
68 make TOPDIR=$PWD/tz clean check install
87 * After reviewing the patch files, send the patches to <tz@iana.org>
94 <https://mm.icann.org/pipermail/tz/2018-February/026122.html>.
Dtzselect.ksh7 REPORT_BUGS_TO=tz@iana.org
455 tz = substr(ARGV[1], 2)
469 exit tz ~ tzpattern
483 say >&2 "'$tz' is not a conforming POSIX proleptic TZ string."
730 TZ_for_date=$TZDIR/$tz
800 say "$tz"
DREADME1 README for the tz distribution
7 The Time Zone Database (called tz, tzdb or zoneinfo) contains code and
13 See <https://www.iana.org/time-zones/repository/tz-link.html> or the
14 file tz-link.html for how to acquire the code and data.
26 See the file tz-how-to.html for examples of how to read the data files.
DTheory1 Theory and pragmatics of the tz code and data
6 Scope of the tz database
9 Accuracy of the tz database
16 ----- Scope of the tz database -----
18 The tz database attempts to record the history and predicted future of
37 As described below, reference source code for using the tz database is
38 also available. The tz code is upwards compatible with POSIX, an
54 program in the tz code. The Unicode Common Locale Data Repository
207 of standard time; see "Scope of the tz database".
226 They are problematic as they mean tz data entries invent
[all …]
DMakefile31 BUGEMAIL= tz@iana.org
595 WEB_PAGES= tz-art.html tz-how-to.html tz-link.html
596 CHECK_WEB_PAGES=theory.ck tz-art.ck tz-how-to.ck tz-link.ck
639 time2posix.3 tz-art.html tz-how-to.html tz-link.html \
Dstrptime.c121 timezone_t tz; in fromzone() local
133 tz = tzalloc(buf); in fromzone()
134 if (tz == NULL) in fromzone()
140 tm->TM_GMTOFF = tzgetgmtoff(tz, tm->tm_isdst); in fromzone()
146 tzfree(tz); in fromzone()
/netbsd/src/external/lgpl3/gmp/dist/tests/mpn/
Dt-gcdext_1.c50 mpz_t d, sz, tz, tmp; in one_test() local
54 mpz_init (tz); in one_test()
57 set_signed_limb (tz, t); in one_test()
60 mpz_addmul (d, mpz_roinit_n (tmp, &b, 1), tz); in one_test()
70 mpz_mul_ui (tz, tz, 2); in one_test()
72 && (abs_t == 1 || mpz_cmpabs (tz, mpz_roinit_n (tmp, &a_div_g, 1)) < 0)) in one_test()
76 mpz_clear (tz); in one_test()
Dt-bdiv.c133 mpz_t n, d, tz; in main() local
156 mpz_init (tz); in main()
201 mpz_urandomb (tz, rands, 32); in main()
202 t = mpz_get_ui (tz); in main()
350 mpz_clear (tz); in main()
Dt-div.c130 mpz_t n, d, q, r, tz, junk; in main() local
154 mpz_init (tz); in main()
219 mpz_urandomb (tz, rands, 32); in main()
220 t = mpz_get_ui (tz); in main()
492 mpz_clear (tz); in main()
/netbsd/src/lib/libcompat/4.1/
Dftime.c53 struct timezone tz; local
58 if (gettimeofday(&t, &tz) < 0)
62 tbp->timezone = tz.tz_minuteswest;
63 tbp->dstflag = tz.tz_dsttime;
/netbsd/src/external/lgpl3/gmp/dist/mini-gmp/tests/
Dt-mul.c37 mpz_t a, b, res, res_ui, ref, tz; in testmain() local
68 mpz_roinit_n (tz, t, 2*an); in testmain()
69 if (mpz_cmpabs (tz, ref)) in testmain()
98 mpz_roinit_n (tz, t, 2*an); in testmain()
99 if (mpz_cmp (tz, ref)) in testmain()
/netbsd/src/sys/fs/cd9660/
Dcd9660_node.c249 int y, m, d, hour, minute, second, tz; in cd9660_tstamp_conv7() local
257 tz = pi[6]; in cd9660_tstamp_conv7()
278 if (-48 <= tz && tz <= 52) in cd9660_tstamp_conv7()
279 crtime -= tz * 15 * 60; in cd9660_tstamp_conv7()
/netbsd/src/external/gpl3/gdb/dist/libiberty/
Dgettimeofday.c22 gettimeofday (struct timeval *tp, void *tz) in gettimeofday() argument
24 if (tz) in gettimeofday()
/netbsd/src/external/gpl3/gcc/dist/libiberty/
Dgettimeofday.c22 gettimeofday (struct timeval *tp, void *tz) in gettimeofday() argument
24 if (tz) in gettimeofday()
/netbsd/src/external/gpl3/binutils/dist/libiberty/
Dgettimeofday.c22 gettimeofday (struct timeval *tp, void *tz) in gettimeofday() argument
24 if (tz) in gettimeofday()
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dgettimeofday.c90 rpl_gettimeofday (struct timeval *tv, struct timezone *tz) in rpl_gettimeofday() argument
102 result = gettimeofday (tv, tz); in rpl_gettimeofday()
/netbsd/src/sys/arch/hpc/stand/hpcboot/
Dhpcmenu.cpp334 TIME_ZONE_INFORMATION tz; in setup_bootinfo() local
335 DWORD tzid = GetTimeZoneInformation(&tz); in setup_bootinfo()
348 bi.timezone = tz.Bias; in setup_bootinfo()
350 bi.timezone += tz.DaylightBias; in setup_bootinfo()
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dntploopstat126 eval 'sub time { local($tz) = pack("LL",0,0);
129 unless syscall(&SYS_gettimeofday,$tz,undef) == 0;
130 local($s,$us) = unpack("LL",$tz);
/netbsd/src/external/gpl3/gdb/dist/sim/ppc/
Demul_netbsd.c209 struct timezone tz, in write_timezone() argument
213 H2T(tz.tz_minuteswest); in write_timezone()
214 H2T(tz.tz_dsttime); in write_timezone()
215 emul_write_buffer(&tz, addr, sizeof(tz), processor, cia); in write_timezone()
759 struct timezone tz; in do_gettimeofday() local
760 int status = gettimeofday(&t, (tz_addr != 0 ? &tz : NULL)); in do_gettimeofday()
772 write_timezone(tz_addr, tz, processor, cia); in do_gettimeofday()
/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_wwvb.c260 int tz; /* time zone */ in wwvb_receive() local
325 tz = 0; in wwvb_receive()
336 &pp->second, &tmpchar, &dstchar, &tz) == 8) { in wwvb_receive()
/netbsd/src/bin/sh/
Dvar.c1505 char *tz; in get_tod() local
1518 tz = lookupvar("TZ"); in get_tod()
1521 if (tz != NULL) { in get_tod()
1522 if (tzs.b == NULL || strcmp(tzs.b, tz) != 0) { in get_tod()
1524 if (make_space(&tzs, strlen(tz) + 1)) { in get_tod()
1525 strcpy(tzs.b, tz); in get_tod()
1528 last_zone = zone = tzalloc(tz); in get_tod()
1531 zone = tzalloc(tz); in get_tod()
/netbsd/src/external/bsd/bzip2/dist/
Dblocksort.c612 { Int32 tz; \
613 tz = nextLo[az]; nextLo[az] = nextLo[bz]; nextLo[bz] = tz; \
614 tz = nextHi[az]; nextHi[az] = nextHi[bz]; nextHi[bz] = tz; \
615 tz = nextD [az]; nextD [az] = nextD [bz]; nextD [bz] = tz; }
/netbsd/src/external/gpl3/gdb/dist/sim/m32r/
Dtraps.c530 struct timezone tz; in m32r_trap() local
532 result = gettimeofday (&tv, &tz); in m32r_trap()
546 translate_endian_h2t (&tz, sizeof(tz)); in m32r_trap()
547 if ((s.write_mem) (cb, &s, arg2, (char *) &tz, sizeof(tz)) in m32r_trap()
548 != sizeof(tz)) in m32r_trap()

1234