| /src/external/bsd/zstd/dist/tests/ |
| playTests.sh | 19 zstd() { function 50 println "roundTripTest: datagen $1 $proba | zstd -v$cLevel | zstd -d$dLevel" 52 datagen $1 $proba | zstd --ultra -v$cLevel | zstd -d$dLevel | $MD5SUM > tmp2 71 println "fileRoundTripTest: datagen $1 $local_p > tmp && zstd -v$local_c -c tmp | zstd -d$local_d" 74 zstd --ultra -v$local_c -c tmp | zstd -d$local_d | $MD5SUM > tmp.md5.2 165 ZSTD_BIN="$PRGDIR/zstd" [all...] |
| test-zstd-versions.py | 2 """Test zstd interoperability between versions""" 23 repo_url = 'https://github.com/facebook/zstd.git' 92 cmd = ['./zstd.' + tag, '-D', dict_name] 110 result = execute('./zstd.' + tag + ' -f --train ' + ' '.join(files) + ' -o ' + dict_name, print_output=False, param_shell=True) 123 def zstd(tag, args, input_file, output_file): function 125 Zstd compress input_file to output_file. 131 cmd = ['./zstd.' + tag] + args 143 zstd(tag, ['-D', dict_name, '-1'] + verbose, sample, sample + '_01_64_' + tag + '_dictio.zst') 144 zstd(tag, ['-D', dict_name, '-3'], sample, sample + '_03_64_' + tag + '_dictio.zst') 145 zstd(tag, ['-D', dict_name, '-5'], sample, sample + '_05_64_' + tag + '_dictio.zst' [all...] |
| /src/external/bsd/zstd/dist/tests/regression/ |
| method.c | 17 #include <zstd.h> 273 /* '<zstd>' -cqr <args> [-D '<dict>'] '<file/dir>' */ 290 FILE* zstd = popen(cmd, "r"); local 291 if (zstd == NULL) { 299 size_t const size = fread(out, 1, sizeof(out), zstd); 304 if (ferror(zstd) || pclose(zstd) != 0) { 305 fprintf(stderr, "zstd failed with command: %s\n", cmd);
|
| /src/external/bsd/file/dist/src/ |
| compress.c | 90 #include <zstd.h> 176 "zstd", "-cd", NULL 214 { { .magic = "\x28\xB5\x2F\xFD" }, 4, zstd_args, NULL },/* 12, zstd */ 736 ZSTD_DStream *zstd; local 740 DPRINTF("builtin zstd decompression\n"); 741 if ((zstd = ZSTD_createDStream()) == NULL) { 742 return makeerror(newch, n, "No ZSTD decompression stream, %s", 746 rc = ZSTD_DCtx_reset(zstd, ZSTD_reset_session_only); 757 rc = ZSTD_decompressStream(zstd, &out, &in); 763 ZSTD_freeDStream(zstd); [all...] |
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_set_format_zip.c | 62 #include <zstd.h> 217 } zstd; member in union:zip::__anon7124 389 } else if (strcmp(val, "zstd") == 0) { 395 "zstd compression not supported"); 635 "zstd compression not supported"); 1368 zip->stream.zstd.context = ZSTD_createCStream(); 1369 size_t zret = ZSTD_initCStream(zip->stream.zstd.context, zstd_compression_level); 1372 "Can't init zstd compressor"); 1375 /* Asking for the multi-threaded compressor is a no-op in zstd if 1377 ZSTD_CCtx_setParameter(zip->stream.zstd.context, ZSTD_c_nbWorkers, zip->threads) [all...] |