Home
last modified time | relevance | path

Searched refs:getBytesWritten (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterTest.java112 assertEquals(11, deflater.getBytesWritten());
119 assertEquals(20, deflater.getBytesWritten());
124 assertEquals(0, deflater.getBytesWritten());
DInflaterTest.java147 assertEquals(2, inflater.getBytesWritten()); in testInflaterCounts()
156 assertEquals(3, inflater.getBytesWritten()); in testInflaterCounts()
162 assertEquals(0, inflater.getBytesWritten()); in testInflaterCounts()
DOldAndroidDeflateTest.java85 expand(inflater, comp, (int) deflater.getBytesWritten(), output); in bigTest()
87 assertEquals(inflater.getBytesWritten(), input.length); in bigTest()
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java349 return (int) getBytesWritten(); in getTotalOut()
358 public long getBytesWritten() { in getBytesWritten() method in Inflater
DZipInputStream.java372 if (inf.getBytesWritten() > ZIP64_MAGICVAL || in readEnd()
404 if (e.size != inf.getBytesWritten()) { in readEnd()
407 " but got " + inf.getBytesWritten() + " bytes)"); in readEnd()
DDeflater.java518 return (int) getBytesWritten(); in getTotalOut()
527 public long getBytesWritten() { in getBytesWritten() method in Deflater
DZipOutputStream.java266 if (e.csize != def.getBytesWritten()) { in closeEntry()
269 e.csize + " but got " + def.getBytesWritten() + " bytes)"); in closeEntry()
279 e.csize = def.getBytesWritten(); in closeEntry()
DGZIPInputStream.java233 (readUInt(in) != (inf.getBytesWritten() & 0xffffffffL))) in readTrailer()
DZipFile.java491 long avail = zfin.size() - inf.getBytesWritten(); in available()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java98 public long getBytesWritten() { in getBytesWritten() method in Inflater
DDeflater.java109 public long getBytesWritten() { in getBytesWritten() method in Deflater
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java577 assertEquals(0, inf.getBytesWritten()); in test_needsDictionary()
820 assertEquals(0, def.getBytesWritten()); in test_getBytesWritten()
834 assertEquals(14, inf.getBytesWritten()); in test_getBytesWritten()
1152 inflate.getBytesWritten(); in testExceptions()
DDeflaterTest.java1040 defl.getBytesWritten(); in helper_end_test()
1073 assertEquals(0, inf.getBytesWritten()); in test_needsDictionary()
1115 assertEquals(0, def.getBytesWritten()); in test_getBytesWritten()
1127 assertEquals(compressedDataLength, def.getBytesWritten()); in test_getBytesWritten()