Home
last modified time | relevance | path

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

/external/v8/src/base/platform/
Dplatform-posix-time.cc17 if (!t || !t->tm_zone) return ""; in LocalTimezone()
18 return t->tm_zone; in LocalTimezone()
/external/python/cpython3/Lib/test/
Dtest_time.py703 if lt.tm_zone is None:
706 self.assertEqual(lt.tm_zone, time.tzname[lt.tm_isdst])
719 self.assertEqual(new_lt.tm_zone, lt.tm_zone)
722 self.assertEqual(new_lt9.tm_zone, lt.tm_zone)
727 self.assertEqual(t.tm_zone, 'UTC')
740 self.assertIs(lt.tm_zone, None)
/external/python/cpython2/Modules/
Dtimemodule.c836 strncpy(janname, p->tm_zone ? p->tm_zone : " ", 9); in inittimezone()
841 strncpy(julyname, p->tm_zone ? p->tm_zone : " ", 9); in inittimezone()
/external/u-boot/include/linux/
Dtime.h41 __const char *tm_zone; /* Timezone abbreviation. */ member
/external/python/cpython3/Modules/
Dtimemodule.c438 PyUnicode_DecodeLocale(p->tm_zone, "surrogateescape")); in tmtotuple()
585 p->tm_zone = item == Py_None ? NULL : (char*)PyUnicode_AsUTF8(item); in gettmarg()
1525 strncpy(zone, p->tm_zone ? p->tm_zone : " ", n); in get_zone()
D_datetimemodule.c5662 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp()
/external/libchrome/base/time/
Dtime_exploded_posix.cc190 timestruct.tm_zone = nullptr; // not a POSIX field, so mktime/timegm ignore in FromExploded()
/external/python/cpython3/Lib/email/
Dutils.py365 tz = datetime.timezone(delta, localtm.tm_zone)
/external/python/cpython3/Doc/library/
Dtime.rst95 and :attr:`tm_zone` attributes when platform supports corresponding
99 The :class:`struct_time` attributes :attr:`tm_gmtoff` and :attr:`tm_zone`
563 | N/A | :attr:`tm_zone` | abbreviation of timezone name |
863 :attr:`tm_zone` results from :func:`localtime` to obtain timezone information.
/external/ImageMagick/config/
Dconfig.h.in516 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
614 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
618 /* Define to 1 if you don't have `tm_zone' but do have the external array
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h388 const char *tm_zone; member
Dsanitizer_platform_limits_posix.cc1115 CHECK_SIZE_AND_OFFSET(tm, tm_zone);
Dsanitizer_common_interceptors.inc945 if (tm->tm_zone) {
946 // Can not use COMMON_INTERCEPTOR_WRITE_RANGE here, because tm->tm_zone
948 COMMON_INTERCEPTOR_INITIALIZE_RANGE(tm->tm_zone,
949 REAL(strlen(tm->tm_zone)) + 1);
1085 // initialize the entire struct tm. For example, tm_zone pointer is left
/external/python/cpython2/
Dpyconfig.h.in755 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
886 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
893 /* Define to 1 if you don't have `tm_zone' but do have the external array
Dconfigure.ac85 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
4416 # Before we can test tzset, we need to check if struct tm has a tm_zone
4439 tm->tm_zone does not exist since it is the alternative way
4479 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
4481 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
Dconfigure14480 tm->tm_zone does not exist since it is the alternative way
14520 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
14522 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
/external/python/cpython3/
Dpyconfig.h.in1011 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
1172 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
1179 /* Define to 1 if you don't have `tm_zone' but do have the external array
Dconfigure.ac125 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
4962 tm->tm_zone does not exist since it is the alternative way
5002 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
5004 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
Dconfigure15865 tm->tm_zone does not exist since it is the alternative way
15905 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
15907 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b1.rst460 Attributes tm_gmtoff and tm_zone are now available on all platforms in the
/external/python/cpython3/Lib/
Ddatetime.py1804 zone = localtm.tm_zone
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2112 EXPECT_NE(0U, strlen(time->tm_zone)); in TEST()
2124 EXPECT_NE(0U, strlen(time.tm_zone)); in TEST()
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1531 :attr:`tm_zone` are now available on all platforms.
/external/python/cpython3/Misc/
DHISTORY7308 - Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields
7310 time.localtime() and time.strptime() functions now have tm_zone and
19433 - Test in configure.in that checks for tzset no longer dependent on tm->tm_zone
/external/python/cpython2/Misc/
DHISTORY2049 - Test in configure.in that checks for tzset no longer dependent on tm->tm_zone