/external/rust/crates/flate2/src/gz/ |
D | read.rs | 41 pub struct GzEncoder<R> { struct 42 inner: bufread::GzEncoder<BufReader<R>>, argument 45 pub fn gz_encoder<R: Read>(inner: bufread::GzEncoder<BufReader<R>>) -> GzEncoder<R> { in gz_encoder() 46 GzEncoder { inner: inner } in gz_encoder() 49 impl<R: Read> GzEncoder<R> { implementation 57 pub fn new(r: R, level: Compression) -> GzEncoder<R> { in new() 62 impl<R> GzEncoder<R> { implementation 82 impl<R: Read> Read for GzEncoder<R> { implementation 88 impl<R: Read + Write> Write for GzEncoder<R> { implementation
|
D | write.rs | 39 pub struct GzEncoder<W: Write> { struct 46 pub fn gz_encoder<W: Write>(header: Vec<u8>, w: W, lvl: Compression) -> GzEncoder<W> { in gz_encoder() argument 47 GzEncoder { in gz_encoder() 55 impl<W: Write> GzEncoder<W> { impl 63 pub fn new(w: W, level: Compression) -> GzEncoder<W> { in new() 145 impl<W: Write> Write for GzEncoder<W> { implementation 162 impl<W: AsyncWrite> AsyncWrite for GzEncoder<W> { implementation 169 impl<R: Read + Write> Read for GzEncoder<R> { implementation 176 impl<R: AsyncRead + AsyncWrite> AsyncRead for GzEncoder<R> {} implementation 178 impl<W: Write> Drop for GzEncoder<W> { implementation [all …]
|
D | mod.rs | 174 pub fn write<W: Write>(self, w: W, lvl: Compression) -> write::GzEncoder<W> { in write() 182 pub fn read<R: Read>(self, r: R, lvl: Compression) -> read::GzEncoder<R> { in read() 190 pub fn buf_read<R>(self, r: R, lvl: Compression) -> bufread::GzEncoder<R> in buf_read() 265 let mut e = write::GzEncoder::new(Vec::new(), Compression::default()); in roundtrip() 276 let e = write::GzEncoder::new(Vec::new(), Compression::default()); in roundtrip_zero() 287 let mut w = write::GzEncoder::new(Vec::new(), Compression::default()); in roundtrip_big() 304 let mut r = read::GzDecoder::new(read::GzEncoder::new(&v[..], Compression::default())); in roundtrip_big2() 329 let mut e = write::GzEncoder::new(Vec::new(), Compression::default()); in keep_reading_after_end() 345 let r = read::GzEncoder::new(&v[..], Compression::default()); in qc_reader() 355 let mut f = write::GzEncoder::new(Vec::new(), Compression::default()); in flush_after_write()
|
D | bufread.rs | 151 pub struct GzEncoder<R> { struct 158 pub fn gz_encoder<R: BufRead>(header: Vec<u8>, r: R, lvl: Compression) -> GzEncoder<R> { in gz_encoder() argument 160 GzEncoder { in gz_encoder() 168 impl<R: BufRead> GzEncoder<R> { impl 176 pub fn new(r: R, level: Compression) -> GzEncoder<R> { in new() 199 impl<R> GzEncoder<R> { implementation 232 impl<R: BufRead> Read for GzEncoder<R> { implementation 256 impl<R: BufRead + Write> Write for GzEncoder<R> { implementation
|
/external/rust/crates/flate2/src/ |
D | lib.rs | 133 pub use crate::gz::read::GzEncoder; 147 pub use crate::gz::write::GzEncoder; 160 pub use crate::gz::bufread::GzEncoder; 173 _assert_send_sync::<read::GzEncoder<&[u8]>>(); in _assert_send_sync() 180 _assert_send_sync::<write::GzEncoder<Vec<u8>>>(); in _assert_send_sync()
|
/external/rust/crates/flate2/examples/ |
D | gzencoder-write.rs | 3 use flate2::write::GzEncoder; 9 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
|
D | gzencoder-read.rs | 3 use flate2::read::GzEncoder; 17 let mut z = GzEncoder::new(&c[..], Compression::fast()); in gzencoder_read_hello_world()
|
D | gzencoder-bufread.rs | 3 use flate2::bufread::GzEncoder; 20 let mut gz = GzEncoder::new(b, Compression::fast()); in open_hello_world()
|
D | gzmultidecoder-bufread.rs | 4 use flate2::write::GzEncoder; 11 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
|
D | gzmultidecoder-read.rs | 4 use flate2::write::GzEncoder; 11 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
|
D | gzdecoder-bufread.rs | 4 use flate2::write::GzEncoder; 11 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
|
D | gzdecoder-read.rs | 4 use flate2::write::GzEncoder; 11 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
|
D | gzdecoder-write.rs | 3 use flate2::write::{GzDecoder, GzEncoder}; 10 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
|
D | compress_file.rs | 3 use flate2::write::GzEncoder; 18 let mut encoder = GzEncoder::new(output, Compression::default()); in main()
|
/external/rust/crates/flate2/tests/ |
D | early-flush.rs | 6 use flate2::write::GzEncoder; 10 let mut w = GzEncoder::new(Vec::new(), flate2::Compression::default()); in smoke()
|
D | empty-read.rs | 35 let mut encoder = flate2::write::GzEncoder::new(Vec::new(), flate2::Compression::default()); in gzip_decoder_empty_read() 48 let mut encoder = flate2::read::GzEncoder::new(original, flate2::Compression::default()); in gzip_encoder_empty_read()
|