Lines Matching defs:dictID
81 U32 dictID;
751 case ZSTD_c_dictIDFlag : /* When applicable, dictionary's dictID is provided in frame header (default:1) */
1852 zc->dictID = 0;
2013 cctx->dictID = cdict->dictID;
2092 cctx->dictID = cdict->dictID;
2193 dstCCtx->dictID = srcCCtx->dictID;
3922 const ZSTD_CCtx_params* params, U64 pledgedSrcSize, U32 dictID)
3924 U32 const dictIDSizeCodeLength = (dictID>0) + (dictID>=256) + (dictID>=65536); /* 0-3 */
3938 DEBUGLOG(4, "ZSTD_writeFrameHeader : dictIDFlag : %u ; dictID : %u ; dictIDSizeCode : %u",
3939 !params->fParams.noDictIDFlag, (unsigned)dictID, (unsigned)dictIDSizeCode);
3952 case 1 : op[pos] = (BYTE)(dictID); pos++; break;
3953 case 2 : MEM_writeLE16(op+pos, (U16)dictID); pos+=2; break;
3954 case 3 : MEM_writeLE32(op+pos, dictID); pos+=4; break;
4035 cctx->pledgedSrcSizePlusOne-1, cctx->dictID);
4320 * @return : dictID, or an error code
4334 size_t dictID;
4340 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ );
4350 return dictID;
4354 * @return : dictID, or an error code */
4424 { size_t const dictID = cdict ?
4434 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed");
4435 assert(dictID <= UINT_MAX);
4436 cctx->dictID = (U32)dictID;
4709 { size_t const dictID = ZSTD_compress_insertDictionary(
4713 FORWARD_IF_ERROR(dictID, "ZSTD_compress_insertDictionary failed");
4714 assert(dictID <= (size_t)(U32)-1);
4715 cdict->dictID = (U32)dictID;
4926 * Provides the dictID of the dictionary loaded into `cdict`.
4932 return cdict->dictID;
5928 frameHeaderSize = ZSTD_writeFrameHeader(op, dstCapacity, &cctx->appliedParams, srcSize, cctx->dictID);