Home
last modified time | relevance | path

Searched refs:tzh_typecnt (Results 1 – 2 of 2) sorted by relevance

/system/timezone/debug_tools/host/main/java/
DTzFileDumper.java138 int tzh_typecnt = mappedTzFile.getInt(); in readHeader() local
140 if (tzh_typecnt < 1) { in readHeader()
143 } else if (tzh_typecnt > MAX_TYPES) { in readHeader()
145 "File=" + inputFile + " has too many types=" + tzh_typecnt); in readHeader()
151 tzh_version, tzh_ttisgmtcnt, tzh_ttisstdcnt, tzh_leapcnt, tzh_timecnt, tzh_typecnt, in readHeader()
185 if (typeIndex >= header.tzh_typecnt) { in createTransitions()
187 + header.tzh_typecnt + ", is " + typeIndex); in createTransitions()
230 for (int i = 0; i < header.tzh_typecnt; ++i) { in readTypes()
350 final int tzh_typecnt; field in TzFileDumper.Header
357 int tzh_timecnt, int tzh_typecnt, int tzh_charcnt) { in Header() argument
[all …]
/system/timezone/testing/src/main/java/libcore/timezone/testing/
DZoneInfoTestHelper.java138 int tzh_typecnt = offsetsSeconds.length; in build() local
145 writeHeader(baos, magic, tzh_timecnt_32, tzh_typecnt, tzh_charcnt, tzh_leapcnt, in build()
154 writeHeader(baos, magic, tzh_timecnt_64, tzh_typecnt, tzh_charcnt, tzh_leapcnt, in build()
194 int tzh_typecnt, int tzh_charcnt, int tzh_leapcnt, int tzh_ttisstdcnt, in writeHeader() argument
210 writeInt(baos, tzh_typecnt); in writeHeader()