Lines Matching defs:it
128 * Loads the data at the specified path and returns the {@link TzData} object if it is valid,
161 BufferIterator it = mappedFile.bigEndianIterator();
162 it.skip(byteOffset);
163 return it;
202 BufferIterator it = mappedFile.bigEndianIterator();
206 it.readByteArray(tzdata_version, 0, tzdata_version.length);
214 int index_offset = it.readInt();
216 int data_offset = it.readInt();
218 int zonetab_offset = it.readInt();
227 readIndex(it, index_offset, data_offset);
228 readZoneTab(it, zonetab_offset, fileSize - zonetab_offset);
240 private void readZoneTab(BufferIterator it, int zoneTabOffset, int zoneTabSize) {
242 it.seek(zoneTabOffset);
243 it.readByteArray(bytes, 0, bytes.length);
247 private void readIndex(BufferIterator it, int indexOffset, int dataOffset) throws IOException {
248 it.seek(indexOffset);
263 it.readByteArray(idBytes, 0, idBytes.length);
266 byteOffsets[i] = it.readInt();
269 int length = it.readInt();
273 it.skip(4); // Skip the unused 4 bytes that used to be the raw offset.
305 BufferIterator it = getBufferIterator(id);
306 if (it == null) {
310 return ZoneInfo.readTimeZone(id, it, System.currentTimeMillis());