Searched refs:tzh_timecnt (Results 1 – 2 of 2) sorted by relevance
/system/timezone/debug_tools/host/main/java/ |
D | TzFileDumper.java | 129 int tzh_timecnt = mappedTzFile.getInt(); in readHeader() local 133 if (tzh_timecnt < 0 || tzh_timecnt > MAX_TRANSITIONS) { in readHeader() 135 "File=" + inputFile + " has an invalid number of transitions=" + tzh_timecnt); in readHeader() 151 tzh_version, tzh_ttisgmtcnt, tzh_ttisstdcnt, tzh_leapcnt, tzh_timecnt, tzh_typecnt, in readHeader() 159 int[] transitionTimes = new int[header.tzh_timecnt]; in read32BitTransitions() 162 byte[] typeIndexes = new byte[header.tzh_timecnt]; in read32BitTransitions() 166 long[] transitionTimesLong = new long[header.tzh_timecnt]; in read32BitTransitions() 167 for (int i = 0; i < header.tzh_timecnt; ++i) { in read32BitTransitions() 177 for (int i = 0; i < header.tzh_timecnt; ++i) { in createTransitions() 198 long[] transitionTimes = new long[header.tzh_timecnt]; in read64BitTransitions() [all …]
|
/system/timezone/testing/src/main/java/libcore/timezone/testing/ |
D | ZoneInfoTestHelper.java | 193 private static void writeHeader(ByteArrayOutputStream baos, int magic, int tzh_timecnt, in writeHeader() argument 209 writeInt(baos, tzh_timecnt); in writeHeader()
|