Home
last modified time | relevance | path

Searched refs:MinimalZipParser (Results 1 – 4 of 4) sorted by relevance

/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DMinimalZipParserTest.java57 int eocdOffset = MinimalZipParser.locateStartOfEocd(unitTestZipArchive); in testLocateStartOfEocd_WithArray()
63 int eocdOffset = MinimalZipParser.locateStartOfEocd(new byte[32768]); in testLocateStartOfEocd_WithArray_NoEocd()
92 long eocdOffset = MinimalZipParser.locateStartOfEocd(in, 32768); in testLocateStartOfEocd_WithFile()
118 long eocdOffset = MinimalZipParser.locateStartOfEocd(in, 4000); in testLocateStartOfEocd_WithFile_NoEocd()
125 int eocdOffset = MinimalZipParser.locateStartOfEocd(unitTestZipArchive); in testParseEocd()
128 MinimalCentralDirectoryMetadata centralDirectoryMetadata = MinimalZipParser.parseEocd(in); in testParseEocd()
150 int eocdOffset = MinimalZipParser.locateStartOfEocd(unitTestZipArchive); in testParseCentralDirectoryEntry()
152 MinimalCentralDirectoryMetadata metadata = MinimalZipParser.parseEocd(in); in testParseCentralDirectoryEntry()
160 MinimalZipEntry parsed = MinimalZipParser.parseCentralDirectoryEntry(in); in testParseCentralDirectoryEntry()
189 int eocdOffset = MinimalZipParser.locateStartOfEocd(unitTestZipArchive); in testParseLocalEntryAndGetCompressedDataOffset()
[all …]
DPreDiffPlannerTest.java212 long startOfEocd = MinimalZipParser.locateStartOfEocd(rafis, 32768); in corruptCompressionMethod()
214 MinimalCentralDirectoryMetadata centralDirectoryMetadata = MinimalZipParser.parseEocd(rafis); in corruptCompressionMethod()
221 MinimalZipEntry candidate = MinimalZipParser.parseCentralDirectoryEntry(rafis); in corruptCompressionMethod()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DMinimalZipArchive.java69 long offsetOfEocd = MinimalZipParser.locateStartOfEocd(in, 32768); in listEntriesInternal()
77 MinimalCentralDirectoryMetadata centralDirectoryMetadata = MinimalZipParser.parseEocd(in); in listEntriesInternal()
86 minimalZipEntries.add(MinimalZipParser.parseCentralDirectoryEntry(in)); in listEntriesInternal()
105 long relativeDataOffset = MinimalZipParser.parseLocalEntryAndGetCompressedDataOffset(in); in listEntriesInternal()
DMinimalZipParser.java38 class MinimalZipParser { class