Home
last modified time | relevance | path

Searched refs:centralDirectoryMetadata (Results 1 – 3 of 3) sorted by relevance

/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DMinimalZipArchive.java77 MinimalCentralDirectoryMetadata centralDirectoryMetadata = MinimalZipParser.parseEocd(in); in listEntriesInternal() local
81 centralDirectoryMetadata.getOffsetOfCentralDirectory(), in listEntriesInternal()
82 centralDirectoryMetadata.getLengthOfCentralDirectory()); in listEntriesInternal()
84 new ArrayList<MinimalZipEntry>(centralDirectoryMetadata.getNumEntriesInCentralDirectory()); in listEntriesInternal()
85 for (int x = 0; x < centralDirectoryMetadata.getNumEntriesInCentralDirectory(); x++) { in listEntriesInternal()
101 offsetOfNextEntry = centralDirectoryMetadata.getOffsetOfCentralDirectory(); in listEntriesInternal()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DMinimalZipParserTest.java128 MinimalCentralDirectoryMetadata centralDirectoryMetadata = MinimalZipParser.parseEocd(in); in testParseEocd() local
129 Assert.assertNotNull(centralDirectoryMetadata); in testParseEocd()
135 (int) centralDirectoryMetadata.getOffsetOfCentralDirectory()); in testParseEocd()
138 centralDirectoryMetadata.getOffsetOfCentralDirectory() in testParseEocd()
139 + centralDirectoryMetadata.getLengthOfCentralDirectory(); in testParseEocd()
143 centralDirectoryMetadata.getNumEntriesInCentralDirectory()); in testParseEocd()
DPreDiffPlannerTest.java214 MinimalCentralDirectoryMetadata centralDirectoryMetadata = MinimalZipParser.parseEocd(rafis); in corruptCompressionMethod() local
215 int numEntries = centralDirectoryMetadata.getNumEntriesInCentralDirectory(); in corruptCompressionMethod()
217 centralDirectoryMetadata.getOffsetOfCentralDirectory(), in corruptCompressionMethod()
218 centralDirectoryMetadata.getLengthOfCentralDirectory()); in corruptCompressionMethod()