Home
last modified time | relevance | path

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

/libcore/benchmarks/src/benchmarks/
DZipFileBenchmark.java58 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize) in writeEntries() argument
65 ze.setSize(entrySize); in writeEntries()
68 for (long i = 0; i < entrySize; i += writeBuffer.length) { in writeEntries()
70 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries()
DZipFileReadBenchmark.java51 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize) in writeEntries() argument
58 ze.setSize(entrySize); in writeEntries()
61 for (long i = 0; i < entrySize; i += writeBuffer.length) { in writeEntries()
63 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipInputStreamTest.java227 long entrySize = entry.getSize(); in test_available() local
228 assertTrue("Entry size was < 1", entrySize > 0); in test_available()
234 if (i != entrySize) { in test_available()
237 " bytes instead of " + entrySize + " for entry " + entry.getName()); in test_available()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZip64FileTest.java106 private File createZipFile(int numEntries, long entrySize, boolean setEntrySize) in createZipFile() argument
112 writeEntries(os, numEntries, entrySize, setEntrySize); in createZipFile()
DAbstractZipFileTest.java221 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize, in writeEntries() argument
230 ze.setSize(entrySize); in writeEntries()
234 for (long i = 0; i < entrySize; i += writeBuffer.length) { in writeEntries()
236 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries()