Home
last modified time | relevance | path

Searched refs:decompressed (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/skia/third_party/externals/zlib/contrib/tests/
Dutils_unittest.cc23 std::vector<unsigned char> decompressed(input.size()); in TestPayloads() local
34 static_cast<unsigned long>(decompressed.size()); in TestPayloads()
35 result = zlib_internal::UncompressHelper(type, decompressed.data(), in TestPayloads()
39 EXPECT_EQ(input, decompressed); in TestPayloads()
77 std::vector<unsigned char> decompressed(input.size()); in TEST() local
85 static_cast<unsigned long>(decompressed.size()); in TEST()
86 result = zlib_internal::UncompressHelper(type, decompressed.data(), in TEST()
90 EXPECT_EQ(input, decompressed); in TEST()
201 std::vector<uint8_t> decompressed(src.size(), '\0'); in TEST() local
204 stream.next_out = decompressed.data(); in TEST()
[all …]
/third_party/node/test/parallel/
Dtest-zlib-convenience-methods.js92 const decompressed = zlib[`${method[1]}Sync`](compressed, opts); constant
93 assert.strictEqual(decompressed.toString(), expectStr,
101 const decompressed = zlib[`${method[1]}Sync`](compressed); constant
102 assert.strictEqual(decompressed.toString(), expectStr,
113 const decompressed = zlib[`${method[1]}Sync`](compressed.buffer, constant
115 assert.strictEqual(decompressed.buffer.toString(), expectStr,
118 assert.ok(decompressed.engine instanceof zlib[method[3]],
Dtest-zlib-truncated.js32 const decompressed = zlib[methods.decompSync](compressed);
33 assert.strictEqual(toUTF8(decompressed), inputString);
58 zlib[methods.decomp](truncated, syncFlushOpt, function(err, decompressed) { argument
60 const result = toUTF8(decompressed);
Dtest-zlib-empty-buffer.js20 const decompressed = await decompress(compressed);
22 emptyBuffer, decompressed,
23 `Expected ${inspect(compressed)} to match ${inspect(decompressed)} ` +
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
Ddeflate_fuzzer.cc61 std::vector<uint8_t> decompressed(src.size() + 1); in LLVMFuzzerTestOneInput() local
64 stream.next_out = decompressed.data(); in LLVMFuzzerTestOneInput()
65 stream.avail_out = decompressed.size(); in LLVMFuzzerTestOneInput()
68 decompressed.resize(decompressed.size() - stream.avail_out); in LLVMFuzzerTestOneInput()
71 ASSERT(decompressed == src); in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/tests/
DPDFDeflateWStreamTest.cpp133 std::unique_ptr<SkStreamAsset> decompressed(stream_inflate(r, compressed.get())); in DEF_TEST() local
135 if (!decompressed) { in DEF_TEST()
139 if (decompressed->getLength() != size) { in DEF_TEST()
141 " %u != %u", i, (unsigned)(decompressed->getLength()), in DEF_TEST()
155 (uint32_t)(decompressed->getLength())); in DEF_TEST()
158 SkDEBUGCODE(size_t rb =)decompressed->read(&c, sizeof(uint8_t)); in DEF_TEST()
/third_party/skia/tests/
DPDFDeflateWStreamTest.cpp133 std::unique_ptr<SkStreamAsset> decompressed(stream_inflate(r, compressed.get())); in DEF_TEST() local
135 if (!decompressed) { in DEF_TEST()
139 if (decompressed->getLength() != size) { in DEF_TEST()
141 loop, (unsigned)(decompressed->getLength()), (unsigned)size); in DEF_TEST()
153 uint32_t minLength = std::min(size, (uint32_t)(decompressed->getLength())); in DEF_TEST()
156 SkDEBUGCODE(size_t rb =)decompressed->read(&c, sizeof(uint8_t)); in DEF_TEST()
/third_party/grpc/test/core/compression/
Dmessage_compress_test.cc201 grpc_slice_buffer decompressed; in test_bad_decompression_data_missing_trailer() local
206 grpc_slice_buffer_init(&decompressed); in test_bad_decompression_data_missing_trailer()
213 grpc_msg_compress(GRPC_MESSAGE_COMPRESS_GZIP, &input, &decompressed); in test_bad_decompression_data_missing_trailer()
214 GPR_ASSERT(decompressed.length > 8); in test_bad_decompression_data_missing_trailer()
216 grpc_slice_buffer_trim_end(&decompressed, 8, &garbage); in test_bad_decompression_data_missing_trailer()
218 GPR_ASSERT(0 == grpc_msg_decompress(GRPC_MESSAGE_COMPRESS_GZIP, &decompressed, in test_bad_decompression_data_missing_trailer()
222 grpc_slice_buffer_destroy(&decompressed); in test_bad_decompression_data_missing_trailer()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dimage_decoder.cc227 auto decompressed = in Decode() local
241 if (!decompressed) { in Decode()
250 io_runner->PostTask(fml::MakeCopyable([io_manager, decompressed, result, in Decode()
262 result({std::move(decompressed), io_manager->GetSkiaUnrefQueue()}, in Decode()
268 std::move(decompressed), io_manager->GetResourceContext(), in Decode()
/third_party/skia/third_party/externals/brotli/go/cbrotli/
Dcbrotli_test.go159 decompressed := make([]byte, 1000)
161 n, err := reader.Read(decompressed)
162 if n != len(decompressed) || err != nil {
163 t.Errorf("Expected <%v, nil>, but <%v, %v>", len(decompressed), n, err)
166 if !bytes.Equal(decompressed, input) {
171 err, decompressed, input)
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
DDecoderTest.java72 byte[] decompressed = Decoder.decompress(compressed); in run()
74 long crc = BundleHelper.fingerprintStream(new ByteArrayInputStream(decompressed)); in run()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DExhaustiveTest.java106 char[] decompressed = new char[decompressedSize]; in myMultipassTest() local
161 System.arraycopy(unicharBuffer, 0, decompressed, in myMultipassTest()
185 if (logDiffs(chars, len, decompressed, totalCharsWritten)) { in myMultipassTest()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/compression/
DExhaustiveTest.java109 char[] decompressed = new char[decompressedSize]; in myMultipassTest() local
164 System.arraycopy(unicharBuffer, 0, decompressed, in myMultipassTest()
188 if (logDiffs(chars, len, decompressed, totalCharsWritten)) { in myMultipassTest()
/third_party/flutter/skia/third_party/externals/wuffs/test/data/artificial/
Ddeflate-backref-crosses-blocks.deflate.make-artificial.txt13 # The decompressed data is 4 + 3 = 7 bytes:
Ddeflate-distance-32768.deflate.make-artificial.txt29 # The decompressed data is 32768 + 3 + 3 + 3 + 4 = 32781 bytes:
/third_party/nghttp2/doc/
Dh2load.h2r40 compression. Let ``decompressed(headers)`` to the number of bytes
42 is calculated by (1 - ``headers`` / ``decompressed(headers)``) *
/third_party/flutter/flutter/packages/flutter/test/foundation/
Dconsolidate_response_test.dart190 …Received with expectedContentLength of -1 if response.compressionState is decompressed', () async {
192 when(response.compressionState).thenReturn(HttpClientResponseCompressionState.decompressed);
/third_party/flutter/skia/third_party/externals/wuffs/doc/spec/
Drac-spec.md8 The goal of the RAC file format is to compress a source file (the "decompressed
10 reconstruct the half-open byte range `[di .. dj)` of the decompressed file
13 Conceptually, the decompressed file is partitioned into non-overlapping chunks.
14 Each compressed chunk can be decompressed independently (although possibly
105 exactly one `Leaf Node` contains any given byte offset `di` in the decompressed
116 - `DFile` is the decompressed file.
159 `CRange`s, are decompressed according to the `Codec` (see below) to reconstruct
474 values, in a `Codec`-specific way to produce decompressed data.
504 The `CFile` data in the `Leaf Node`'s `Primary CRange` is decompressed as Zlib
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/
Dbzip2.txt50 the filename for the decompressed file from that of the
75 pressed and decompressed like this. The resulting outputs
79 decompressed correctly only by bzip2 version 0.9.0 or
100 CRCs to make sure that the decompressed version of a file
154 and testing. Files are decompressed and tested
157 decompressed in 2300k of memory, albeit at about
DREADME93 decompressed to reproduce the original, is obviously of paramount
98 decompressed data is the same as the original.
121 compressed file can be decompressed to reproduce the original.
/third_party/bzip2/
Dbzip2.txt50 the filename for the decompressed file from that of the
75 pressed and decompressed like this. The resulting outputs
79 decompressed correctly only by bzip2 version 0.9.0 or
100 CRCs to make sure that the decompressed version of a file
154 and testing. Files are decompressed and tested
157 decompressed in 2300k of memory, albeit at about
DREADME93 decompressed to reproduce the original, is obviously of paramount
98 decompressed data is the same as the original.
121 compressed file can be decompressed to reproduce the original.
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/
Dbzip2.txt50 the filename for the decompressed file from that of the
75 pressed and decompressed like this. The resulting outputs
79 decompressed correctly only by bzip2 version 0.9.0 or
100 CRCs to make sure that the decompressed version of a file
154 and testing. Files are decompressed and tested
157 decompressed in 2300k of memory, albeit at about
DREADME93 decompressed to reproduce the original, is obviously of paramount
98 decompressed data is the same as the original.
121 compressed file can be decompressed to reproduce the original.
Dbzgrep.127 If no file is specified, then the standard input is decompressed

12345