Searched refs:old_tz (Results 1 – 6 of 6) sorted by relevance
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | date.c | 62 char *new_tz = NULL, *old_tz, *s = str; in parse_date() local 72 old_tz = getenv("TZ"); in parse_date() 79 if (old_tz) setenv("TZ", old_tz, 1); in parse_date()
|
/third_party/toybox/toys/posix/ |
D | date.c | 65 char *new_tz = NULL, *old_tz, *s = str; in parse_date() local 75 old_tz = getenv("TZ"); in parse_date() 82 if (old_tz) setenv("TZ", old_tz, 1); in parse_date()
|
/third_party/glib/glib/tests/ |
D | timer.c | 156 gchar *old_tz = g_strdup (g_getenv ("TZ")); in test_timeval_from_iso8601() local 233 if (old_tz != NULL) in test_timeval_from_iso8601() 234 g_assert_true (g_setenv ("TZ", old_tz, TRUE)); in test_timeval_from_iso8601() 238 g_free (old_tz); in test_timeval_from_iso8601()
|
D | gdatetime.c | 2739 gchar *old_tz = g_strdup (g_getenv ("TZ")); in test_identifier() local 2797 if (old_tz != NULL) in test_identifier() 2798 g_assert_true (g_setenv ("TZ", old_tz, TRUE)); in test_identifier() 2802 g_free (old_tz); in test_identifier()
|
/third_party/musl/src/time/ |
D | __tz.c | 29 static char *old_tz = old_tz_buf; variable 131 if (old_tz && !strcmp(s, old_tz)) return; in do_tzset() 146 old_tz = malloc(old_tz_size); in do_tzset() 148 if (old_tz) memcpy(old_tz, s, i+1); in do_tzset()
|
/third_party/musl/porting/linux/user/src/time/ |
D | __tz.c | 51 static char *old_tz = old_tz_buf; variable 178 if (old_tz && !strcmp(s, old_tz)) { in do_tzset() 199 old_tz = malloc(old_tz_size); in do_tzset() 201 if (old_tz) memcpy(old_tz, s, i+1); in do_tzset()
|