Lines Matching refs:dictID
70 U32 dictID; member
1651 zc->dictID = 0; in ZSTD_resetCCtx_internal()
1812 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byAttachingCDict()
1876 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byCopyingCDict()
1967 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal()
2863 const ZSTD_CCtx_params* params, U64 pledgedSrcSize, U32 dictID) in ZSTD_writeFrameHeader() argument
2865 U32 const dictIDSizeCodeLength = (dictID>0) + (dictID>=256) + (dictID>=65536); /* 0-3 */ in ZSTD_writeFrameHeader()
2880 !params->fParams.noDictIDFlag, (unsigned)dictID, (unsigned)dictIDSizeCode); in ZSTD_writeFrameHeader()
2893 case 1 : op[pos] = (BYTE)(dictID); pos++; break; in ZSTD_writeFrameHeader()
2894 case 2 : MEM_writeLE16(op+pos, (U16)dictID); pos+=2; break; in ZSTD_writeFrameHeader()
2895 case 3 : MEM_writeLE32(op+pos, dictID); pos+=4; break; in ZSTD_writeFrameHeader()
2976 cctx->pledgedSrcSizePlusOne-1, cctx->dictID); in ZSTD_compressContinue_internal()
3251 size_t dictID; in ZSTD_loadZstdDictionary() local
3258 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ ); in ZSTD_loadZstdDictionary()
3268 return dictID; in ZSTD_loadZstdDictionary()
3340 { size_t const dictID = cdict ? in ZSTD_compressBegin_internal() local
3350 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_compressBegin_internal()
3351 assert(dictID <= UINT_MAX); in ZSTD_compressBegin_internal()
3352 cctx->dictID = (U32)dictID; in ZSTD_compressBegin_internal()
3626 { size_t const dictID = ZSTD_compress_insertDictionary( in ZSTD_initCDict_internal() local
3630 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed"); in ZSTD_initCDict_internal()
3631 assert(dictID <= (size_t)(U32)-1); in ZSTD_initCDict_internal()
3632 cdict->dictID = (U32)dictID; in ZSTD_initCDict_internal()
3839 return cdict->dictID; in ZSTD_getDictID_fromCDict()
4808 …meHeaderSize = ZSTD_writeFrameHeader(op, dstCapacity, &cctx->appliedParams, srcSize, cctx->dictID); in ZSTD_compressSequences()