tz 53 maint/gnulib/lib/ctime.c const char *tz = getenv ("TZ"); tz 54 maint/gnulib/lib/ctime.c if (tz != NULL && strchr (tz, '/') != NULL) tz 78 maint/gnulib/lib/gettimeofday.c gettimeofday (struct timeval *restrict tv, void *restrict tz) tz 128 maint/gnulib/lib/gettimeofday.c int result = gettimeofday (&otv, (struct timezone *) tz); tz 135 maint/gnulib/lib/gettimeofday.c int result = gettimeofday (tv, (struct timezone *) tz); tz 53 maint/gnulib/lib/localtime.c const char *tz = getenv ("TZ"); tz 54 maint/gnulib/lib/localtime.c if (tz != NULL && strchr (tz, '/') != NULL) tz 94 maint/gnulib/lib/mktime.c const char *tz = getenv ("TZ"); tz 95 maint/gnulib/lib/mktime.c if (tz != NULL && strchr (tz, '/') != NULL) tz 121 maint/gnulib/lib/nstrftime.c # define mktime_z(tz, tm) mktime (tm) tz 394 maint/gnulib/lib/nstrftime.c # define extra_args , tz, ns tz 395 maint/gnulib/lib/nstrftime.c # define extra_args_spec , timezone_t tz, int ns tz 511 maint/gnulib/lib/nstrftime.c if (!tz) tz 520 maint/gnulib/lib/nstrftime.c tzname_vec = tz->tzname_copy; tz 1194 maint/gnulib/lib/nstrftime.c t = mktime_z (tz, <m); tz 1418 maint/gnulib/lib/nstrftime.c if (!tz) tz 1438 maint/gnulib/lib/nstrftime.c lt = mktime_z (tz, <m); tz 1608 maint/gnulib/lib/parse-datetime.y int tz = pc->time_zone; tz 1612 maint/gnulib/lib/parse-datetime.y tz += 60 * 60; tz 1615 maint/gnulib/lib/parse-datetime.y snprintf (&buf[m], n - m, " TZ=%s", time_zone_str (tz, time_zone_buf)); tz 1742 maint/gnulib/lib/parse-datetime.y timezone_t tz = tzdefault; tz 1781 maint/gnulib/lib/parse-datetime.y tz = tz1; tz 1793 maint/gnulib/lib/parse-datetime.y if (! localtime_rz (tz, &now->tv_sec, &tmp)) tz 1857 maint/gnulib/lib/parse-datetime.y if (localtime_rz (tz, &probe, &probe_tm) && probe_tm.tm_zone tz 1924 maint/gnulib/lib/parse-datetime.y if (tz != tzdefault) tz 2026 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz, &tm); tz 2090 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz, &tm); tz 2159 maint/gnulib/lib/parse-datetime.y Start = mktime_z (tz, &tm); tz 2317 maint/gnulib/lib/parse-datetime.y if (tm.tm_isdst != -1 && localtime_rz (tz, &result->tv_sec, &lmt) tz 2346 maint/gnulib/lib/parse-datetime.y if (localtime_rz (tz, &result->tv_sec, &lmt)) tz 2370 maint/gnulib/lib/parse-datetime.y if (tz != tzdefault) tz 2371 maint/gnulib/lib/parse-datetime.y tzfree (tz); tz 2398 maint/gnulib/lib/parse-datetime.y timezone_t tz = tzalloc (tzstring); tz 2399 maint/gnulib/lib/parse-datetime.y if (!tz) tz 2401 maint/gnulib/lib/parse-datetime.y bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); tz 2402 maint/gnulib/lib/parse-datetime.y tzfree (tz); tz 53 maint/gnulib/lib/strftime-fixes.c const char *tz = getenv ("TZ"); tz 54 maint/gnulib/lib/strftime-fixes.c if (tz != NULL && strchr (tz, '/') != NULL) tz 70 maint/gnulib/lib/time_rz.c timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size)); tz 71 maint/gnulib/lib/time_rz.c if (tz) tz 73 maint/gnulib/lib/time_rz.c tz->next = NULL; tz 75 maint/gnulib/lib/time_rz.c tz->tzname_copy[0] = tz->tzname_copy[1] = NULL; tz 77 maint/gnulib/lib/time_rz.c tz->tz_is_set = !!name; tz 78 maint/gnulib/lib/time_rz.c tz->abbrs[0] = '\0'; tz 80 maint/gnulib/lib/time_rz.c extend_abbrs (tz->abbrs, name, name_size); tz 82 maint/gnulib/lib/time_rz.c return tz; tz 90 maint/gnulib/lib/time_rz.c save_abbr (timezone_t tz, struct tm *tm) tz 118 maint/gnulib/lib/time_rz.c zone_copy = tz->abbrs; tz 122 maint/gnulib/lib/time_rz.c if (! (*zone_copy || (zone_copy == tz->abbrs && tz->tz_is_set))) tz 125 maint/gnulib/lib/time_rz.c if (zone_size < tz->abbrs + ABBR_SIZE_MIN - zone_copy) tz 129 maint/gnulib/lib/time_rz.c tz = tz->next = tzalloc (zone); tz 130 maint/gnulib/lib/time_rz.c if (!tz) tz 132 maint/gnulib/lib/time_rz.c tz->tz_is_set = 0; tz 133 maint/gnulib/lib/time_rz.c zone_copy = tz->abbrs; tz 139 maint/gnulib/lib/time_rz.c if (!*zone_copy && tz->next) tz 141 maint/gnulib/lib/time_rz.c tz = tz->next; tz 142 maint/gnulib/lib/time_rz.c zone_copy = tz->abbrs; tz 152 maint/gnulib/lib/time_rz.c tz->tzname_copy[tzname_index] = zone_copy; tz 161 maint/gnulib/lib/time_rz.c tzfree (timezone_t tz) tz 163 maint/gnulib/lib/time_rz.c if (tz != local_tz) tz 164 maint/gnulib/lib/time_rz.c while (tz) tz 166 maint/gnulib/lib/time_rz.c timezone_t next = tz->next; tz 167 maint/gnulib/lib/time_rz.c free (tz); tz 168 maint/gnulib/lib/time_rz.c tz = next; tz 185 maint/gnulib/lib/time_rz.c setenv_TZ (char const *tz) tz 187 maint/gnulib/lib/time_rz.c return tz ? setenv ("TZ", tz, 1) : unsetenv ("TZ"); tz 194 maint/gnulib/lib/time_rz.c change_env (timezone_t tz) tz 196 maint/gnulib/lib/time_rz.c if (setenv_TZ (tz->tz_is_set ? tz->abbrs : NULL) != 0) tz 207 maint/gnulib/lib/time_rz.c set_tz (timezone_t tz) tz 211 maint/gnulib/lib/time_rz.c ? tz->tz_is_set && strcmp (tz->abbrs, env_tz) == 0 tz 212 maint/gnulib/lib/time_rz.c : !tz->tz_is_set) tz 219 maint/gnulib/lib/time_rz.c if (! change_env (tz)) tz 234 maint/gnulib/lib/time_rz.c revert_tz (timezone_t tz) tz 236 maint/gnulib/lib/time_rz.c if (tz == local_tz) tz 241 maint/gnulib/lib/time_rz.c bool ok = change_env (tz); tz 244 maint/gnulib/lib/time_rz.c tzfree (tz); tz 252 maint/gnulib/lib/time_rz.c localtime_rz (timezone_t tz, time_t const *t, struct tm *tm) tz 269 maint/gnulib/lib/time_rz.c if (!tz) tz 273 maint/gnulib/lib/time_rz.c timezone_t old_tz = set_tz (tz); tz 276 maint/gnulib/lib/time_rz.c bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); tz 286 maint/gnulib/lib/time_rz.c mktime_z (timezone_t tz, struct tm *tm) tz 288 maint/gnulib/lib/time_rz.c if (!tz) tz 292 maint/gnulib/lib/time_rz.c timezone_t old_tz = set_tz (tz); tz 307 maint/gnulib/lib/time_rz.c ok = ok && save_abbr (tz, &tm_1); tz 55 maint/gnulib/lib/tzset.c const char *tz = getenv ("TZ"); tz 56 maint/gnulib/lib/tzset.c if (tz != NULL && strchr (tz, '/') != NULL) tz 54 maint/gnulib/lib/wcsftime.c const char *tz = getenv ("TZ"); tz 55 maint/gnulib/lib/wcsftime.c if (tz != NULL && strchr (tz, '/') != NULL) tz 89 maint/gnulib/tests/test-nstrftime.c timezone_t tz; tz 164 maint/gnulib/tests/test-nstrftime.c timezone_t tz = tza->tz; tz 171 maint/gnulib/tests/test-nstrftime.c if (!tz && tza->setting) tz 173 maint/gnulib/tests/test-nstrftime.c tz = tzalloc (tza->setting); tz 174 maint/gnulib/tests/test-nstrftime.c if (!tz) tz 180 maint/gnulib/tests/test-nstrftime.c tza->tz = tz; tz 185 maint/gnulib/tests/test-nstrftime.c if (!localtime_rz (tz, <[i].t, &tm)) tz 193 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, format, &tm, tz, 0); tz 202 maint/gnulib/tests/test-nstrftime.c || (!tz && n == strlen (LT[i].exp)