Home
last modified time | relevance | path

Searched full:zst (Results 1 – 25 of 96) sorted by relevance

1234

/external/zstd/tests/
DplayTests.sh65 rm -f tmp.zst tmp.md5.1 tmp.md5.2
193 zstd -f tmp # trivial compression case, creates tmp.zst
198 zstd -df tmp.zst # trivial decompression case (overwrites tmp)
256 zstd -dc < tmp.zst > $INTOVOID # combine decompression, stdin & stdout
257 zstd -dc - < tmp.zst > $INTOVOID
258 zstd -d < tmp.zst > $INTOVOID # implicit stdout when stdin is used
259 zstd -d - < tmp.zst > $INTOVOID
261 zstd -d -f tmp.zst -M2K -c > $INTOVOID && die "decompression needs more memory than allowed"
262 zstd -d -f tmp.zst --memlimit=2K -c > $INTOVOID && die "decompression needs more memory than allowe…
263 zstd -d -f tmp.zst --memory=2K -c > $INTOVOID && die "decompression needs more memory than allowed"…
[all …]
Dtest-zstd-versions.py98 os.rename(sample + '.zst', sample + '_01_64_' + tag + '_dictio.zst')
100 os.rename(sample + '.zst', sample + '_05_64_' + tag + '_dictio.zst')
102 os.rename(sample + '.zst', sample + '_09_64_' + tag + '_dictio.zst')
104 os.rename(sample + '.zst', sample + '_15_64_' + tag + '_dictio.zst')
106 os.rename(sample + '.zst', sample + '_18_64_' + tag + '_dictio.zst')
107 # zstdFiles = glob.glob("*.zst*")
115 os.rename(sample + '.zst', sample + '_01_64_' + tag + '_nodict.zst')
117 os.rename(sample + '.zst', sample + '_05_64_' + tag + '_nodict.zst')
119 os.rename(sample + '.zst', sample + '_09_64_' + tag + '_nodict.zst')
121 os.rename(sample + '.zst', sample + '_15_64_' + tag + '_nodict.zst')
[all …]
DMakefile234 $(RM) core *.o *.tmp result* *.gcda dictionary *.zst \
369 $(ZSTD) -d z000000.zst -o tmp0 && \
370 $(ZSTD) -d z000001.zst -o tmp1 && \
371 $(ZSTD) -d z000002.zst -o tmp2 && \
372 $(ZSTD) -d z000003.zst -o tmp3 && \
373 $(ZSTD) -d z000004.zst -o tmp4 && \
384 $(ZSTD) -d z000000.zst -D dictionary -o tmp0 && \
385 $(ZSTD) -d z000001.zst -D dictionary -o tmp1 && \
386 $(ZSTD) -d z000002.zst -D dictionary -o tmp2 && \
387 $(ZSTD) -d z000003.zst -D dictionary -o tmp3 && \
[all …]
DREADME.md112 Command line tool to generate test .zst files.
114 This tool will generate .zst files with checksums,
122 will generate 10,000 sample .zst files using a seed of 5 in the `testfiles` directory,
/external/python/cpython2/Modules/
Dzlibmodule.c67 z_stream zst; member
74 zlib_error(z_stream zst, int err, char *msg) in zlib_error() argument
77 /* In case of a version mismatch, zst.msg won't be initialized. in zlib_error()
78 Check for this case first, before looking at zst.msg. */ in zlib_error()
82 zmsg = zst.msg; in zlib_error()
134 arrange_input_buffer(z_stream *zst, Py_ssize_t *remains) in arrange_input_buffer() argument
137 zst->avail_in = UINT_MAX; in arrange_input_buffer()
139 zst->avail_in = *remains; in arrange_input_buffer()
141 *remains -= zst->avail_in; in arrange_input_buffer()
145 arrange_output_buffer_with_maximum(z_stream *zst, PyObject **buffer, in arrange_output_buffer_with_maximum() argument
[all …]
/external/python/cpython3/Modules/
Dzlibmodule.c208 z_stream zst; member
218 zlib_error(zlibstate *state, z_stream zst, int err, const char *msg) in zlib_error() argument
221 /* In case of a version mismatch, zst.msg won't be initialized. in zlib_error()
222 Check for this case first, before looking at zst.msg. */ in zlib_error()
226 zmsg = zst.msg; in zlib_error()
299 arrange_input_buffer(z_stream *zst, Py_ssize_t *remains) in arrange_input_buffer() argument
301 zst->avail_in = (uInt)Py_MIN((size_t)*remains, UINT_MAX); in arrange_input_buffer()
302 *remains -= zst->avail_in; in arrange_input_buffer()
323 z_stream zst; in zlib_compress_impl() local
331 if (OutputBuffer_InitAndGrow(&buffer, -1, &zst.next_out, &zst.avail_out) < 0) { in zlib_compress_impl()
[all …]
/external/zstd/examples/
DMakefile59 @$(RM) core *.o tmp* result* *.zst \
73 ./simple_decompression tmp.zst
75 ./streaming_decompression tmp.zst > /dev/null
80 ./streaming_decompression tmp.zst > /dev/null
86 ./simple_decompression tmpNull.zst # 0-size frame : must work
91 ./dictionary_decompression tmp2.zst tmp.zst README.md
92 $(RM) tmp* *.zst
/external/zstd/contrib/seekable_format/tests/
Dseekable_tests.c58 ZSTD_seekTable* const zst = ZSTD_seekTable_create_fromSeekable(stream); in main() local
59 assert(zst != NULL); in main()
61 unsigned const nbFrames = ZSTD_seekTable_getNumFrames(zst); in main()
64 unsigned long long const frame0Offset = ZSTD_seekTable_getFrameCompressedOffset(zst, 0); in main()
67 unsigned long long const content0Offset = ZSTD_seekTable_getFrameDecompressedOffset(zst, 0); in main()
70 size_t const cSize = ZSTD_seekTable_getFrameCompressedSize(zst, 0); in main()
74 size_t const origSize = ZSTD_seekTable_getFrameDecompressedSize(zst, 0); in main()
77 unsigned const fo1idx = ZSTD_seekTable_offsetToFrameIndex(zst, 1); in main()
84 ZSTD_seekTable_free(zst); in main()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/zstandard/
DZstdCompressorInputStreamTest.java47 final File input = getFile("zstandard.testdata.zst"); in testZstdDecode()
94 final File input = getFile("zstandard.testdata.zst"); in shouldBeAbleToSkipAByte()
106 final File input = getFile("zstandard.testdata.zst"); in singleByteReadWorksAsExpected()
128 final File input = getFile("zstandard.testdata.zst"); in singleByteReadConsistentlyReturnsMinusOneAtEof()
141 final File input = getFile("zstandard.testdata.zst"); in multiByteReadConsistentlyReturnsMinusOneAtEof()
155 final File input = getFile("bla.tar.zst"); in testZstandardUnarchive()
/external/zstd/.github/workflows/
Dpublish-release-artifacts.yml52 sha256sum $ZSTD_VERSION.tar.zst > $ZSTD_VERSION.tar.zst.sha256
59 …ssphrase "$RELEASE_SIGNING_KEY_PASSPHRASE" --output $ZSTD_VERSION.tar.zst.sig $ZSTD_VERSION.tar.zst
/external/zstd/doc/educational_decoder/
DMakefile47 @$(ZSTD) -f README.md -o tmp.zst
48 @./harness tmp.zst tmp
59 @$(ZSTD) -f README.md -D dictionary -o tmp.zst
60 @./harness tmp.zst tmp dictionary
/external/rust/crates/zerocopy-derive/tests/
Dstruct_from_bytes.rs26 struct Zst; struct
28 is_from_bytes!(Zst);
40 b: Zst,
Dunion_from_bytes.rs26 union Zst {
30 is_from_bytes!(Zst);
42 b: Zst,
/external/apache-commons-compress/src/test/resources/
Dzstd-tests.tar ... bla.tar.zst zstandard.testdata.zst
/external/zstd/contrib/pzstd/test/
DOptionsTest.cpp108 makeArray("--ultra", "-22", "-p", "1", "-o", "x", "-d", "x.zst", "-f"); in TEST()
110 Options expected = {1, 0, 22, true, {"x.zst"}, "x", in TEST()
116 auto args = makeArray("--processes", "100", "hello.zst", "--decompress", in TEST()
119 Options expected = {100, 23, 3, true, {"hello.zst"}, "", true, in TEST()
181 EXPECT_EQ("x.zst", options.getOutputFile(options.inputFiles[0])); in TEST()
191 auto args = makeArray("x.zst", "-do", nullOutput); in TEST()
197 auto args = makeArray("x.zst", "-d"); in TEST()
431 auto args = makeArray("x.zst", "--no-check", "-Cd"); in TEST()
/external/zstd/
Dappveyor.yml80 appveyor PushArtifact zstd-src.tar.zst &&
81 certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.tar.zst.sha256.sig &&
82 appveyor PushArtifact zstd-src.tar.zst.sha256.sig &&
/external/elfutils/tests/
Drun-readelf-compressed-zstd.sh28 tempfiles hello_i386.ko.zst readelf.out.1 readelf.out.2
32 testrun ${abs_top_builddir}/src/readelf -a hello_i386.ko.zst > readelf.out.2
/external/zstd/contrib/recovery/
Drecover_directory.c30 fprintf(stderr, "USAGE: %s FILE.zst PREFIX\n", program); in usage()
31 fprintf(stderr, "FILE.zst: A zstd compressed file with multiple frames\n"); in usage()
37 "-o file.zst\n"); in usage()
/external/zstd/tests/regression/
Ddata.c40 .url = REGRESSION_RELEASE("silesia.tar.zst"),
50 .url = REGRESSION_RELEASE("silesia.tar.zst"),
60 .url = REGRESSION_RELEASE("github.tar.zst"),
65 .url = REGRESSION_RELEASE("github.dict.zst"),
76 .url = REGRESSION_RELEASE("github.tar.zst"),
81 .url = REGRESSION_RELEASE("github.dict.zst"),
Ddata.h18 data_type_file = 1, /**< This data is a file. *.zst */
19 data_type_dir = 2, /**< This data is a directory. *.tar.zst */
/external/libbpf/travis-ci/rootfs/
Dmkrootfs_arch.sh22 libbpf-vmtest-rootfs-\$DATE.tar.zst)
52 NAME="libbpf-vmtest-rootfs-$(date +%Y.%m.%d).tar.zst"
/external/zstd/contrib/pzstd/
DREADME.md42 time pzstd -# -p 4 -c silesia.tar > silesia.tar.zst
43 time pzstd -d -p 4 -c silesia.tar.zst > /dev/null
/external/zstd/programs/
DREADME.md124 3. Decompress with the dictionary: `zstd --decompress FILE.zst -D dictionaryName`
186 --format=zstd : compress files to the .zst format (default)
292 `zstdgrep` is a utility which makes it possible to `grep` directly a `.zst` compressed file.
294 `zstdgrep pattern file.zst`
301 `zstdcat -D dictionary -qc -- file.zst | grep pattern`
Dzstd.15 \fBzstd\fR \- zstd, zstdmt, unzstd, zstdcat \- Compress or decompress \.zst files
46 When compressing, the suffix \fB\.zst\fR is appended to the source filename to get the target filen…
49 When decompressing, the \fB\.zst\fR suffix is removed from the source filename to get the target fi…
53 .SS "Concatenation with \.zst files"
54 … possible to concatenate \fB\.zst\fR files as is\. \fBzstd\fR will decompress such files as if the…
Dzstd.1.md1 zstd(1) -- zstd, zstdmt, unzstd, zstdcat - Compress or decompress .zst files
51 * When compressing, the suffix `.zst` is appended to the source filename to
53 * When decompressing, the `.zst` suffix is removed from the source filename to
56 ### Concatenation with .zst files
57 It is possible to concatenate `.zst` files as is.
58 `zstd` will decompress such files as if they were a single `.zst` file.

1234