Lines Matching refs:ZSTD_CDict

265      * Note: When compressing with a ZSTD_CDict these parameters are superseded
266 * by the parameters used to construct the ZSTD_CDict.
835 typedef struct ZSTD_CDict_s ZSTD_CDict;
842 * ZSTD_CDict can be created once and shared by multiple threads concurrently, since its usage is read-only.
843 * @dictBuffer can be released after ZSTD_CDict creation, because its content is copied within CDict.
845 * Note 2 : A ZSTD_CDict can be created from an empty @dictBuffer,
848 * expecting a ZSTD_CDict parameter with any data, including those without a known dictionary. */
849 ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict(const void* dictBuffer, size_t dictSize,
855 ZSTDLIB_API size_t ZSTD_freeCDict(ZSTD_CDict* CDict);
865 const ZSTD_CDict* cdict);
903 ZSTDLIB_API unsigned ZSTD_getDictID_fromCDict(const ZSTD_CDict* cdict);
965 ZSTDLIB_API size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict);
1051 ZSTDLIB_API size_t ZSTD_sizeof_CDict(const ZSTD_CDict* cdict);
1547 ZSTDLIB_STATIC_API const ZSTD_CDict* ZSTD_initStaticCDict(
1578 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced(const void* dict, size_t dictSize,
1603 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced2(
1627 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize, int compressionLevel);
1671 const ZSTD_CDict* cdict,
2235 size_t ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict);
2254 const ZSTD_CDict* cdict,
2389 ZSTDLIB_STATIC_API size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict); /*< note: fails if cdict==NULL */
2399 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 */