Home
last modified time | relevance | path

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

12

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DCountingStreamTest.java59 assertEquals(1, i.getBytesRead()); in input()
62 assertEquals(3, i.getBytesRead()); in input()
67 assertEquals(4, i.getBytesRead()); in input()
69 assertEquals(4, i.getBytesRead()); in input()
71 assertEquals(2, i.getBytesRead()); in input()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java260 … throw new IOException("Unknown magic [" + magicString + "]. Occured at byte: " + getBytesRead()); in getNextCPIOEntry()
318 + getBytesRead()); in read()
396 + " Occured at byte: " + getBytesRead()); in readNewEntry()
424 + " Occured at byte: " + getBytesRead()); in readOldAsciiEntry()
452 + "Occured at byte: " + getBytesRead()); in readOldBinaryEntry()
511 final long readFromLastBlock = getBytesRead() % blockSize; in skipRemainderOfLastBlock()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZNativeHeapTest.java138 public long getBytesRead() { in getBytesRead() method in SevenZNativeHeapTest.DelegatingInflater
139 return inflater.getBytesRead(); in getBytesRead()
246 public long getBytesRead() { in getBytesRead() method in SevenZNativeHeapTest.DelegatingDeflater
247 return deflater.getBytesRead(); in getBytesRead()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/
DCompressorInputStream.java77 public long getBytesRead() { in getBytesRead() method in CompressorInputStream
94 return getBytesRead(); in getUncompressedCount()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/
DFramedSnappyCompressorInputStream.java188 return countingStream.getBytesRead() - unreadBytes; in getCompressedCount()
211 final long before = currentCompressedChunk.getBytesRead(); in readOnce()
217 count(currentCompressedChunk.getBytesRead() - before); in readOnce()
261 count(currentCompressedChunk.getBytesRead()); in readNextBlock()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/
DDumpArchiveInputStream.java155 return (int) getBytesRead(); in getCount()
159 public long getBytesRead() { in getBytesRead() method in DumpArchiveInputStream
160 return raw.getBytesRead(); in getBytesRead()
255 filepos = raw.getBytesRead(); in getNextEntry()
273 filepos = raw.getBytesRead(); in getNextEntry()
DTapeInputStream.java352 public long getBytesRead() { in getBytesRead() method
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DStreamCompressorTest.java41 assertEquals(3, sc.getBytesRead()); in storedEntries()
53 assertEquals(12, sc.getBytesRead()); in deflatedEntries()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DExplodingInputStream.java112 treeSizes += i.getBytesRead(); in init()
137 return bits.getBytesRead() + treeSizes; in getCompressedCount()
DScatterZipOutputStream.java99 … streamCompressor.getBytesWrittenForLastEntry(), streamCompressor.getBytesRead())); in addArchiveEntry()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DBitInputStream.java136 public long getBytesRead() { in getBytesRead() method in BitInputStream
137 return in.getBytesRead(); in getBytesRead()
DCountingInputStream.java73 public long getBytesRead() { in getBytesRead() method in CountingInputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveInputStream.java107 throw new IOException("failed to read header. Occured at byte: " + getBytesRead()); in getNextArEntry()
142 … throw new IOException("failed to read entry trailer. Occured at byte: " + getBytesRead()); in getNextArEntry()
146 …new IOException("invalid entry trailer. not read the content? Occured at byte: " + getBytesRead()); in getNextArEntry()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/
DFramedLZ4CompressorInputStream.java168 return in.getBytesRead(); in getCompressedCount()
327 long before = l.getBytesRead(); in readOnce()
329 count(l.getBytesRead() - before); in readOnce()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveInputStream.java134 public long getBytesRead() { in getBytesRead() method in ArchiveInputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DDeflate64CompressorInputStream.java82 compressedBytesRead = decoder.getBytesRead(); in read()
DHuffmanDecoder.java161 long getBytesRead() { in getBytesRead() method in HuffmanDecoder
162 return reader.getBytesRead(); in getBytesRead()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/zstandard/
DZstdCompressorInputStream.java105 return countingStream.getBytesRead(); in getCompressedCount()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/brotli/
DBrotliCompressorInputStream.java104 return countingStream.getBytesRead(); in getCompressedCount()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate/
DDeflateCompressorInputStream.java115 return countingStream.getBytesRead(); in getCompressedCount()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzma/
DLZMACompressorInputStream.java125 return countingStream.getBytesRead(); in getCompressedCount()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/xz/
DXZCompressorInputStream.java187 return countingStream.getBytesRead(); in getCompressedCount()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzw/
DLZWInputStream.java96 return in.getBytesRead(); in getCompressedCount()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DFramedSnappyTestCase.java82 assertEquals(995, in.getBytesRead()); in testUnarchive()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DAbstractLZ77CompressorInputStream.java197 return in.getBytesRead(); in getCompressedCount()

12