Searched refs:dictID (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/lib/zstd/decompress/ |
D | zstd_ddict.c | 38 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()
|
D | zstd_decompress.c | 87 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getIndex() argument 88 const U64 hash = xxh64(&dictID, sizeof(U32), 0); in ZSTD_DDictHashSet_getIndex() 98 const U32 dictID = ZSTD_getDictID_fromDDict(ddict); in ZSTD_DDictHashSet_emplaceDDict() local 99 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_emplaceDDict() 102 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict() 105 if (ZSTD_getDictID_fromDDict(hashSet->ddictPtrTable[idx]) == dictID) { in ZSTD_DDictHashSet_emplaceDDict() 113 DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict() 148 static const ZSTD_DDict* ZSTD_DDictHashSet_getDDict(ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getDDict() argument 149 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_getDDict() 151 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_getDDict() [all …]
|
D | zstd_decompress_internal.h | 162 U32 dictID; member
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_compress.c | 81 U32 dictID; member 1852 zc->dictID = 0; in ZSTD_resetCCtx_internal() 2013 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byAttachingCDict() 2092 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byCopyingCDict() 2193 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal() 3922 const ZSTD_CCtx_params* params, U64 pledgedSrcSize, U32 dictID) in ZSTD_writeFrameHeader() argument 3924 U32 const dictIDSizeCodeLength = (dictID>0) + (dictID>=256) + (dictID>=65536); /* 0-3 */ in ZSTD_writeFrameHeader() 3939 !params->fParams.noDictIDFlag, (unsigned)dictID, (unsigned)dictIDSizeCode); in ZSTD_writeFrameHeader() 3952 case 1 : op[pos] = (BYTE)(dictID); pos++; break; in ZSTD_writeFrameHeader() 3953 case 2 : MEM_writeLE16(op+pos, (U16)dictID); pos+=2; break; in ZSTD_writeFrameHeader() [all …]
|
D | zstd_compress_internal.h | 365 U32 dictID; member
|
/linux-6.6.21/include/linux/ |
D | zstd_lib.h | 2481 unsigned dictID; member
|