Home
last modified time | relevance | path

Searched refs:tzh (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc252 bool TimeZoneInfo::Header::Build(const tzhead& tzh) { in Build() argument
254 if ((v = Decode32(tzh.tzh_timecnt)) < 0) return false; in Build()
256 if ((v = Decode32(tzh.tzh_typecnt)) < 0) return false; in Build()
258 if ((v = Decode32(tzh.tzh_charcnt)) < 0) return false; in Build()
260 if ((v = Decode32(tzh.tzh_leapcnt)) < 0) return false; in Build()
262 if ((v = Decode32(tzh.tzh_ttisstdcnt)) < 0) return false; in Build()
264 if ((v = Decode32(tzh.tzh_ttisutcnt)) < 0) return false; in Build()
393 tzhead tzh; in Load() local
394 if (zip->Read(&tzh, sizeof(tzh)) != sizeof(tzh)) return false; in Load()
395 if (strncmp(tzh.tzh_magic, TZ_MAGIC, sizeof(tzh.tzh_magic)) != 0) in Load()
[all …]
Dtime_zone_info.h94 bool Build(const tzhead& tzh);
/third_party/python/Tools/tz/
Dzdump.py23 tzh = (tzh_ttisgmtcnt, tzh_ttisstdcnt, tzh_leapcnt,
40 self.tzh = tzh
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c1607 static struct tzhead tzh; in writezone() local
1855 #define DO(field) ((void) fwrite(tzh.field, sizeof tzh.field, 1, fp)) in writezone()
1856 tzh = tzh0; in writezone()
1858 * (ICUZoneinfoVersion*) &tzh.tzh_reserved = TZ_ICU_VERSION; in writezone()
1859 (void) strncpy(tzh.tzh_magic, TZ_ICU_MAGIC, sizeof tzh.tzh_magic); in writezone()
1861 (void) strncpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic); in writezone()
1863 tzh.tzh_version[0] = version; in writezone()
1864 convert(thistypecnt, tzh.tzh_ttisgmtcnt); in writezone()
1865 convert(thistypecnt, tzh.tzh_ttisstdcnt); in writezone()
1866 convert(thisleapcnt, tzh.tzh_leapcnt); in writezone()
[all …]
/third_party/icu/icu4c/source/tools/tzcode/
Dzic.c1608 static struct tzhead tzh; in writezone() local
1856 #define DO(field) ((void) fwrite(tzh.field, sizeof tzh.field, 1, fp)) in writezone()
1857 tzh = tzh0; in writezone()
1859 * (ICUZoneinfoVersion*) &tzh.tzh_reserved = TZ_ICU_VERSION; in writezone()
1860 (void) strncpy(tzh.tzh_magic, TZ_ICU_MAGIC, sizeof tzh.tzh_magic); in writezone()
1862 (void) strncpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic); in writezone()
1864 tzh.tzh_version[0] = version; in writezone()
1865 convert(thistypecnt, tzh.tzh_ttisgmtcnt); in writezone()
1866 convert(thistypecnt, tzh.tzh_ttisstdcnt); in writezone()
1867 convert(thisleapcnt, tzh.tzh_leapcnt); in writezone()
[all …]
/third_party/tzdata/
Dzic.c2468 struct tzhead tzh; in writezone() local
2642 #define DO(field) fwrite(tzh.field, sizeof tzh.field, 1, fp) in writezone()
2643 memset(&tzh, 0, sizeof tzh); in writezone()
2644 memcpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic); in writezone()
2645 tzh.tzh_version[0] = version; in writezone()
2646 convert(utcnt, tzh.tzh_ttisutcnt); in writezone()
2647 convert(stdcnt, tzh.tzh_ttisstdcnt); in writezone()
2648 convert(thisleapcnt + thisleapexpiry, tzh.tzh_leapcnt); in writezone()
2650 tzh.tzh_timecnt); in writezone()
2651 convert(thistypecnt, tzh.tzh_typecnt); in writezone()
[all …]
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt6943 "tzh",
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt7049 "tzh",