Home
last modified time | relevance | path

Searched refs:DeflateDecoder (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/flate2/src/deflate/
Dread.rs168 pub struct DeflateDecoder<R> { struct
169 inner: bufread::DeflateDecoder<BufReader<R>>, argument
172 impl<R: Read> DeflateDecoder<R> { implementation
175 pub fn new(r: R) -> DeflateDecoder<R> { in new()
176 DeflateDecoder::new_with_buf(r, vec![0; 32 * 1024]) in new()
183 pub fn new_with_buf(r: R, buf: Vec<u8>) -> DeflateDecoder<R> { in new_with_buf()
184 DeflateDecoder { in new_with_buf()
185 inner: bufread::DeflateDecoder::new(BufReader::with_buf(buf, r)), in new_with_buf()
190 impl<R> DeflateDecoder<R> { implementation
242 impl<R: Read> Read for DeflateDecoder<R> { implementation
[all …]
Dbufread.rs171 pub struct DeflateDecoder<R> { struct
176 pub fn reset_decoder_data<R>(zlib: &mut DeflateDecoder<R>) { in reset_decoder_data() argument
180 impl<R: BufRead> DeflateDecoder<R> { impl
183 pub fn new(r: R) -> DeflateDecoder<R> { in new()
184 DeflateDecoder { in new()
191 impl<R> DeflateDecoder<R> { impl
244 impl<R: BufRead> Read for DeflateDecoder<R> { implementation
251 impl<R: AsyncRead + BufRead> AsyncRead for DeflateDecoder<R> {} implementation
253 impl<W: BufRead + Write> Write for DeflateDecoder<W> { implementation
264 impl<R: AsyncWrite + BufRead> AsyncWrite for DeflateDecoder<R> { implementation
Dmod.rs25 let mut r = read::DeflateDecoder::new(&result[..]); in roundtrip()
37 let mut r = read::DeflateDecoder::new(&data[..]); in drop_writes()
61 let mut r = read::DeflateDecoder::new(&result[..]); in total_in()
72 read::DeflateDecoder::new(read::DeflateEncoder::new(&v[..], Compression::default())); in roundtrip2()
82 write::DeflateDecoder::new(Vec::new()), in roundtrip3()
128 let mut r = read::DeflateDecoder::new(&data[..]); in reset_decoder()
133 let mut r = read::DeflateDecoder::new(&data[..]); in reset_decoder()
139 let mut w = write::DeflateDecoder::new(Vec::new()); in reset_decoder()
145 let mut w = write::DeflateDecoder::new(Vec::new()); in reset_decoder()
160 let mut d = read::DeflateDecoder::new(&result[..]); in zero_length_read_with_data()
[all …]
Dwrite.rs220 pub struct DeflateDecoder<W: Write> { struct
224 impl<W: Write> DeflateDecoder<W> { implementation
229 pub fn new(w: W) -> DeflateDecoder<W> { in new()
230 DeflateDecoder { in new()
324 impl<W: Write> Write for DeflateDecoder<W> { implementation
335 impl<W: AsyncWrite> AsyncWrite for DeflateDecoder<W> { implementation
342 impl<W: Read + Write> Read for DeflateDecoder<W> { implementation
349 impl<W: AsyncRead + AsyncWrite> AsyncRead for DeflateDecoder<W> {} implementation
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZNativeHeapTest.java29 import org.apache.commons.compress.archivers.sevenz.Coders.DeflateDecoder;
30 import org.apache.commons.compress.archivers.sevenz.Coders.DeflateDecoder.DeflateDecoderInputStream;
31 import org.apache.commons.compress.archivers.sevenz.Coders.DeflateDecoder.DeflateDecoderOutputStrea…
39 Coders.DeflateDecoder deflateDecoder = new DeflateDecoder(); in testEndDeflaterOnCloseStream()
52 Coders.DeflateDecoder deflateDecoder = new DeflateDecoder(); in testEndInflaterOnCloseStream()
/external/rust/crates/flate2/src/
Dlib.rs130 pub use crate::deflate::read::DeflateDecoder;
144 pub use crate::deflate::write::DeflateDecoder;
157 pub use crate::deflate::bufread::DeflateDecoder;
170 _assert_send_sync::<read::DeflateDecoder<&[u8]>>(); in _assert_send_sync()
177 _assert_send_sync::<write::DeflateDecoder<Vec<u8>>>(); in _assert_send_sync()
/external/rust/crates/flate2/examples/
Ddeflatedecoder-read.rs3 use flate2::read::DeflateDecoder;
20 let mut deflater = DeflateDecoder::new(&bytes[..]); in decode_reader()
Ddeflatedecoder-bufread.rs3 use flate2::bufread::DeflateDecoder;
20 let mut deflater = DeflateDecoder::new(&bytes[..]); in decode_reader()
Ddeflatedecoder-write.rs3 use flate2::write::DeflateDecoder;
21 let mut deflater = DeflateDecoder::new(writer); in decode_reader()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DCoders.java54 put(SevenZMethod.DEFLATE, new DeflateDecoder());
129 static class DeflateDecoder extends CoderBase { class in Coders
131 DeflateDecoder() { in DeflateDecoder() method in Coders.DeflateDecoder
/external/rust/crates/flate2/tests/
Dempty-read.rs12 let mut decoder = flate2::read::DeflateDecoder::new(encoded.as_slice()); in deflate_decoder_empty_read()
26 let mut decoder = flate2::read::DeflateDecoder::new(encoded.as_slice()); in deflate_encoder_empty_read()
Dtokio.rs36 let mut b = read::DeflateDecoder::new(b); in tcp_stream_echo_pattern()
94 let mut b = read::DeflateDecoder::new(b); in echo_random()
/external/rust/crates/flate2/src/gz/
Dbufread.rs303 reader: CrcReader<deflate::bufread::DeflateDecoder<R>>,
374 reader: CrcReader::new(deflate::bufread::DeflateDecoder::new(r)), in new()
/external/rust/crates/zip/src/
Dread.rs23 use flate2::read::DeflateDecoder;
91 Deflated(Crc32Reader<flate2::read::DeflateDecoder<CryptoReader<'a>>>),
197 let deflate_reader = DeflateDecoder::new(reader); in make_reader()
/external/apache-commons-compress/
DRELEASE-NOTES.txt420 o Native Memory Leak in Sevenz-DeflateDecoder.