Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGzipInflatingBufferTest.java111 assertEquals(originalData.length, gzipInflatingBuffer.inflateBytes(b, 0, originalData.length)); in gzipInflateWorks()
122 int n = gzipInflatingBuffer.inflateBytes(b, 0, originalData.length); in splitGzipStreamWorks()
130 assertEquals(bytesRemaining, gzipInflatingBuffer.inflateBytes(b, n, bytesRemaining)); in splitGzipStreamWorks()
142 assertEquals(length, gzipInflatingBuffer.inflateBytes(b, offset, length)); in inflateBytesObeysOffsetAndLength()
165 assertEquals(originalData.length, gzipInflatingBuffer.inflateBytes(b, 0, originalData.length)); in concatenatedStreamsWorks()
170 truncatedData.length, gzipInflatingBuffer.inflateBytes(b, 0, truncatedData.length)); in concatenatedStreamsWorks()
174 assertEquals(originalData.length, gzipInflatingBuffer.inflateBytes(b, 0, originalData.length)); in concatenatedStreamsWorks()
179 truncatedData.length, gzipInflatingBuffer.inflateBytes(b, 0, truncatedData.length)); in concatenatedStreamsWorks()
190 assertEquals(originalData.length, gzipInflatingBuffer.inflateBytes(b, 0, len)); in requestingTooManyBytesStillReturnsEndOfBlock()
203 gzipInflatingBuffer.inflateBytes(b, 0, 1); in closeStopsDecompression()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGzipInflatingBuffer.java260 int inflateBytes(byte[] b, int offset, int length) throws DataFormatException, ZipException { in inflateBytes() method in GzipInflatingBuffer
DMessageDeframer.java326 int n = fullStreamDecompressor.inflateBytes(inflatedBuffer, inflatedIndex, bytesToRead); in readRequiredBytes()