Home | History | Annotate | Download | only in tests

Lines Matching defs:ddict

737         unsigned (* const funcptr_getDictID)(const ZSTD_DDict* ddict) =
785 DISPLAYLEVEL(3, "test%3i : decompress with null DDict : ", testNb++);
2398 DISPLAYLEVEL(3, "test%3i : decompress with DDict : ", testNb++);
2399 { ZSTD_DDict* const ddict = ZSTD_createDDict(CNBuffer, dictSize);
2400 size_t const r = ZSTD_decompress_usingDDict(dctx, decodedBuffer, CNBuffSize, compressedBuffer, cSize, ddict);
2402 DISPLAYLEVEL(3, "OK (size of DDict : %u) \n", (unsigned)ZSTD_sizeof_DDict(ddict));
2403 ZSTD_freeDDict(ddict);
2406 DISPLAYLEVEL(3, "test%3i : decompress with static DDict : ", testNb++);
2410 { const ZSTD_DDict* const ddict = ZSTD_initStaticDDict(ddictBuffer, ddictBufferSize, CNBuffer, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto);
2411 size_t const r = ZSTD_decompress_usingDDict(dctx, decodedBuffer, CNBuffSize, compressedBuffer, cSize, ddict);
2415 DISPLAYLEVEL(3, "OK (size of static DDict : %u) \n", (unsigned)ddictBufferSize);
3056 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressDCtx() with ddict : ", testNb++);
3059 ZSTD_DDict* ddict = ZSTD_createDDict(dictBuffer, dictSize);
3061 /* We should succeed to decompress with the ddict. */
3063 CHECK_Z( ZSTD_DCtx_refDDict(dctx, ddict) );
3065 /* The ddict should persist across calls. */
3067 /* When we reset the context the ddict is cleared. */
3072 ZSTD_freeDDict(ddict);
3266 /* Reference every single ddict we made */