Home
last modified time | relevance | path

Searched refs:dictID (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/lib/zstd/decompress/
Dzstd_ddict.c38 U32 dictID; member
60 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
90 ddict->dictID = 0; in ZSTD_loadEntropy_intoDDict()
106 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE); in ZSTD_loadEntropy_intoDDict()
Dzstd_decompress.c88 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getIndex() argument
89 const U64 hash = xxh64(&dictID, sizeof(U32), 0); in ZSTD_DDictHashSet_getIndex()
99 const U32 dictID = ZSTD_getDictID_fromDDict(ddict); in ZSTD_DDictHashSet_emplaceDDict() local
100 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_emplaceDDict()
103 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict()
106 if (ZSTD_getDictID_fromDDict(hashSet->ddictPtrTable[idx]) == dictID) { in ZSTD_DDictHashSet_emplaceDDict()
114 DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict()
149 static const ZSTD_DDict* ZSTD_DDictHashSet_getDDict(ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getDDict() argument
150 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_getDDict()
152 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_getDDict()
[all …]
Dzstd_decompress_internal.h144 U32 dictID; member
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c70 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()
[all …]
Dzstd_compress_internal.h275 U32 dictID; member
/linux-6.1.9/include/linux/
Dzstd_lib.h2362 unsigned dictID; member