Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/timezone/
DZoneInfoDB.java62 public static final int SIZEOF_INDEX_ENTRY = SIZEOF_TZNAME + 3 * SIZEOF_TZINT; field in ZoneInfoDB.TzData
258 if (indexSize % SIZEOF_INDEX_ENTRY != 0) { in readIndex()
259 throw new IOException("Index size is not divisible by " + SIZEOF_INDEX_ENTRY in readIndex()
262 int entryCount = indexSize / SIZEOF_INDEX_ENTRY; in readIndex()
/libcore/luni/src/test/java/libcore/libcore/timezone/
DZoneInfoDBTest.java29 import static libcore.timezone.ZoneInfoDB.TzData.SIZEOF_INDEX_ENTRY;
137 builder.setDataOffsetOverride(10 + SIZEOF_INDEX_ENTRY); in testLoadTzData_zoneTabOutsideFile()
153 int dataOffset = indexOffset + ZoneInfoDB.TzData.SIZEOF_INDEX_ENTRY - 1; in testLoadTzData_nonDivisibleIndex()