Home
last modified time | relevance | path

Searched refs:Compression (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/external/rust/crates/flate2/src/
Dlib.rs157 pub struct Compression(u32); struct
159 impl Compression { impl
165 pub const fn new(level: u32) -> Compression { in new() argument
166 Compression(level) in new()
171 pub const fn none() -> Compression { in none()
172 Compression(0) in none()
176 pub const fn fast() -> Compression { in fast()
177 Compression(1) in fast()
181 pub const fn best() -> Compression { in best()
182 Compression(9) in best()
[all …]
Dmem.rs7 use crate::Compression;
200 pub fn new(level: Compression, zlib_header: bool) -> Compress { in new() argument
225 level: Compression, in new_with_window_bits() argument
256 pub fn new_gzip(level: Compression, window_bits: u8) -> Compress { in new_gzip() argument
315 pub fn set_level(&mut self, level: Compression) -> Result<(), CompressError> { in set_level()
606 use crate::{Compression, Decompress, FlushDecompress};
645 let comp = Compression::default(); in reset()
677 let mut encoder = Compress::new(Compression::default(), true); in set_dictionary_with_zlib_header()
726 let mut encoder = Compress::new(Compression::default(), false); in set_dictionary_raw()
756 let mut encoder = Compress::new_gzip(Compression::default(), 9); in test_gzip_flate()
/external/lzma/Java/SevenZip/Compression/LZMA/
DDecoder.java1 package SevenZip.Compression.LZMA;
3 import SevenZip.Compression.RangeCoder.BitTreeDecoder;
4 import SevenZip.Compression.LZMA.Base;
5 import SevenZip.Compression.LZ.OutWindow;
29 SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_Choice); in Init()
38 …public int Decode(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, int posState) throws IOExc… in Decode()
59 SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_Decoders); in Init()
62 public byte DecodeNormal(SevenZip.Compression.RangeCoder.Decoder rangeDecoder) throws IOException in DecodeNormal()
71 …public byte DecodeWithMatchByte(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, byte matchBy… in DecodeWithMatchByte()
124 …SevenZip.Compression.RangeCoder.Decoder m_RangeDecoder = new SevenZip.Compression.RangeCoder.Decod…
[all …]
DEncoder.java1 package SevenZip.Compression.LZMA;
3 import SevenZip.Compression.RangeCoder.BitTreeEncoder;
4 import SevenZip.Compression.LZMA.Base;
5 import SevenZip.Compression.LZ.BinTree;
74 public void Init() { SevenZip.Compression.RangeCoder.Encoder.InitBitModels(m_Encoders); } in Init()
78 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte symbol) throws IOExc… in Encode()
89 …public void EncodeMatched(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte matchByte, by… in EncodeMatched()
119 …price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
131 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[context], bit); in GetPrice()
186 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_choice); in Init()
[all …]
/external/rust/crates/flate2/src/gz/
Dmod.rs6 use crate::Compression;
180 pub fn write<W: Write>(self, w: W, lvl: Compression) -> write::GzEncoder<W> { in write()
188 pub fn read<R: Read>(self, r: R, lvl: Compression) -> read::GzEncoder<R> { in read()
196 pub fn buf_read<R>(self, r: R, lvl: Compression) -> bufread::GzEncoder<R> in buf_read()
203 fn into_header(self, lvl: Compression) -> Vec<u8> { in into_header()
235 header[8] = if lvl.0 >= Compression::best().0 { in into_header()
237 } else if lvl.0 <= Compression::fast().0 { in into_header()
257 use crate::Compression;
262 let mut e = write::GzEncoder::new(Vec::new(), Compression::default()); in roundtrip()
273 let e = write::GzEncoder::new(Vec::new(), Compression::default()); in roundtrip_zero()
[all …]
Dwrite.rs9 use crate::{Compress, Compression, Decompress, Status};
41 pub fn gz_encoder<W: Write>(header: Vec<u8>, w: W, lvl: Compression) -> GzEncoder<W> { in gz_encoder()
58 pub fn new(w: W, level: Compression) -> GzEncoder<W> { in new()
388 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in decode_writer_one_chunk()
404 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in decode_writer_partial_header()
422 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in decode_writer_exact_header()
437 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in decode_writer_partial_crc()
/external/rust/crates/flate2/src/deflate/
Dmod.rs12 use crate::Compression;
17 let mut w = write::DeflateEncoder::new(Vec::new(), Compression::default()); in roundtrip()
34 write::DeflateEncoder::new(&mut data, Compression::default()) in drop_writes()
46 let mut w = write::DeflateEncoder::new(Vec::new(), Compression::default()); in total_in()
72 read::DeflateDecoder::new(read::DeflateEncoder::new(&v[..], Compression::default())); in roundtrip2()
83 Compression::default(), in roundtrip3()
93 let mut w = write::DeflateEncoder::new(Vec::new(), Compression::default()); in reset_writer()
99 let mut w = write::DeflateEncoder::new(Vec::new(), Compression::default()); in reset_writer()
109 let mut r = read::DeflateEncoder::new(&v[..], Compression::default()); in reset_reader()
114 let mut r = read::DeflateEncoder::new(&v[..], Compression::default()); in reset_reader()
[all …]
/external/rust/crates/flate2/src/zlib/
Dmod.rs13 use crate::Compression;
18 let mut w = write::ZlibEncoder::new(Vec::new(), Compression::default()); in roundtrip()
35 write::ZlibEncoder::new(&mut data, Compression::default()) in drop_writes()
47 let mut w = write::ZlibEncoder::new(Vec::new(), Compression::default()); in total_in()
72 let mut r = read::ZlibDecoder::new(read::ZlibEncoder::new(&v[..], Compression::default())); in roundtrip2()
82 write::ZlibEncoder::new(write::ZlibDecoder::new(Vec::new()), Compression::default()); in roundtrip3()
91 let mut w = write::ZlibEncoder::new(Vec::new(), Compression::default()); in reset_decoder()
139 read::ZlibDecoder::new(read::ZlibEncoder::new(&v[..], Compression::default())); in qc_reader()
153 Compression::default(), in qc_writer()
/external/rust/crates/flate2/tests/
Dempty-read.rs9 flate2::write::DeflateEncoder::new(Vec::new(), flate2::Compression::default()); in deflate_decoder_empty_read()
22 let mut encoder = flate2::read::DeflateEncoder::new(original, flate2::Compression::default()); in deflate_encoder_empty_read()
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()
61 let mut encoder = flate2::write::ZlibEncoder::new(Vec::new(), flate2::Compression::default()); in zlib_decoder_empty_read()
74 let mut encoder = flate2::read::ZlibEncoder::new(original, flate2::Compression::default()); in zlib_encoder_empty_read()
/external/elfutils/tests/
Drun-readelf-z.sh28 [Compression Size Al]
50 [Compression Size Al]
73 [Compression Size Al]
95 [Compression Size Al]
118 [Compression Size Al]
140 [Compression Size Al]
163 [Compression Size Al]
185 [Compression Size Al]
/external/skia/include/encode/
DSkWebpEncoder.h21 enum class Compression { enum
39 Compression fCompression = Compression::kLossy;
/external/zlib/google/
Dzip_internal.h64 enum Compression { enum
73 Compression compression);
80 Compression GetCompressionMethod(const base::FilePath& path);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIAInjectedSource.cpp45 DWORD Compression = 0; in getCompression() local
46 if (S_OK != SourceFile->get_sourceCompression(&Compression)) in getCompression()
48 return static_cast<uint32_t>(Compression); in getCompression()
/external/rust/crates/libz-sys/src/zlib/os400/
Dzlib.inc125 D level 10I 0 value Compression level
302 D strm like(z_stream) Compression stream
303 D level 10I 0 value Compression level
308 D strm like(z_stream) Compression stream
312 D strm like(z_stream) Compression stream
331 D strm like(z_stream) Compression stream
332 D level 10I 0 value Compression level
333 D method 10I 0 value Compression method
336 D strategy 10I 0 value Compression strategy
342 D strm like(z_stream) Compression stream
[all …]
/external/grpc-grpc-java/buildscripts/
Dmake_dependencies.bat24 …rence = 'stop'; & { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compressio…
48 …rence = 'stop'; & { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compressio…
/external/zstd/
DREADME.md45 | Compressor name | Ratio | Compression| Decompress.|
67 Speed vs Compression trade-off is configurable by small increments.
78 Compression Speed vs Ratio | Decompression Speed
80 ![Compression Speed vs Ratio](doc/images/CSpeed2.png "Compression Speed vs Ratio") | ![Decompressio…
99 Compression Ratio | Compression Speed | Decompression Speed
101 ![Compression Ratio](doc/images/dict-cr.png "Compression Ratio") | ![Compression Speed](doc/images/…
/external/rust/crates/flate2/examples/
Dgzencoder-write.rs4 use flate2::Compression;
9 let mut e = GzEncoder::new(Vec::new(), Compression::default()); in main()
Dzlibencoder-write.rs4 use flate2::Compression;
9 let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); in main()
Ddeflateencoder-write.rs4 use flate2::Compression;
9 let mut e = DeflateEncoder::new(Vec::new(), Compression::default()); in main()
Dgzencoder-read.rs4 use flate2::Compression;
17 let mut z = GzEncoder::new(&c[..], Compression::fast()); in gzencoder_read_hello_world()
Ddeflateencoder-read.rs4 use flate2::Compression;
17 let mut deflater = DeflateEncoder::new(&c[..], Compression::fast()); in deflateencoder_read_hello_world()
Dgzbuilder.rs3 use flate2::Compression;
20 .write(f, Compression::default()); in sample_builder()
Dzlibencoder-read.rs4 use flate2::Compression;
17 let mut z = ZlibEncoder::new(f, Compression::fast()); in open_hello_world()
/external/scapy/.appveyor/
DInstallWindump.ps19 Add-Type -AssemblyName System.IO.Compression.FileSystem
14 [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath) in Unzip()
/external/lzma/Java/SevenZip/
DLzmaAlone.java203 SevenZip.Compression.LZMA.Encoder encoder = new SevenZip.Compression.LZMA.Encoder(); in main()
231 SevenZip.Compression.LZMA.Decoder decoder = new SevenZip.Compression.LZMA.Decoder(); in main()

12345678910>>...13