Home
last modified time | relevance | path

Searched refs:getCompressedSize (Results 1 – 25 of 34) sorted by relevance

12

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64ExtendedInformationExtraFieldTest.java93 assertEquals(CSIZE, f.getCompressedSize()); in testReadLFHSizesOnly()
108 assertEquals(CSIZE, f.getCompressedSize()); in testReadLFHSizesAndOffset()
124 assertEquals(CSIZE, f.getCompressedSize()); in testReadLFHSizesOffsetAndDisk()
139 assertEquals(CSIZE, f.getCompressedSize()); in testReadLFHSizesAndDisk()
155 assertEquals(CSIZE, f.getCompressedSize()); in testReadCDSizesOffsetAndDisk()
170 assertEquals(CSIZE, f.getCompressedSize()); in testReadCDSizesAndOffset()
184 assertNull(f.getCompressedSize()); in testReadCDSomethingAndDisk()
198 assertNull(f.getCompressedSize()); in testReparseCDSingleEightByteData()
204 assertEquals(SIZE, f.getCompressedSize()); in testReparseCDSingleEightByteData()
210 assertNull(f.getCompressedSize()); in testReparseCDSingleEightByteData()
DZipFileTest.java453 Assert.assertNotEquals(-1L, inflatedEntry.getCompressedSize()); in testDelayedOffsetsAndSizes()
459 Assert.assertNotEquals(-1L, storedEntry.getCompressedSize()); in testDelayedOffsetsAndSizes()
508 assertNotEquals(-1L, inflatedEntry.getCompressedSize()); in testEntryAlignment()
521 assertNotEquals(-1L, storedEntry.getCompressedSize()); in testEntryAlignment()
535 assertNotEquals(-1L, storedEntry2.getCompressedSize()); in testEntryAlignment()
549 assertNotEquals(-1L, storedEntry3.getCompressedSize()); in testEntryAlignment()
/external/archive-patcher/explainer/src/main/java/com/google/archivepatcher/explainer/
DPatchExplainer.java111 long compressedSize = getCompressedSize(newFile, entry.getValue(), compressor); in explainPatch()
170 long oldLength = qualifiedRecommendation.getOldEntry().getCompressedSize(); in explainPatch()
179 long newLength = qualifiedRecommendation.getNewEntry().getCompressedSize(); in explainPatch()
193 getCompressedSize(deltaTemp.file, 0, deltaTemp.file.length(), compressor); in explainPatch()
215 private long getCompressedSize(File file, MinimalZipEntry entry, Compressor compressor) in getCompressedSize() method in PatchExplainer
217 return getCompressedSize( in getCompressedSize()
218 file, entry.getFileOffsetOfCompressedData(), entry.getCompressedSize(), compressor); in getCompressedSize()
272 private long getCompressedSize(File file, long offset, long length, Compressor compressor) in getCompressedSize() method in PatchExplainer
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DDeltaFriendlyOldBlobSizeLimiterTest.java220 - REC_A_100K.getOldEntry().getCompressedSize(); // Exactly large enough in testLimit_ExactlySmallest()
233 - REC_A_100K.getOldEntry().getCompressedSize() in testLimit_EdgeUnderSmallest()
246 - REC_A_100K.getOldEntry().getCompressedSize() in testLimit_EdgeOverSmallest()
260 - REC_D_400K.getOldEntry().getCompressedSize(); // Exactly large enough in testLimit_ExactlyLargest()
273 - REC_D_400K.getOldEntry().getCompressedSize() in testLimit_EdgeUnderLargest()
287 - REC_D_400K.getOldEntry().getCompressedSize() in testLimit_EdgeOverLargest()
305 - REC_D_400K.getOldEntry().getCompressedSize()) in testLimit_Complex()
307 - REC_B_200K.getOldEntry().getCompressedSize()); in testLimit_Complex()
DPreDiffExecutorTest.java180 (int) (oldEntry.getFileOffsetOfCompressedData() + oldEntry.getCompressedSize()); in testPrepareForDiffing_OneCompressedEntry_Changed()
196 (int) (newEntry.getFileOffsetOfCompressedData() + newEntry.getCompressedSize()); in testPrepareForDiffing_OneCompressedEntry_Changed()
DMinimalZipArchiveTest.java83 Assert.assertEquals(expected.getCompressedBinaryContent().length, actual.getCompressedSize()); in testListEntries()
DMinimalZipEntryTest.java250 Assert.assertEquals(COMPRESSED_SIZE, defaultEntry.getCompressedSize()); in testGetters()
DMinimalZipParserTest.java181 Assert.assertEquals(compressedContent.length, parsed.getCompressedSize()); in testParseCentralDirectoryEntry()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPreDiffPlanner.java116 long length = recommendation.getOldEntry().getCompressedSize(); in generatePreDiffPlan()
122 long length = recommendation.getNewEntry().getCompressedSize(); in generatePreDiffPlan()
360 if (oldEntry.getCompressedSize() != newEntry.getCompressedSize()) { in compressedBytesChanged()
368 newFile, newEntry.getFileOffsetOfCompressedData(), newEntry.getCompressedSize()); in compressedBytesChanged()
374 oldEntry.getCompressedSize()), in compressedBytesChanged() argument
DDefaultDeflateCompressionDiviner.java101 minimalZipEntry.getCompressedSize()); in divineDeflateParameters()
104 if (minimalZipEntry.getCompressedSize() < (100 * 1024)) { in divineDeflateParameters()
106 byte[] compressedBytes = new byte[(int) minimalZipEntry.getCompressedSize()]; in divineDeflateParameters()
DMinimalZipEntry.java130 public long getCompressedSize() { in getCompressedSize() method in MinimalZipEntry
216 return getCompressedSize() != getUncompressedSize(); in isDeflateCompressed()
DDeltaFriendlyOldBlobSizeLimiter.java81 - originalRecommendation.getOldEntry().getCompressedSize(); in getModifiedRecommendations()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveOutputStream.java586 && ae.getCompressedSize() != ArchiveEntry.SIZE_UNKNOWN; in addRawArchiveEntry()
663 …return zipArchiveEntry.getSize() >= ZIP64_MAGIC || zipArchiveEntry.getCompressedSize() >= ZIP64_MA… in isTooLageForZip32()
678 writeOut(ZipLong.getBytes(entry.entry.getCompressedSize())); in rewriteSizesAndCrc()
694 writeOut(ZipEightByteInteger.getBytes(entry.entry.getCompressedSize())); in rewriteSizesAndCrc()
768 compressedSize = new ZipEightByteInteger(entry.entry.getCompressedSize()); in putArchiveEntry()
827 || entry.entry.getCompressedSize() >= ZIP64_MAGIC) in validateSizeInformation()
851 || entry.getCompressedSize() >= ZIP64_MAGIC in shouldAddZip64Extra()
1112 putLong(ze.getCompressedSize(), buf, LFH_COMPRESSED_SIZE_OFFSET); in createLocalFileHeader()
1184 writeCounted(ZipLong.getBytes(ze.getCompressedSize())); in writeDataDescriptor()
1187 writeCounted(ZipEightByteInteger.getBytes(ze.getCompressedSize())); in writeDataDescriptor()
[all …]
DZipArchiveInputStream.java328 if (current.entry.getCompressedSize() != ArchiveEntry.SIZE_UNKNOWN) { in getNextZipEntry()
330 InputStream bis = new BoundedInputStream(in, current.entry.getCompressedSize()); in getNextZipEntry()
397 current.entry.setCompressedSize(z64.getCompressedSize().getLongValue()); in processZip64Extra()
735 return current.bytesReadFromStream <= current.entry.getCompressedSize() in currentEntryHasOutstandingBytes()
744 long remaining = current.entry.getCompressedSize() - current.bytesReadFromStream; in drainCurrentEntryData()
860 return entry.getCompressedSize() != ArchiveEntry.SIZE_UNKNOWN in supportsCompressedSizeFor()
DZipFile.java444 return createBoundedInputStream(start, ze.getCompressedSize()); in getRawInputStream()
489 … new BufferedInputStream(createBoundedInputStream(start, ze.getCompressedSize())); //NOSONAR in getInputStream()
757 final boolean hasCompressedSize = ze.getCompressedSize() == ZIP64_MAGIC;
772 ze.setCompressedSize(z64.getCompressedSize().getLongValue());
774 z64.setCompressedSize(new ZipEightByteInteger(ze.getCompressedSize()));
DZipArchiveEntry.java916 && getCompressedSize() == other.getCompressedSize() in equals()
DZip64ExtendedInformationExtraField.java284 public ZipEightByteInteger getCompressedSize() { in getCompressedSize() method in Zip64ExtendedInformationExtraField
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DZipFileRO.java147 pCompLen.set(ze.getCompressedSize()); in getEntryInfo()
279 actualLen = toIntExact(ze.getCompressedSize()); in createEntryFileMap()
DFileMap.java200 fileSize = entry.getCompressedSize(); in guessOffsetFor()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DCLI.java35 System.out.print(" " + entry.getCompressedSize() in takeAction()
DSevenZArchiveEntry.java431 long getCompressedSize() { in getCompressedSize() method in SevenZArchiveEntry
/external/archive-patcher/sharedtest/src/main/java/com/google/archivepatcher/shared/
DUnitTestZipArchive.java239 testEntry.getUncompressedBinaryContent().length, entry.getCompressedSize()); in checkEntry()
/external/archive-patcher/explainer/src/test/java/com/google/archivepatcher/explainer/
DPatchExplainerTest.java344 byte[] justNewData = new byte[(int) newEntry.getCompressedSize()]; in testExplainPatch_Unsuitable()
350 (int) newEntry.getCompressedSize()); in testExplainPatch_Unsuitable()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DZipTestCase.java487 … assertEquals(expectedElement.getCompressedSize(), actualElement.getCompressedSize()); in assertSameFileContents()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp134 virtual deUint32 getCompressedSize (void) const;

12