Lines Matching refs:ZSTD_CDict
352 * Note: When compressing with a ZSTD_CDict these parameters are superseded
353 * by the parameters used to construct the ZSTD_CDict.
985 typedef struct ZSTD_CDict_s ZSTD_CDict;
992 * ZSTD_CDict can be created once and shared by multiple threads concurrently, since its usage is read-only.
993 * @dictBuffer can be released after ZSTD_CDict creation, because its content is copied within CDict.
995 * Note 2 : A ZSTD_CDict can be created from an empty @dictBuffer,
998 * expecting a ZSTD_CDict parameter with any data, including those without a known dictionary. */
999 ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict(const void* dictBuffer, size_t dictSize,
1005 ZSTDLIB_API size_t ZSTD_freeCDict(ZSTD_CDict* CDict);
1015 const ZSTD_CDict* cdict);
1053 ZSTDLIB_API unsigned ZSTD_getDictID_fromCDict(const ZSTD_CDict* cdict);
1122 ZSTDLIB_API size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict);
1210 ZSTDLIB_API size_t ZSTD_sizeof_CDict(const ZSTD_CDict* cdict);
1849 ZSTDLIB_STATIC_API const ZSTD_CDict* ZSTD_initStaticCDict(
1890 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced(const void* dict, size_t dictSize,
1915 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced2(
1939 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize, int compressionLevel);
2006 const ZSTD_CDict* cdict,
2692 size_t ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict);
2709 const ZSTD_CDict* cdict,
3031 ZSTDLIB_STATIC_API size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict); /**< note: fails if cdict==NULL */
3048 size_t ZSTD_compressBegin_usingCDict_advanced(ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compression parameters are already set within cdict. pledgedSrcSize must be correct. If srcSize is not known, use macro ZSTD_CONTENTSIZE_UNKNOWN */