Home
last modified time | relevance | path

Searched refs:getFileOffsetOfLocalEntry (Results 1 – 5 of 5) sorted by relevance

/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DMinimalZipArchive.java43 return Long.compare(o1.getFileOffsetOfLocalEntry(), o2.getFileOffsetOfLocalEntry());
98 offsetOfNextEntry = minimalZipEntries.get(x + 1).getFileOffsetOfLocalEntry(); in listEntriesInternal()
103 long rangeLength = offsetOfNextEntry - entry.getFileOffsetOfLocalEntry(); in listEntriesInternal()
104 in.setRange(entry.getFileOffsetOfLocalEntry(), rangeLength); in listEntriesInternal()
106 entry.setFileOffsetOfCompressedData(entry.getFileOffsetOfLocalEntry() + relativeDataOffset); in listEntriesInternal()
DMinimalZipEntry.java190 public long getFileOffsetOfLocalEntry() { in getFileOffsetOfLocalEntry() method in MinimalZipEntry
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DMinimalZipArchiveTest.java93 Assert.assertTrue(actual.getFileOffsetOfLocalEntry() > lastSeenHeaderOffset); in testListEntries()
94 lastSeenHeaderOffset = actual.getFileOffsetOfLocalEntry(); in testListEntries()
99 byte actualByte = unitTestZipArchive[((int) actual.getFileOffsetOfLocalEntry()) + index]; in testListEntries()
DMinimalZipParserTest.java166 byte actualByte = unitTestZipArchive[((int) parsed.getFileOffsetOfLocalEntry()) + index]; in testParseCentralDirectoryEntry()
208 parsedEntry.getFileOffsetOfLocalEntry(), in testParseLocalEntryAndGetCompressedDataOffset()
209 in.skip(parsedEntry.getFileOffsetOfLocalEntry())); in testParseLocalEntryAndGetCompressedDataOffset()
214 (int) (parsedEntry.getFileOffsetOfLocalEntry() + relativeDataOffset)); in testParseLocalEntryAndGetCompressedDataOffset()
DMinimalZipEntryTest.java254 Assert.assertEquals(FILE_OFFSET_OF_LOCAL_ENTRY, defaultEntry.getFileOffsetOfLocalEntry()); in testGetters()