Home
last modified time | relevance | path

Searched refs:decompress (Results 1 - 25 of 71) sorted by relevance

123

/third_party/python/Lib/test/
H A Dtest_zlib.py44 # zlib.decompress(func1(data)) == zlib.decompress(func2(data)) == data
130 self.assertRaises(TypeError, zlib.decompress)
135 self.assertRaises(TypeError, zlib.decompress, arg)
145 # verify failure on building decompress object with bad params
156 zlib.decompress(b'', 15, sys.maxsize + 1)
158 zlib.decompressobj().decompress(b'', sys.maxsize + 1)
203 self.assertEqual(zlib.decompress(x), HAMLET_SCENE)
207 self.assertEqual(zlib.decompress(x), HAMLET_SCENE)
210 self.assertEqual(zlib.decompress(
[all...]
H A Dtest_lzma.py61 self.assertRaises(TypeError, lzd.decompress)
62 self.assertRaises(TypeError, lzd.decompress, b"foo", b"bar")
63 lzd.decompress(empty)
64 self.assertRaises(EOFError, lzd.decompress, b"quux")
79 lzd.decompress(COMPRESSED_XZ)
80 self.assertRaises(EOFError, lzd.decompress, b"nyan")
84 self.assertRaises(LZMAError, lzd.decompress, COMPRESSED_XZ)
87 self.assertRaises(LZMAError, lzd.decompress, COMPRESSED_XZ)
90 self.assertRaises(LZMAError, lzd.decompress, COMPRESSED_ALONE)
96 out = lzd.decompress(dat
[all...]
H A Dtest_bz2.py36 return bz2.decompress(data)
672 data = bz2.decompress(compressed)
691 self.assertRaises(TypeError, bz2d.decompress)
692 text = bz2d.decompress(self.DATA)
703 text += bz2d.decompress(str)
710 text = bz2d.decompress(self.DATA+unused_data)
716 text = bz2d.decompress(self.DATA)
717 self.assertRaises(EOFError, bz2d.decompress, b"anything")
718 self.assertRaises(EOFError, bz2d.decompress, b"")
723 # "Test BZ2Decompressor.decompress() wit
[all...]
H A Dtest_gzip.py534 # Testing compress/decompress shortcut functions
569 self.assertEqual(gzip.decompress(buf.getvalue()), data)
572 self.assertEqual(gzip.decompress(datac), data)
576 self.assertRaises(EOFError, gzip.decompress, compressed_data[:-4])
580 self.assertRaises(EOFError, gzip.decompress, compressed_data[:-8])
627 file_data = gzip.decompress(f.read())
636 file_data = gzip.decompress(f.read())
645 file_data = gzip.decompress(f.read())
664 file_data = gzip.decompress(f.read())
673 file_data = gzip.decompress(
[all...]
/third_party/node/test/parallel/
H A Dtest-zlib-flush-write-sync-interleaved.js12 const decompress = createGunzip();
13 decompress.setEncoding('utf8');
37 if (chunk === undefined) return decompress.end();
38 decompress.write(chunk, common.mustCall(() => {
39 events.push({ read: decompress.read() });
/third_party/lz4/ossfuzz/
H A Ddecompress_frame_fuzzer.c2 * This fuzz target attempts to decompress the fuzzed data with the simple
18 static void decompress(LZ4F_dctx* dctx, void* dst, size_t dstCapacity, in decompress() function
61 decompress(dctx, dst, dstCapacity, data, size, NULL, 0, &opts); in LLVMFuzzerTestOneInput()
63 decompress(dctx, dst, dstCapacity, data, size, NULL, 0, &opts); in LLVMFuzzerTestOneInput()
65 decompress(dctx, dst, dstCapacity, data, size, dict, dictSize, &opts); in LLVMFuzzerTestOneInput()
67 decompress(dctx, dst, dstCapacity, data, size, dict, dictSize, &opts); in LLVMFuzzerTestOneInput()
H A Dround_trip_frame_uncompressed_fuzzer.c2 * This fuzz target performs a lz4 round-trip test (compress & decompress),
18 static void decompress(LZ4F_dctx *dctx, void *src, void *dst, in decompress() function
110 decompress(dctx, dst, rt, rtCapacity, compressedSize); in compress_round_trip()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
H A DDecompressionTest.java45 count1 = myDecompressor.decompress(segment1, 0, segment1.length, in decompressTest()
57 count2 = myDecompressor.decompress(segment2, 0, segment2.length, in decompressTest()
128 * public int decompress(***
140 ud.decompress(null, 0, 0, null, null, 4, 0); in TestDecompress()
141 errln("UnicodeDecompressor.decompress was suppose to return an exception."); in TestDecompress()
145 ud.decompress(null, 0, 0, null, charBufferBlank, 4, 0); in TestDecompress()
146 errln("UnicodeDecompressor.decompress was suppose to return an exception."); in TestDecompress()
150 ud.decompress(null, 0, 0, null, charBuffer1, 4, 0); in TestDecompress()
151 errln("UnicodeDecompressor.decompress was suppose to return an exception."); in TestDecompress()
156 ud.decompress(nul in TestDecompress()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/compression/
H A DDecompressionTest.java48 count1 = myDecompressor.decompress(segment1, 0, segment1.length, in decompressTest()
60 count2 = myDecompressor.decompress(segment2, 0, segment2.length, in decompressTest()
131 * public int decompress(***
143 ud.decompress(null, 0, 0, null, null, 4, 0); in TestDecompress()
144 errln("UnicodeDecompressor.decompress was suppose to return an exception."); in TestDecompress()
148 ud.decompress(null, 0, 0, null, charBufferBlank, 4, 0); in TestDecompress()
149 errln("UnicodeDecompressor.decompress was suppose to return an exception."); in TestDecompress()
153 ud.decompress(null, 0, 0, null, charBuffer1, 4, 0); in TestDecompress()
154 errln("UnicodeDecompressor.decompress was suppose to return an exception."); in TestDecompress()
159 ud.decompress(nul in TestDecompress()
[all...]
/third_party/python/Lib/encodings/
H A Dzlib_codec.py19 return (zlib.decompress(input), len(input))
51 c = self.decompressobj.decompress(input)
54 return self.decompressobj.decompress(input)
H A Dbz2_codec.py21 return (bz2.decompress(input), len(input))
53 return self.decompressobj.decompress(input)
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A 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()
/third_party/skia/third_party/externals/brotli/python/
H A Dbrotli.py6 """Functions to compress and decompress data using the Brotli library."""
53 decompress = _brotli.decompress variable
H A Dbro.py79 '--decompress',
142 if options.decompress:
143 data = brotli.decompress(data)
/third_party/skia/third_party/externals/brotli/python/tests/
H A Ddecompress_test.py28 out_file.write(brotli.decompress(in_file.read()))
36 brotli.decompress(brotli.compress(b'a') + b'a')
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DDecompressor.h34 return decompress({Out.data(), (size_t)DecompressedSize}); in resizeAndDecompress()
39 Error decompress(MutableArrayRef<char> Buffer);
/third_party/lz4/tests/
H A DMakefile59 all: fullbench fuzzer frametest roundTripTest datagen checkFrame decompress-partial
112 decompress-partial: lz4.o decompress-partial.c
115 decompress-partial-usingDict: lz4.o decompress-partial-usingDict.c
132 frameTest$(EXT) decompress-partial$(EXT) \
185 test: test-lz4 test-lz4c test-frametest test-fullbench test-fuzzer test-amalgamation listTest test-decompress-partial
290 # decompress multiple files : one output file per .lz4
304 # decompress multiple files into stdout
306 $(LZ4) -f -m $(FPREFIX)1 $(FPREFIX)2 $(FPREFIX)3 # generate .lz4 to decompress
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeDecompressor.java21 * straightforward manner to decompress simple strings:</P>
25 * String result = UnicodeDecompressor.decompress(compressed);
47 * charsWritten = myDecompressor.decompress(bytes, totalBytesDecompressed,
111 * @param buffer The byte array to decompress.
113 * @see #decompress(byte [], int, int)
116 public static String decompress(byte [] buffer){ in decompress() method in UnicodeDecompressor
117 char [] buf = decompress(buffer, 0, buffer.length); in decompress()
123 * @param buffer The byte array to decompress.
124 * @param start The start of the byte run to decompress.
125 * @param limit The limit of the byte run to decompress
130 public static char [] decompress(byte [] buffer, int start, int limit) { decompress() method in UnicodeDecompressor
167 public int decompress(byte [] byteBuffer, decompress() method in UnicodeDecompressor
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUnicodeDecompressor.java22 * straightforward manner to decompress simple strings:</P>
26 * String result = UnicodeDecompressor.decompress(compressed);
48 * charsWritten = myDecompressor.decompress(bytes, totalBytesDecompressed,
111 * @param buffer The byte array to decompress.
113 * @see #decompress(byte [], int, int)
115 public static String decompress(byte [] buffer){ in decompress() method in UnicodeDecompressor
116 char [] buf = decompress(buffer, 0, buffer.length); in decompress()
122 * @param buffer The byte array to decompress.
123 * @param start The start of the byte run to decompress.
124 * @param limit The limit of the byte run to decompress
128 public static char [] decompress(byte [] buffer, int start, int limit) { decompress() method in UnicodeDecompressor
164 public int decompress(byte [] byteBuffer, decompress() method in UnicodeDecompressor
[all...]
/third_party/libwebsockets/lib/roles/http/server/
H A Dfops-zip.c85 unsigned int decompress:1; /* 0 = direct from file */ member
295 if (priv->decompress) in lws_fops_zip_reset_inflate()
377 * receiving GZIP... we can decompress it and serve as it is in lws_fops_zip_open()
441 /* we must decompress it to serve it */ in lws_fops_zip_open()
452 priv->decompress = 1; in lws_fops_zip_open()
477 if (priv->decompress) in lws_fops_zip_close()
504 if (priv->decompress) { in lws_fops_zip_read()
/third_party/astc-encoder/Test/
H A Dastc_test_competitive.py65 def decompress(in_image, out_image): function
96 decompress(OUT_CIMAGE, OUT_DIMAGE)
/third_party/vk-gl-cts/framework/common/
H A DtcuCompressedTexture.hpp148 void decompress (const PixelBufferAccess& dst, const TexDecompressionParams& params = TexDecompressionParams()) const;
158 void decompress (const PixelBufferAccess& dst, CompressedTexFormat fmt, const deUint8* src, const TexDecompressionParams& params = TexDecompressionParams());
/third_party/elfutils/libdwfl/
H A Dopen.c52 decompress (int fd __attribute__ ((unused)), Elf **elf) in decompress() function
116 error = decompress (fd, elfp); in what_kind()
210 The only caveat is in `decompress` method, which doesn't support in __libdw_open_elf_memory()
/third_party/python/Lib/
H A D_compression.py91 data = self._decompressor.decompress(rawblock, size)
103 data = self._decompressor.decompress(rawblock, size)
117 # .decompress() call.
H A Dzipimport.py563 # Return the zlib.decompress function object, or NULL if zlib couldn't
572 raise ZipImportError("can't decompress data; zlib not available")
576 from zlib import decompress namespace
579 raise ZipImportError("can't decompress data; zlib not available")
584 return decompress
624 decompress = _get_decompress_func()
626 raise ZipImportError("can't decompress data; zlib not available")
627 return decompress(raw_data, -15)

Completed in 12 milliseconds

123