Home
last modified time | relevance | path

Searched refs:decompress (Results 1 – 25 of 255) sorted by relevance

1234567891011

/external/python/cpython3/Lib/test/
Dtest_zlib.py97 self.assertRaises(TypeError, zlib.decompress)
102 self.assertRaises(TypeError, zlib.decompress, arg)
123 zlib.decompress(b'', 15, sys.maxsize + 1)
125 zlib.decompressobj().decompress(b'', sys.maxsize + 1)
165 self.assertEqual(zlib.decompress(x), HAMLET_SCENE)
169 self.assertEqual(zlib.decompress(x), HAMLET_SCENE)
172 self.assertEqual(zlib.decompress(x,
183 self.assertEqual(zlib.decompress(ob), data)
190 zlib.decompress, x[:-1])
201 self.check_big_decompress_buffer(size, zlib.decompress)
[all …]
Dtest_lzma.py58 self.assertRaises(TypeError, lzd.decompress)
59 self.assertRaises(TypeError, lzd.decompress, b"foo", b"bar")
60 lzd.decompress(empty)
61 self.assertRaises(EOFError, lzd.decompress, b"quux")
76 lzd.decompress(COMPRESSED_XZ)
77 self.assertRaises(EOFError, lzd.decompress, b"nyan")
81 self.assertRaises(LZMAError, lzd.decompress, COMPRESSED_XZ)
84 self.assertRaises(LZMAError, lzd.decompress, COMPRESSED_XZ)
87 self.assertRaises(LZMAError, lzd.decompress, COMPRESSED_ALONE)
93 out = lzd.decompress(data)
[all …]
Dtest_bz2.py32 return bz2.decompress(data)
655 data = bz2.decompress(compressed)
674 self.assertRaises(TypeError, bz2d.decompress)
675 text = bz2d.decompress(self.DATA)
686 text += bz2d.decompress(str)
693 text = bz2d.decompress(self.DATA+unused_data)
699 text = bz2d.decompress(self.DATA)
700 self.assertRaises(EOFError, bz2d.decompress, b"anything")
701 self.assertRaises(EOFError, bz2d.decompress, b"")
712 decompressed = bz2d.decompress(compressed)
[all …]
/external/python/cpython2/Lib/test/
Dtest_zlib.py121 zlib.decompress(b'', 15, sys.maxsize + 1)
123 zlib.decompressobj().decompress(b'', sys.maxsize + 1)
164 self.assertEqual(zlib.decompress(x), HAMLET_SCENE)
170 self.assertEqual(zlib.decompress(x), data)
177 zlib.decompress, x[:-1])
188 self.check_big_decompress_buffer(size, zlib.decompress)
195 self.assertEqual(zlib.decompress(compressed, 15, size), data)
200 self.assertEqual(zlib.decompress(compressed, 15, CustomInt()), data)
208 self.assertEqual(zlib.decompress(comp), data)
223 y1 = dco.decompress(x1 + x2)
[all …]
Dtest_bz2.py28 def decompress(self, data): member in BaseTest
38 ret = bz2.decompress(data)
43 def decompress(self, data): member in BaseTest
44 return bz2.decompress(data)
162 self.assertEqual(self.decompress(f.read()), self.TEXT)
175 self.assertEqual(self.decompress(f.read()), self.TEXT)
186 self.assertEqual(self.decompress(f.read()), self.TEXT)
347 self.assertEqual(self.decompress(data), self.TEXT)
368 self.assertEqual(self.decompress(data), self.TEXT)
376 text = self.decompress(data)
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DDecompressionTest.java45 count1 = myDecompressor.decompress(segment1, 0, segment1.length, in decompressTest()
57 count2 = myDecompressor.decompress(segment2, 0, segment2.length, in decompressTest()
140 ud.decompress(null, 0, 0, null, null, 4, 0); in TestDecompress()
145 ud.decompress(null, 0, 0, null, charBufferBlank, 4, 0); in TestDecompress()
150 ud.decompress(null, 0, 0, null, charBuffer1, 4, 0); in TestDecompress()
156 ud.decompress(null, 0, 0, null, charValid, 0, 0); in TestDecompress()
161 ud.decompress(null, 0, 0, null, charValid, 1, 0); in TestDecompress()
166 ud.decompress(null, 0, 0, null, charValid, 1, 1); in TestDecompress()
171 ud.decompress(null, 0, 0, null, charValid, 0, 1); in TestDecompress()
236 ud.decompress(b, 0, b.length, null, c, 0, c.length); in TestDecompress()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/
DDecompressionTest.java48 count1 = myDecompressor.decompress(segment1, 0, segment1.length, in decompressTest()
60 count2 = myDecompressor.decompress(segment2, 0, segment2.length, in decompressTest()
143 ud.decompress(null, 0, 0, null, null, 4, 0); in TestDecompress()
148 ud.decompress(null, 0, 0, null, charBufferBlank, 4, 0); in TestDecompress()
153 ud.decompress(null, 0, 0, null, charBuffer1, 4, 0); in TestDecompress()
159 ud.decompress(null, 0, 0, null, charValid, 0, 0); in TestDecompress()
164 ud.decompress(null, 0, 0, null, charValid, 1, 0); in TestDecompress()
169 ud.decompress(null, 0, 0, null, charValid, 1, 1); in TestDecompress()
174 ud.decompress(null, 0, 0, null, charValid, 0, 1); in TestDecompress()
239 ud.decompress(b, 0, b.length, null, c, 0, c.length); in TestDecompress()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java377 public void decompress(byte[] dstBuf, int x, int y, int desiredWidth, in decompress() method in TJDecompressor
393 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, pitch, in decompress()
396 decompress(jpegBuf, jpegBufSize, dstBuf, desiredWidth, pitch, in decompress()
407 public void decompress(byte[] dstBuf, int desiredWidth, int pitch, in decompress() method in TJDecompressor
410 decompress(dstBuf, 0, 0, desiredWidth, pitch, desiredHeight, pixelFormat, in decompress()
438 public byte[] decompress(int desiredWidth, int pitch, int desiredHeight, in decompress() method in TJDecompressor
450 decompress(buf, desiredWidth, pitch, desiredHeight, pixelFormat, flags); in decompress()
696 public void decompress(int[] dstBuf, int x, int y, int desiredWidth, in decompress() method in TJDecompressor
711 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, stride, in decompress()
735 public void decompress(BufferedImage dstImage, int flags) in decompress() method in TJDecompressor
[all …]
/external/scapy/scapy/layers/tls/crypto/
Dcompression.py49 def decompress(self, s): member in Comp_NULL
64 def decompress(self, s): member in Comp_Deflate
65 return self.decompress_state.decompress(s)
83 def decompress(self, s): member in Comp_LZS
/external/xz-embedded/userspace/
Dboottest.c45 ret = decompress(in, in_size, NULL, NULL, out, NULL, &error); in test_buf_to_buf()
56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error); in test_buf_to_cb()
63 ret = decompress(NULL, 0, &fill, &flush, NULL, NULL, &error); in test_cb_to_cb()
75 ret = decompress(in, 0, &fill, NULL, out, &in_used, &error); in test_cb_to_buf()
/external/python/cpython3/Doc/library/
Dbz2.rst25 * The :func:`compress` and :func:`decompress` functions for one-shot
169 Create a new decompressor object. This object may be used to decompress data
170 incrementally. For one-shot compression, use the :func:`decompress` function
175 compressed streams, unlike :func:`decompress` and :class:`BZ2File`. If
176 you need to decompress a multi-stream input with :class:`BZ2Decompressor`,
179 .. method:: decompress(data, max_length=-1)
183 internally, for use in later calls to :meth:`decompress`. The
185 previous calls to :meth:`decompress`.
191 :meth:`~.decompress` may provide *data* as ``b''`` to obtain
199 Attempting to decompress data after the end of stream is reached
[all …]
/external/brotli/c/tools/
Dbrotli.md1 brotli(1) -- brotli, unbrotli - compress or decompress files
9 `unbrotli` is equivalent to `brotli --decompress`
27 * "`--decompress --stdout --suffix=.b`" works the same as
34 * `--decompress` option activates decompression mode;
36 "`--decompress --stdout`" except that the decompressed data is discarded
62 * `-d`, `--decompress`:
63 decompress mode
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeDecompressor.java115 public static String decompress(byte [] buffer){ in decompress() method in UnicodeDecompressor
116 char [] buf = decompress(buffer, 0, buffer.length); in decompress()
128 public static char [] decompress(byte [] buffer, int start, int limit) { in decompress() method in UnicodeDecompressor
137 int charCount = comp.decompress(buffer, start, limit, null, in decompress()
164 public int decompress(byte [] byteBuffer, in decompress() method in UnicodeDecompressor
208 int count = decompress(fBuffer, 0, fBuffer.length, null, in decompress()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java116 public static String decompress(byte [] buffer){ in decompress() method in UnicodeDecompressor
117 char [] buf = decompress(buffer, 0, buffer.length); in decompress()
130 public static char [] decompress(byte [] buffer, int start, int limit) { in decompress() method in UnicodeDecompressor
139 int charCount = comp.decompress(buffer, start, limit, null, in decompress()
167 public int decompress(byte [] byteBuffer, in decompress() method in UnicodeDecompressor
211 int count = decompress(fBuffer, 0, fBuffer.length, null, in decompress()
/external/python/cpython2/Lib/
Dgzip.py303 self.decompress = zlib.decompressobj(-zlib.MAX_WBITS)
313 uncompress = self.decompress.flush()
318 uncompress = self.decompress.decompress(buf)
321 if self.decompress.unused_data != "":
327 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1)
492 decompress = args and args[0] == "-d"
493 if decompress:
498 if decompress:
/external/bzip2/
DMakefile-libbz2_so34 decompress.o \
56 decompress.o: decompress.c
57 $(CC) $(CFLAGS) -c decompress.c
Ddlltest.c71 int decompress = 0; in main() local
90 decompress = 1; in main()
119 if(decompress){ in main()
/external/lz4/programs/
Dlz4.1.md1 lz4(1) -- lz4, unlz4, lz4cat - Compress or decompress .lz4 files
13 When writing scripts that need to decompress files,
59 * Similarly, `lz4 -m -d` can decompress multiple `*.lz4` files.
67 `lz4` will decompress such files as if they were a single `.lz4` file.
98 (for example, `unlz4` implies `--decompress`),
100 (for example, a file extension `.lz4` implies `--decompress` by default).
104 * `-d` `--decompress` `--uncompress`:
106 `--decompress` is also the default operation when the input filename has an
136 Compress, decompress or benchmark using dictionary _dictionaryName_.
146 When used with `--decompress` and `lz4` cannot recognize the type of
/external/brotli/java/org/brotli/dec/
DDecodeTest.java32 private byte[] decompress(byte[] data, boolean byByte) throws IOException { in decompress() method in DecodeTest
63 byte[] actual = decompress(compressedBytes, false); in checkDecodeResource()
65 byte[] actualByByte = decompress(compressedBytes, true); in checkDecodeResource()
/external/python/cpython2/Lib/encodings/
Dzlib_codec.py43 output = zlib.decompress(input)
77 c = self.decompressobj.decompress(input)
80 return self.decompressobj.decompress(input)
/external/python/cpython3/Lib/encodings/
Dzlib_codec.py19 return (zlib.decompress(input), len(input))
51 c = self.decompressobj.decompress(input)
54 return self.decompressobj.decompress(input)
/external/python/cpython2/Doc/library/
Dbz2.rst33 * One-shot (de)compression supported by :func:`compress` and :func:`decompress`
183 Create a new decompressor object. This object may be used to decompress data
184 sequentially. If you want to decompress data in one shot, use the
185 :func:`decompress` function instead.
188 .. method:: decompress(data)
191 decompressed data whenever possible. If you try to decompress data after
201 and :func:`decompress` functions.
211 .. function:: decompress(data)
213 Decompress *data* in one shot. If you want to decompress data sequentially,
/external/brotli/python/
Dbrotli.py53 decompress = _brotli.decompress variable
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DCodec.java47 public InputStream decompress(InputStream is) throws IOException { in decompress() method in Codec.Gzip
64 public InputStream decompress(InputStream is) throws IOException { in decompress() method in Codec.Identity
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DDecompressor.h35 return decompress({Out.data(), (size_t)DecompressedSize}); in resizeAndDecompress()
40 Error decompress(MutableArrayRef<char> Buffer);

1234567891011