Home
last modified time | relevance | path

Searched refs:compressor (Results 1 – 25 of 58) sorted by relevance

123

/external/squashfs-tools/squashfs-tools/
Dcompressor.c29 static struct compressor gzip_comp_ops = {
33 extern struct compressor gzip_comp_ops;
37 static struct compressor lzma_comp_ops = {
41 extern struct compressor lzma_comp_ops;
45 static struct compressor lzo_comp_ops = {
49 extern struct compressor lzo_comp_ops;
53 static struct compressor lz4_comp_ops = {
57 extern struct compressor lz4_comp_ops;
61 static struct compressor xz_comp_ops = {
65 extern struct compressor xz_comp_ops;
[all …]
Dcompressor.h25 struct compressor { struct
41 extern struct compressor *lookup_compressor(char *); argument
42 extern struct compressor *lookup_compressor_id(int);
46 static inline int compressor_init(struct compressor *comp, void **stream, in compressor_init()
55 static inline int compressor_compress(struct compressor *comp, void *strm, in compressor_compress()
62 static inline int compressor_uncompress(struct compressor *comp, void *dest, in compressor_uncompress()
73 static inline int compressor_options(struct compressor *comp, char *argv[], in compressor_options()
83 static inline int compressor_options_post(struct compressor *comp, int block_size) in compressor_options_post()
91 static inline void *compressor_dump_options(struct compressor *comp, in compressor_dump_options()
100 static inline int compressor_extract_options(struct compressor *comp, in compressor_extract_options()
[all …]
DMakefile113 MKSQUASHFS_OBJS = mksquashfs.o read_fs.o action.o swap.o pseudo.o compressor.o \
118 unsquash-4.o swap.o compressor.o unsquashfs_info.o
212 $(error "No compressor selected! Select one or more of GZIP, LZMA, XZ, LZO or \
Dread_fs.h26 extern struct compressor *read_super(int, struct squashfs_super_block *,
DAndroid.mk19 compressor.c \
Dlzma_wrapper.c111 struct compressor lzma_comp_ops = {
Dmksquashfs.h154 extern struct compressor *comp;
Dlz4_wrapper.c272 struct compressor lz4_comp_ops = {
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DDeflateCompressorTest.java51 private DeflateCompressor compressor; field in DeflateCompressorTest
79 compressor = new DeflateCompressor(); in setUp()
86 compressor.compress(rawContentIn, compressedContentOut); in testCompress()
90 uncompressWithJavaInflater(compressor.isNowrap(), compressedContentOut.toByteArray()); in testCompress()
99 Assert.assertTrue(compressor.isNowrap());
100 Assert.assertEquals(Deflater.DEFAULT_COMPRESSION, compressor.getCompressionLevel());
101 Assert.assertEquals(Deflater.DEFAULT_STRATEGY, compressor.getStrategy());
107 Assert.assertTrue(compressor.isNowrap());
108 compressor.compress(rawContentIn, compressedContentOut);
111 uncompressWithJavaInflater(compressor.isNowrap(), compressedWithNowrapOn);
[all …]
DUnitTestZipEntry.java103 DeflateCompressor compressor = new DeflateCompressor(); in getCompressedBinaryContent() local
104 compressor.setCompressionLevel(level); in getCompressedBinaryContent()
105 compressor.setNowrap(nowrap); in getCompressedBinaryContent()
107 compressor.compress(new ByteArrayInputStream(getUncompressedBinaryContent()), buffer); in getCompressedBinaryContent()
DPartiallyUncompressingPipeTest.java65 DeflateCompressor compressor = new DeflateCompressor(); in testWriteAll_Compressed_NoWrapFalse() local
66 compressor.setNowrap(false); in testWriteAll_Compressed_NoWrapFalse()
68 compressor.compress( in testWriteAll_Compressed_NoWrapFalse()
/external/brotli/python/tests/
Dcompressor_test.py35 out_file.write(self.compressor.process(in_file.read()))
36 out_file.write(self.compressor.finish())
46 out_file.write(self.compressor.process(data))
47 out_file.write(self.compressor.finish())
57 out_file.write(self.compressor.process(data))
58 out_file.write(self.compressor.flush())
59 out_file.write(self.compressor.finish())
69 self.compressor = brotli.Compressor(quality=1)
75 self.compressor = brotli.Compressor(quality=6)
81 self.compressor = brotli.Compressor(quality=9)
[all …]
/external/caliper/examples/src/main/java/examples/
DCompressionSizeBenchmark.java69 Deflater compressor = new Deflater(); in compress() local
70 compressor.setLevel(compressionLevelMap.get(compressionLevel)); in compress()
71 compressor.setInput(bytes); in compress()
72 compressor.finish(); in compress()
75 while (!compressor.finished()) { in compress()
76 int count = compressor.deflate(buf); in compress()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDefaultDeflateCompatibilityWindow.java324 DeflateCompressor compressor = new DeflateCompressor(); in getSystemValues() local
325 compressor.setCaching(true); // Makes this computation lighter weight. in getSystemValues()
330 compressor.setNowrap(nowrap); in getSystemValues()
332 compressor.setStrategy(strategy); in getSystemValues()
342 compressor.setCompressionLevel(level); in getSystemValues()
345 compressor.compress(new ByteArrayInputStream(CorpusHolder.CORPUS_INSTANCE), buffer); in getSystemValues()
358 compressor.release(); in getSystemValues()
/external/brotli/python/
Dbrotli.py48 compressor = Compressor(mode=mode, quality=quality, lgwin=lgwin,
50 return compressor.process(string) + compressor.finish()
/external/squashfs-tools/RELEASE-READMEs/
DREADME-4.214 2. Support for compressor specific options
33 -X<compressor-option>
36 options are prefixed by -X, and are passed to the compressor for handling.
38 The compression specific options supported by each compressor can be
42 Compressors available and compressor specific options:
DREADME-4.322 2. GZIP compressor now supports compression options, allowing different
25 3. Rewritten LZO compressor with compression options, allowing different
28 4. New LZ4 compressor (note not yet in mainline kernel)
96 The compression specific options are, obviously, specific to the compressor
97 in question, and you should read the compressor documentation and check
100 In general the defaults used by Mksquashfs for each compressor are optimised
101 to give the best performance for each compressor, where what constitutes
102 best depends on the compressor. For gzip/xz best means highest compression
146 Display the usage text for the currently selected compressor.
/external/python/cpython2/Demo/zlib/
Dzlibdemo.py31 compressor = zlib.compressobj(9)
35 comptext = comptext+compressor.compress(s[i:i+chunk])
37 comptext = comptext + compressor.flush()
/external/lz4/doc/
Dlz4_Block_format.md11 LZ4 is an LZ77-type compressor with a fixed, byte-oriented encoding.
18 not how the compressor nor decompressor actually work.
20 on implementation details of the compressor, and vice versa.
117 There is no assumption nor limits to the way the compressor
126 Whatever the method used by the compressor, its result will be decodable
/external/zlib/src/doc/
Drfc1950.txt138 the specifications presented here; a compliant compressor must
290 bytes which are initially fed to the compressor without
294 which dictionary has been used by the compressor.
301 0 - compressor used fastest algorithm
302 1 - compressor used fast algorithm
303 2 - compressor used default algorithm
304 3 - compressor used maximum compression, slowest algorithm
345 A compliant compressor must produce streams with correct CMF, FLG
348 the compressor may use only preset dictionaries that are specified
350 preset dictionary feature, the compressor must not set the FDICT
[all …]
Drfc1951.txt122 compressor.
159 the specifications presented here; a compliant compressor must
763 A compressor may limit further the ranges of values specified in
766 32K. Similarly, a compressor may limit the size of blocks so that
780 recommended that the implementor of a compressor follow the general
791 specification per se, and a compressor need not follow it in order to
794 The compressor terminates a block when it determines that starting a
796 fills up the compressor's block buffer.
798 The compressor uses a chained hash table to find duplicated strings,
802 compressor examines the hash chain for XYZ. If the chain is empty,
[all …]
Drfc1952.txt109 compressor.
147 specifications presented here; a compliant compressor must produce
313 an optional indication, which the compressor may set by
320 this bit, since a compressor always has the option of
379 XFL = 2 - compressor used maximum compression,
381 XFL = 4 - compressor used fastest algorithm
464 A compliant compressor must produce files with correct ID1,
467 OS, 0 for all others). The compressor must set all reserved
/external/liblzf/
DChanges8 - slightly improve compressor speed.
9 - halved memory requirements for compressor on 64 bit architectures,
47 - undo inline assembly in compressor, it is no longer helpful.
/external/syslinux/lzo/doc/
DLZO.TXT45 compressor. The speed of the decompressor is not reduced.
58 favoured over compressor speed. Real-time decompression should be
65 created test data and at last added the compressor.
180 decompressor is too slow, and there is no fast compressor anyway.
/external/ppp/pppd/include/net/
Dppp-comp.h58 struct compressor { struct

123