Home
last modified time | relevance | path

Searched refs:tz_offset (Results 1 – 5 of 5) sorted by relevance

/external/google-benchmark/src/
Dtimers.cc194 char tz_offset[128]; in LocalDateTimeString() local
205 tz_len = std::strftime(tz_offset, sizeof(tz_offset), "%z", timeinfo_p); in LocalDateTimeString()
212 offset_minutes = ::strtol(tz_offset, NULL, 10); in LocalDateTimeString()
218 tz_len = ::snprintf(tz_offset, sizeof(tz_offset), "%c%02li:%02li", in LocalDateTimeString()
232 strncpy(tz_offset, "-00:00", kTzOffsetLen + 1); in LocalDateTimeString()
241 std::strncat(storage, tz_offset, sizeof(storage) - timestamp_len - 1); in LocalDateTimeString()
/external/wpa_supplicant_8/src/utils/
Dos_win32.c67 os_time_t tz_offset; in os_mktime() local
91 tz_offset = t2 - t1; in os_mktime()
93 tz_offset = 0; in os_mktime()
95 tz_offset = 0; in os_mktime()
97 *t = (os_time_t) t_local - tz_offset; in os_mktime()
Dos_unix.c141 os_time_t tz_offset; in os_mktime() local
165 tz_offset = t2 - t1; in os_mktime()
167 tz_offset = 0; in os_mktime()
169 tz_offset = 0; in os_mktime()
171 *t = (os_time_t) t_local - tz_offset; in os_mktime()
/external/python/dateutil/dateutil/test/
Dtest_utils.py22 @freeze_time(datetime(2014, 12, 15, 12), tz_offset=5)
27 @freeze_time(datetime(2014, 12, 15, 23), tz_offset=5)
Dtest_tz.py687 tz_offset = tz.tzoffset('+3', 3600)
688 self.assertEqual(dt_time(13, 20, tzinfo=tz_offset).utcoffset(),