Home
last modified time | relevance | path

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

12345678910>>...15

/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;
97 struct compress *compress_open(unsigned int card, unsigned int device,
105 void compress_close(struct compress *compress);
115 int compress_get_hpointer(struct compress *compress,
127 int compress_get_tstamp(struct compress *compress,
147 int compress_write(struct compress *compress, const void *buf, unsigned int size);
164 int compress_read(struct compress *compress, void *buf, unsigned int size);
172 int compress_start(struct compress *compress);
180 int compress_stop(struct compress *compress);
188 int compress_pause(struct compress *compress);
[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 …]
Dtest_bz2.py344 self.assertRaises(TypeError, bz2c.compress)
345 data = bz2c.compress(self.TEXT)
352 data = bz2c.compress('')
365 data += bz2c.compress(str)
374 data = bz2c.compress(text) + bz2c.flush()
425 compressed = bz2.compress("a" * _4G)
436 data = bz2.compress(self.TEXT)
441 text = bz2.compress('')
466 data = bz2.compress(text)
477 compressed = bz2.compress("a" * _4G)
/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/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java327 public void compress(byte[] dstBuf, int flags) throws TJException { in compress() method in TJCompressor
347 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress()
351 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress()
356 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress()
360 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress()
377 public byte[] compress(int flags) throws TJException { in compress() method in TJCompressor
380 compress(buf, flags); in compress()
390 public void compress(BufferedImage srcImage, byte[] dstBuf, int flags) in compress() method in TJCompressor
393 compress(dstBuf, flags); in compress()
402 public byte[] compress(BufferedImage srcImage, int flags) in compress() method in TJCompressor
[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/chromium-trace/catapult/systrace/profile_chrome/
Dprofiler.py15 def _GetResults(trace_results, controller, output, compress, write_json, argument
42 elif compress and len(trace_results) == 1:
62 compress=False, write_json=False): argument
107 return _GetResults(all_results, controller, output, compress, write_json,
/external/liblzf/
Dlzf.c61 static enum { compress, uncompress, lzcat } mode = compress; enumerator
335 if (mode == compress) in compose_name()
419 if (mode == compress) in run_file()
482 mode = compress; in main()
517 if (mode == compress && isatty (1)) in main()
524 if (mode == compress) in main()
/external/r8/
DAndroid.mk8 d8-support-common-compress:deps/commons-compress-1.12.jar \
22 d8-support-common-compress \
/external/bzip2/
DMakefile-libbz2_so33 compress.o \
54 compress.o: compress.c
55 $(CC) $(CFLAGS) -c compress.c
/external/caliper/examples/src/main/java/examples/
DCompressionSizeBenchmark.java55 dummy += compress(toCompress.getBytes()).length; in simpleCompression()
63 byte[] finalBytes = compress(initialBytes); in compressionSize()
68 private byte[] compress(byte[] bytes) { in compress() method in CompressionSizeBenchmark
/external/python/cpython2/Lib/encodings/
Dbz2_codec.py26 output = bz2.compress(input)
62 c = self.compressobj.compress(input)
65 return self.compressobj.compress(input)
Dzlib_codec.py25 output = zlib.compress(input)
61 c = self.compressobj.compress(input)
64 return self.compressobj.compress(input)
/external/e2fsprogs/e2fsck/
Drehash.c85 int compress; member
162 if (!fd->compress && (name_len == 1) && in fill_dir_block()
165 if (!fd->compress && (name_len == 2) && in fill_dir_block()
184 if (fd->compress) in fill_dir_block()
460 outdir->num = fd->compress ? 0 : 1; in copy_dir_entries()
470 slack = fd->compress ? 12 : in copy_dir_entries()
747 int compress) in write_directory() argument
770 if (compress) in write_directory()
821 fd.compress = 1; in e2fsck_rehash_dir()
837 if (!fd.compress && (fd.dir_size < (fs->blocksize - 24))) { in e2fsck_rehash_dir()
[all …]
/external/python/cpython2/Doc/library/
Djpeg.rst37 Exception raised by :func:`compress` and :func:`decompress` in case of errors.
40 .. function:: compress(data, w, h, b)
47 :func:`compress`. Currently only 1 byte and 4 byte pixels are allowed, the
48 former being treated as greyscale and the latter as RGB color. :func:`compress`
63 Set various options. Subsequent :func:`compress` and :func:`decompress` calls
Dbz2.rst33 * One-shot (de)compression supported by :func:`compress` and :func:`decompress`
161 Create a new compressor object. This object may be used to compress data
162 sequentially. If you want to compress data in one shot, use the
163 :func:`compress` function instead. The *compresslevel* parameter, if given,
167 .. method:: compress(data)
171 compress, call the :meth:`flush` method to finish the compression process,
200 One-shot compression and decompression is provided through the :func:`compress`
204 .. function:: compress(data[, compresslevel])
206 Compress *data* in one shot. If you want to compress data sequentially, use
/external/zlib/src/msdos/
DMakefile.bor44 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
46 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
58 compress.obj: compress.c zlib.h zconf.h
DMakefile.tc29 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
31 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
43 compress.obj: compress.c zlib.h zconf.h
/external/lz4/examples/
DblockStreaming_doubleBuffer.md73 Next, read first block to double buffer's first page. And compress it by `LZ4_compress_continue()`.
75 so it just compress the line without dependencies and generates compressed block {Out#1} to LZ4 com…
78 Next, read second block to double buffer's second page. And compress it.
82 Next, read third block to double buffer's *first* page. And compress it.
/external/python/cpython2/Lib/distutils/tests/
Dtest_archive_util.py90 make_tarball(splitdrive(base_name)[1], '.', compress=None)
156 make_tarball(base_name, 'dist', compress=None)
167 make_tarball(base_name, 'dist', compress=None, dry_run=True)
184 make_tarball(base_name, 'dist', compress='compress')
198 make_tarball(base_name, 'dist', compress='compress',
266 archive_name = make_tarball(base_name, 'dist', compress=None,
/external/zlib/src/watcom/
Dwatcom_l.mak7 C_SOURCE = adler32.c compress.c crc32.c deflate.c &
12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
Dwatcom_f.mak7 C_SOURCE = adler32.c compress.c crc32.c deflate.c &
12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj

12345678910>>...15