Home
last modified time | relevance | path

Searched refs:compress (Results 1 – 25 of 899) sorted by relevance

12345678910>>...36

/external/elfutils/tests/
Drun-elfputzdata.sh24 Cannot compress 1 .interp
25 Cannot compress 2 .note.ABI-tag
26 Cannot compress 3 .hash
27 Cannot compress 4 .dynsym
28 Cannot compress 5 .dynstr
29 Cannot compress 6 .gnu.version
30 Cannot compress 7 .gnu.version_r
31 Cannot compress 8 .rel.got
32 Cannot compress 9 .rel.plt
33 Cannot compress 10 .init
[all …]
/external/tinycompress/
Dcompress.c84 struct compress { struct
96 static int oops(struct compress *compress, int e, const char *fmt, ...) in oops() argument
102 vsnprintf(compress->error, COMPR_ERR_MAX, fmt, ap); in oops()
104 sz = strlen(compress->error); in oops()
106 snprintf(compress->error + sz, COMPR_ERR_MAX - sz, in oops()
113 const char *compress_get_error(struct compress *compress) in compress_get_error() argument
115 return compress->error; in compress_get_error()
117 static struct compress bad_compress = {
121 int is_compress_running(struct compress *compress) in is_compress_running() argument
123 return ((compress->fd > 0) && compress->running) ? 1 : 0; in is_compress_running()
[all …]
Dcplay.c138 static int print_time(struct compress *compress) in print_time() argument
143 if (compress_get_hpointer(compress, &avail, &tstamp) != 0) { in print_time()
145 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in print_time()
204 struct compress *compress; in play_samples() local
251 compress = compress_open(card, device, COMPRESS_IN, &config); in play_samples()
252 if (!compress || !is_compress_ready(compress)) { in play_samples()
255 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
272 wrote = compress_write(compress, buffer, num_read); in play_samples()
275 fprintf(stderr, "ERR: %s\n", compress_get_error(compress)); in play_samples()
288 compress_start(compress); in play_samples()
[all …]
/external/tinycompress/include/tinycompress/
Dtinycompress.h82 struct compress;
101 struct compress *compress_open(unsigned int card, unsigned int device,
109 void compress_close(struct compress *compress);
119 int compress_get_hpointer(struct compress *compress,
131 int compress_get_tstamp(struct compress *compress,
151 int compress_write(struct compress *compress, const void *buf, unsigned int size);
168 int compress_read(struct compress *compress, void *buf, unsigned int size);
176 int compress_start(struct compress *compress);
184 int compress_stop(struct compress *compress);
192 int compress_pause(struct compress *compress);
[all …]
/external/apache-commons-compress/src/test/resources/longpath/
Dminotaur.cpio1compress-test�0707077777771502250407750032710032710000030000001137125043100002300000000000compress
Dfiles.txt24 compress-test/
25 compress-test/dir1/
26 compress-test/dir1/dir2/
27 compress-test/dir1/dir2/dir3/
28 compress-test/dir1/dir2/dir3/dir4/
29 compress-test/dir1/dir2/dir3/dir4/dir5/
30 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/
31 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/
32 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/
33 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/
DCompressorStreamFactory.java19 package org.apache.commons.compress.compressors;
34 import org.apache.commons.compress.compressors.brotli.BrotliCompressorInputStream;
35 import org.apache.commons.compress.compressors.brotli.BrotliUtils;
36 import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;
37 import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream;
38 import org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream;
39 import org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream;
40 import org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream;
41 import org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream;
42 import org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream;
[all …]
/external/python/cpython3/Lib/test/
Dtest_zlib.py91 self.assertRaises(zlib.error, zlib.compress, b'ERROR', 10)
96 self.assertRaises(TypeError, zlib.compress)
101 self.assertRaises(TypeError, zlib.compress, arg)
148 compressed = zlib.compress(data, 1)
164 x = zlib.compress(HAMLET_SCENE)
168 x = zlib.compress(HAMLET_SCENE, level=3)
171 zlib.compress(data=HAMLET_SCENE, level=3)
180 x = zlib.compress(data)
181 self.assertEqual(zlib.compress(bytearray(data)), x)
187 x = zlib.compress(HAMLET_SCENE)
[all …]
/external/python/cpython2/Lib/test/
Dtest_zlib.py100 self.assertRaises(zlib.error, zlib.compress, 'ERROR', 10)
147 compressed = zlib.compress(data, 1)
163 x = zlib.compress(HAMLET_SCENE)
169 x = zlib.compress(data)
174 x = zlib.compress(HAMLET_SCENE)
183 compress = lambda s: zlib.compress(s, 1) function
184 self.check_big_compress_buffer(size, compress)
194 compressed = zlib.compress(data, 1)
199 compressed = zlib.compress(data, 1)
207 comp = zlib.compress(data, 0)
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveStreamFactory.java19 package org.apache.commons.compress.archivers;
35 import org.apache.commons.compress.archivers.ar.ArArchiveInputStream;
36 import org.apache.commons.compress.archivers.ar.ArArchiveOutputStream;
37 import org.apache.commons.compress.archivers.arj.ArjArchiveInputStream;
38 import org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream;
39 import org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream;
40 import org.apache.commons.compress.archivers.dump.DumpArchiveInputStream;
41 import org.apache.commons.compress.archivers.jar.JarArchiveInputStream;
42 import org.apache.commons.compress.archivers.jar.JarArchiveOutputStream;
43 import org.apache.commons.compress.archivers.sevenz.SevenZFile;
[all …]
/external/python/cpython2/Lib/distutils/
Darchive_util.py51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
72 if compress is not None and compress not in compress_ext.keys():
78 if compress != 'compress':
79 archive_name += compress_ext.get(compress, '')
101 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
108 if compress == 'compress':
111 compressed_name = archive_name + compress_ext[compress]
113 cmd = [compress, archive_name, compressed_name]
115 cmd = [compress, '-f', archive_name]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/
DBlockLZ4CompressorOutputStreamTest.java19 package org.apache.commons.compress.compressors.lz4;
25 import org.apache.commons.compress.compressors.lz77support.LZ77Compressor;
196 byte[] compressed = compress(i); in rewritingOfFinalBlockWithoutTrailingLZ77Literals()
210 byte[] compressed = compress(i); in rewritingOfFinalBlockWithoutTrailingLZ77Literals()
226 byte[] compressed = compress(i); in rewritingOfFinalBlockWithoutTrailingLZ77Literals()
244 byte[] compressed = compress(16, i); in rewritingOfFinalBlockWithTrailingLZ77Literals()
264 byte[] compressed = compress(16, i); in rewritingOfFinalBlockWithTrailingLZ77Literals()
283 byte[] compressed = compress(16, i); in rewritingOfFinalBlockWithTrailingLZ77Literals()
305 byte[] compressed = compress(6, 5, 5, 1); in rewritingOfFourPairs()
332 byte[] compressed = compress(toCompress); in rewritingWithFinalBackreferenceAndOffsetBiggerThan1()
[all …]
/external/python/cpython3/Lib/distutils/
Darchive_util.py55 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
78 if compress is not None and compress not in compress_ext.keys():
84 if compress != 'compress':
85 archive_name += compress_ext.get(compress, '')
107 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
114 if compress == 'compress':
117 compressed_name = archive_name + compress_ext[compress]
119 cmd = [compress, archive_name, compressed_name]
121 cmd = [compress, '-f', archive_name]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DDetectArchiverTestCase.java19 package org.apache.commons.compress;
28 import org.apache.commons.compress.archivers.ArchiveException;
29 import org.apache.commons.compress.archivers.ArchiveInputStream;
30 import org.apache.commons.compress.archivers.ar.ArArchiveInputStream;
31 import org.apache.commons.compress.archivers.arj.ArjArchiveInputStream;
32 import org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream;
33 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
34 import org.apache.commons.compress.archivers.zip.ZipArchiveInputStream;
DIOMethodsTest.java19 package org.apache.commons.compress;
29 import org.apache.commons.compress.archivers.ArchiveEntry;
30 import org.apache.commons.compress.archivers.ArchiveInputStream;
31 import org.apache.commons.compress.archivers.ArchiveOutputStream;
32 import org.apache.commons.compress.archivers.ar.ArArchiveEntry;
33 import org.apache.commons.compress.archivers.cpio.CpioArchiveEntry;
34 import org.apache.commons.compress.archivers.jar.JarArchiveEntry;
35 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
36 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
DChainingTestCase.java19 package org.apache.commons.compress;
26 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
27 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
28 import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;
29 import org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream;
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz77support/
DLZ77CompressorTest.java19 package org.apache.commons.compress.compressors.lz77support;
67 …private List<LZ77Compressor.Block> compress(Parameters params, byte[]... chunks) throws IOExceptio… in compress() method in LZ77CompressorTest
87 c.compress(chunk); in compress()
95 List<LZ77Compressor.Block> blocks = compress(newParameters(128), ONE_TO_TEN); in nonCompressableWithLengthSmallerThanLiteralMax()
102 List<LZ77Compressor.Block> blocks = compress(newParameters(8), ONE_TO_TEN); in nonCompressableWithLengthGreaterThanLiteralMaxButLessThanTwiceWindowSize()
110 List<LZ77Compressor.Block> blocks = compress(newParameters(4), ONE_TO_TEN); in nonCompressableWithLengthThatForcesWindowSlide()
119 List<LZ77Compressor.Block> blocks = compress(newParameters(8), stagger(ONE_TO_TEN)); in nonCompressableSentAsSingleBytes()
128 List<LZ77Compressor.Block> blocks = compress(newParameters(128), BLA); in blaExampleWithFullArrayAvailableForCompression()
137 List<LZ77Compressor.Block> blocks = compress(newParameters(128, 3, 5, 0, 0), BLA); in blaExampleWithShorterBackReferenceLength()
149 List<LZ77Compressor.Block> blocks = compress(newParameters(8), BLA); in blaExampleSmallerWindowSize()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DPack200TestCase.java19 package org.apache.commons.compress.compressors;
33 import org.apache.commons.compress.AbstractTestCase;
34 import org.apache.commons.compress.archivers.ArchiveEntry;
35 import org.apache.commons.compress.archivers.ArchiveInputStream;
36 import org.apache.commons.compress.archivers.ArchiveOutputStream;
37 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
38 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
39 import org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream;
40 import org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream;
41 import org.apache.commons.compress.compressors.pack200.Pack200Strategy;
[all …]
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java329 public void compress(byte[] dstBuf, int flags) throws TJException { in compress() method in TJCompressor
349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress()
353 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress()
358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress()
362 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress()
379 public byte[] compress(int flags) throws TJException { in compress() method in TJCompressor
382 compress(buf, flags); in compress()
393 public void compress(BufferedImage srcImage, byte[] dstBuf, int flags) in compress() method in TJCompressor
396 compress(dstBuf, flags); in compress()
406 public byte[] compress(BufferedImage srcImage, int flags) in compress() method in TJCompressor
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DExpanderTest.java19 package org.apache.commons.compress.archivers.examples;
34 import org.apache.commons.compress.AbstractTestCase;
35 import org.apache.commons.compress.archivers.ArchiveEntry;
36 import org.apache.commons.compress.archivers.ArchiveException;
37 import org.apache.commons.compress.archivers.ArchiveInputStream;
38 import org.apache.commons.compress.archivers.ArchiveOutputStream;
39 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
40 import org.apache.commons.compress.archivers.StreamingNotSupportedException;
41 import org.apache.commons.compress.archivers.sevenz.SevenZFile;
42 import org.apache.commons.compress.archivers.sevenz.SevenZOutputFile;
[all …]
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DDeflateCompressorTest.java86 compressor.compress(rawContentIn, compressedContentOut); in testCompress()
108 compressor.compress(rawContentIn, compressedContentOut);
119 compressor.compress(rawContentIn, compressedContentOut);
139 compressor.compress(rawContentIn, compressedContentOut);
168 compressor.compress(rawContentIn, compressedContentOut);
193 compressor.compress(rawContentIn, compressedContentOut);
204 compressor.compress(rawContentIn, compressedContentOut);
240 compressor.compress(rawContentIn, compressedContentOut);
248 compressor.compress(rawContentIn, compressedContentOut);
258 compressor.compress(rawContentIn, compressedContentOut);
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStreamTest.java19 package org.apache.commons.compress.archivers.jar;
28 import org.apache.commons.compress.AbstractTestCase;
29 import org.apache.commons.compress.archivers.zip.JarMarker;
30 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
31 import org.apache.commons.compress.archivers.zip.ZipExtraField;
32 import org.apache.commons.compress.archivers.zip.ZipFile;
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzma/
DLZMACompressorInputStream.java19 package org.apache.commons.compress.compressors.lzma;
24 import org.apache.commons.compress.MemoryLimitException;
27 import org.apache.commons.compress.compressors.CompressorInputStream;
28 import org.apache.commons.compress.utils.CountingInputStream;
29 import org.apache.commons.compress.utils.IOUtils;
30 import org.apache.commons.compress.utils.InputStreamStatistics;
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStream.java19 package org.apache.commons.compress.archivers.jar;
24 import org.apache.commons.compress.archivers.ArchiveEntry;
25 import org.apache.commons.compress.archivers.zip.JarMarker;
26 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
27 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveOutputStreamTest.java19 package org.apache.commons.compress.archivers;
30 import org.apache.commons.compress.AbstractTestCase;
31 import org.apache.commons.compress.archivers.ar.ArArchiveEntry;
32 import org.apache.commons.compress.archivers.cpio.CpioArchiveEntry;
33 import org.apache.commons.compress.archivers.jar.JarArchiveEntry;
34 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
35 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
36 import org.apache.commons.compress.utils.IOUtils;

12345678910>>...36