Home
last modified time | relevance | path

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

1234

/external/perfetto/src/trace_processor/
Dread_trace_integrationtest.cc53 std::vector<uint8_t> decompressed; in TEST() local
54 decompressed.reserve(raw_trace.size()); in TEST()
57 raw_trace.data(), raw_trace.size(), &decompressed); in TEST()
60 protos::pbzero::Trace::Decoder decoder(decompressed.data(), in TEST()
61 decompressed.size()); in TEST()
75 std::vector<uint8_t> decompressed; in TEST() local
77 raw_trace.data(), raw_trace.size(), &decompressed); in TEST()
86 std::vector<uint8_t> decompressed; in TEST() local
88 raw_compressed_trace.data(), raw_compressed_trace.size(), &decompressed); in TEST()
95 ASSERT_EQ(decompressed.size(), raw_trace.size()); in TEST()
[all …]
/external/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 …]
/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp24 std::vector<uint8_t>* decompressed = decompressor->DecompressedForTest(); in TEST() local
25 *decompressed = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TEST()
26 *(decompressor->DecompressedNextForTest()) = decompressed->size(); in TEST()
36 EXPECT_EQ(i, (*decompressed)[i]); in TEST()
41 std::vector<uint8_t>* decompressed = decompressor->DecompressedForTest(); in TEST() local
42 *decompressed = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TEST()
43 *(decompressor->DecompressedNextForTest()) = decompressed->size(); in TEST()
56 EXPECT_EQ(i, (*decompressed)[i]); in TEST()
61 std::vector<uint8_t>* decompressed = decompressor->DecompressedForTest(); in TEST() local
62 *decompressed = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TEST()
[all …]
/external/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()
/external/zstd/tests/regression/
Dmethod.c43 data_buffer_t decompressed; /**< The decompressed data buffer. */ member
64 state->decompressed = data_buffer_create(max_size); in buffer_state_create()
83 state->decompressed.data == NULL) { in buffer_state_bad()
126 state->decompressed.size = ZSTD_decompress( in simple_compress()
127 state->decompressed.data, in simple_compress()
128 state->decompressed.capacity, in simple_compress()
131 if (ZSTD_isError(state->decompressed.size)) in simple_compress()
133 if (data_buffer_compare(input, state->decompressed)) in simple_compress()
206 state->decompressed.size = ZSTD_decompress_usingDict( in compress_cctx_compress()
208 state->decompressed.data, in compress_cctx_compress()
[all …]
/external/skqp/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()
/external/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()
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_compressed_op_test.py51 decompressed = parsing_ops.decode_compressed(
53 self.assertEqual([2], decompressed.get_shape().as_list())
73 decompressed = parsing_ops.decode_compressed(in_bytes,
75 return parsing_ops.decode_raw(decompressed, out_type=dtypes.int16)
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dcompress-debug-sections-groups.test19 # RUN: llvm-objcopy --decompress-debug-sections %t-compressed.o %t-decompressed.o
20 # RUN: llvm-readobj --elf-section-groups %t-decompressed.o | \
24 # RUN: llvm-objcopy --decompress-debug-sections %t-compressed-gnu.o %t-decompressed-gnu.o
25 # RUN: llvm-readobj --elf-section-groups %t-decompressed-gnu.o | \
Dcompress-debug-sections-zlib-gnu.test5 # RUN: llvm-objcopy --decompress-debug-sections %t-compressed.o %t-decompressed.o
10 # RUN: llvm-readobj --relocations -S %t-decompressed.o | FileCheck %s --check-prefix=CHECK-HEADER
12 # RUN: llvm-objdump -s %t-decompressed.o --section=.debug_foo | FileCheck %s
Dcompress-debug-sections-zlib.test5 # RUN: llvm-objcopy --decompress-debug-sections %t-compressed.o %t-decompressed.o
10 # RUN: llvm-readobj --relocations -S %t-decompressed.o | FileCheck %s --check-prefix=CHECK-HEADER
12 # RUN: llvm-objdump -s %t-decompressed.o --section=.debug_foo | FileCheck %s
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DBZip2TestCase.java50 final File decompressed = new File(dir, "decompressed.txt"); in testBzipCreation() local
56 final FileOutputStream os = new FileOutputStream(decompressed); in testBzipCreation()
62 assertEquals(input.length(),decompressed.length()); in testBzipCreation()
/external/rust/crates/ring/src/ec/suite_b/
Dsuite_b_public_key_tests.txt18 # X == 0, decompressed with y_bit == 0. This verifies that the
33 # X == 0, decompressed with y_bit == 1.
38 # X == q, decompressed with y_bit == 1. See the previous X == q test
44 # The largest valid X coordinate, decompressed with y_bit == 0. This
51 # X == 0, decompressed with y_bit == 0. This verifies that the
66 # X == 0, decompressed with y_bit == 1.
71 # X == q, decompressed with y_bit == 1. See the previous X == q test
77 # The largest valid X coordinate, decompressed with y_bit == 0. This
/external/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)
/external/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()
/external/zstd/contrib/pzstd/test/
DRoundTrip.h22 inline bool check(std::string source, std::string decompressed) { in check() argument
27 auto dFd = std::fopen(decompressed.c_str(), "rb"); in check()
/external/zstd/contrib/seekable_format/
Dzstd_seekable_compression_format.md20 … subranges of the data can be efficiently decompressed without requiring the entire document to be…
23 and so can be decompressed independently.
109 The size of the decompressed data contained in the frame. For skippable or otherwise empty frames,…
/external/squashfs-tools/RELEASE-READMEs/
DREADME-3.053 The "-info" option forces Unsquashfs to print each file as it is decompressed.
57 decompressed to the directory "squashfs-root" in the current working directory.
/external/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()
/external/rust/crates/libz-sys/src/zlib-ng/cmake/
Dtest-compress.cmake51 # Compare decompressed output with original input file
91 # Compare original input file with gzip decompressed output
/external/icu/android_icu4j/src/main/tests/android/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()
/external/zstd/tests/fuzz/
Dfuzz.py724 with tmpdir() as compressed, tmpdir() as decompressed, tmpdir() as dict:
735 '-o{}'.format(decompressed),
750 print('using decompressed data in {}'.format(decompressed))
751 samples = decompressed
757 print('making dictionary data from {}'.format(decompressed))
766 '-r', decompressed,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DecodeCompressed.pbtxt29 each element containing the decompressed data from the corresponding
/external/xz-embedded/linux/lib/xz/
DKconfig53 a character special file. It calculates CRC32 of the decompressed
/external/bzip2/
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.

1234