/glibc-2.36/time/ |
D | tzset.c | 191 const char *tz = *tzp; in parse_offset() local 193 && (*tz == '\0' || (*tz != '+' && *tz != '-' && !isdigit (*tz)))) in parse_offset() 197 if (*tz == '-' || *tz == '+') in parse_offset() 198 sign = *tz++ == '-' ? 1 : -1; in parse_offset() 201 *tzp = tz; in parse_offset() 207 if (sscanf (tz, "%hu%n:%hu%n:%hu%n", in parse_offset() 221 *tzp = tz + consumed; in parse_offset() 231 const char *tz = *tzp; in parse_rule() local 236 tz += *tz == ','; in parse_rule() 239 if (*tz == 'J' || isdigit (*tz)) in parse_rule() [all …]
|
D | gettimeofday.c | 26 ___gettimeofday (struct timeval *restrict tv, void *restrict tz) in ___gettimeofday() argument 28 if (__glibc_unlikely (tz != 0)) in ___gettimeofday() 29 memset (tz, 0, sizeof (struct timezone)); in ___gettimeofday()
|
D | settimeofday.c | 25 __settimeofday (const struct timeval *tv, const struct timezone *tz) in __settimeofday() argument 27 if (__glibc_unlikely (tz != 0)) in __settimeofday() 34 return __settimezone (tz); in __settimeofday()
|
D | tst-posixtz.c | 10 const char *tz; member 43 printf ("TZ = \"%s\", time = %jd => ", tests[cnt].tz, in do_test() 47 setenv ("TZ", tests[cnt].tz, 1); in do_test()
|
D | tst-mktime2.c | 43 set_timezone (const char *tz) in set_timezone() argument 45 printf ("info: setting TZ=%s\n", tz); in set_timezone() 46 if (setenv ("TZ", tz, 1) != 0) in set_timezone()
|
D | Makefile | 92 tz-cflags = -DTZDIR='"$(zonedir)"' \ 96 CFLAGS-tzfile.c += $(tz-cflags) 97 CFLAGS-tzset.c += $(tz-cflags)
|
D | tst-getdate.c | 32 const char *tz; member 115 setenv ("TZ", tests[i].tz, 1); in do_test()
|
D | mktime.c | 94 const char *tz = getenv ("TZ"); in my_tzset() local 95 if (tz != NULL && strchr (tz, '/') != NULL) in my_tzset()
|
D | settimezone.c | 24 __settimezone (const struct timezone *tz) in __settimezone() argument
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | gettimeofday.c | 32 __gettimeofday_syscall (struct timeval *restrict tv, void *restrict tz) in __gettimeofday_syscall() argument 34 if (__glibc_unlikely (tz != 0)) in __gettimeofday_syscall() 35 memset (tz, 0, sizeof *tz); in __gettimeofday_syscall() 36 return INLINE_SYSCALL_CALL (gettimeofday, tv, tz); in __gettimeofday_syscall() 48 __gettimeofday (struct timeval *restrict tv, void *restrict tz) 50 if (__glibc_unlikely (tz != 0)) 51 memset (tz, 0, sizeof *tz); 53 return INLINE_VSYSCALL (gettimeofday, 2, tv, tz); 63 __gettimeofday64 (struct __timeval64 *restrict tv, void *restrict tz) 65 if (__glibc_unlikely (tz != 0)) [all …]
|
D | settimeofday.c | 26 __settimeofday64 (const struct __timeval64 *tv, const struct timezone *tz) in __settimeofday64() argument 29 if (__glibc_unlikely (tz != 0)) in __settimeofday64() 36 return __settimezone (tz); in __settimeofday64() 47 __settimeofday (const struct timeval *tv, const struct timezone *tz) in libc_hidden_def() 50 return __settimeofday64 (NULL, tz); in libc_hidden_def() 54 return __settimeofday64 (&tv64, tz); in libc_hidden_def()
|
D | settimezone.c | 29 __settimezone (const struct timezone *tz) in __settimezone() argument 32 return INLINE_SYSCALL_CALL (settimeofday, NULL, tz); in __settimezone()
|
/glibc-2.36/timezone/ |
D | zdump.c | 216 mktime_z(timezone_t tz, struct tm *tmp) in mktime_z() argument 289 my_localtime_rz(timezone_t tz, time_t *tp, struct tm *tmp) in my_localtime_rz() argument 291 tmp = localtime_rz(tz, tp, tmp); in my_localtime_rz() 297 t = mktime_z(tz, &tm); in my_localtime_rz() 524 timezone_t tz = tzalloc(argv[i]); in main() local 529 if (!tz) { in main() 534 show(tz, argv[i], now, false); in main() 535 tzfree(tz); in main() 541 show(tz, argv[i], t, true); in main() 543 show(tz, argv[i], t, true); in main() [all …]
|
D | tst-tzset.c | 150 char tz[16]; in do_test() local 151 snprintf (tz, sizeof (tz), "XT%d", i); in do_test() 152 if (setenv ("TZ", tz, 1) < 0) in do_test() 158 if (strcmp (tzname[0], tz) == 0) in do_test() 160 printf ("Unexpected success for %s\n", tz); in do_test()
|
D | Makefile | 26 tests := test-tz tst-timezone tst-tzset tst-bz28707 59 tz-cflags = -DTZDIR='"$(zonedir)"' \ 69 CFLAGS-zdump.c += $(tz-cflags) 70 CFLAGS-zic.c += $(tz-cflags) -Wno-unused-variable 80 $(objpfx)test-tz.out: $(addprefix $(testdata)/, America/New_York Etc/UTC UTC) 90 test-tz-ENV = TZDIR=$(testdata)
|
D | README | 19 These packages may be found at https://ftp.iana.org/tz/releases/. 20 Commentary should be addressed to tz@iana.org.
|
D | etcetera | 7 # people in areas not otherwise covered by the tz files could "zic -l" 9 # tz files cover almost all the inhabited world, and the only practical 40 # (which is not yet supported by the tz code) allows for
|
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/ |
D | osf_settimeofday.c | 33 const struct timezone *tz) in __settimeofday_tv32() argument 35 if (__glibc_unlikely (tz != 0)) in __settimeofday_tv32() 42 return __settimezone (tz); in __settimeofday_tv32()
|
D | osf_gettimeofday.c | 33 __gettimeofday_tv32 (struct __timeval32 *restrict tv32, void *restrict tz) in __gettimeofday_tv32() argument 35 if (__glibc_unlikely (tz != 0)) in __gettimeofday_tv32() 36 memset (tz, 0, sizeof (struct timezone)); in __gettimeofday_tv32()
|
/glibc-2.36/include/ |
D | time.h | 65 extern void __tzset_parse_tz (const char *tz) attribute_hidden; 260 const struct timezone *tz); 263 void *restrict tz);
|
/glibc-2.36/localedata/ |
D | ro_RO.UTF-8.in | 25 tz
|
D | ha_NG.UTF-8.in | 29 tz
|
D | cy_GB.UTF-8.in | 61 tz
|
D | sq_AL.UTF-8.in | 59 tz
|
D | se_NO.UTF-8.in | 81 tz
|