Home
last modified time | relevance | path

Searched refs:dictID (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/decompress/
H A 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()
234 * Provides the dictID of the dictionary loaded into `ddict`.
H A Dzstd_decompress.c87 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()
94 * If inserting a DDict with a dictID that already exists in the set, replaces the one in the set.
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()
104 /* Replace existing ddict if inserting ddict with same dictID */ 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 in ZSTD_DDictHashSet_emplaceDDict()
148 ZSTD_DDictHashSet_getDDict(ZSTD_DDictHashSet* hashSet, U32 dictID) ZSTD_DDictHashSet_getDDict() argument
400 U32 const dictID= fhd & 3; ZSTD_frameHeaderSize_internal() local
461 U32 dictID = 0; ZSTD_getFrameHeader_advanced() local
[all...]
H A Dzstd_decompress_internal.h162 U32 dictID; member
/kernel/linux/linux-5.10/lib/zstd/
H A Ddecompress.c95 U32 dictID; member
116 dctx->dictID = 0; in ZSTD_decompressBegin()
195 U32 const dictID = fhd & 3; in ZSTD_frameHeaderSize() local
198 return ZSTD_frameHeaderSize_prefix + !singleSegment + ZSTD_did_fieldSize[dictID] + ZSTD_fcs_fieldSize[fcsId] + (singleSegment && !fcsId); in ZSTD_frameHeaderSize()
241 U32 dictID = 0; in ZSTD_getFrameParams() local
258 dictID = ip[pos]; in ZSTD_getFrameParams()
262 dictID = ZSTD_readLE16(ip + pos); in ZSTD_getFrameParams()
266 dictID = ZSTD_readLE32(ip + pos); in ZSTD_getFrameParams()
286 fparamsPtr->dictID = dictID; in ZSTD_getFrameParams()
1984 U32 dictID; global() member
[all...]
H A Dcompress.c68 U32 dictID; member
226 cctx->dictID = 0; in ZSTD_continueCCtx()
326 zc->dictID = 0; in ZSTD_resetCCtx_advanced()
378 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx()
2431 static size_t ZSTD_writeFrameHeader(void *dst, size_t dstCapacity, ZSTD_parameters params, U64 pledgedSrcSize, U32 dictID) in ZSTD_writeFrameHeader() argument
2434 U32 const dictIDSizeCode = (dictID > 0) + (dictID >= 256) + (dictID >= 65536); /* 0-3 */ in ZSTD_writeFrameHeader()
2456 op[pos] = (BYTE)(dictID); in ZSTD_writeFrameHeader()
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c81 U32 dictID; member
751 case ZSTD_c_dictIDFlag : /* When applicable, dictionary's dictID is provided in frame header (default:1) */ in ZSTD_CCtxParams_setParameter()
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()
3921 ZSTD_writeFrameHeader(void* dst, size_t dstCapacity, const ZSTD_CCtx_params* params, U64 pledgedSrcSize, U32 dictID) ZSTD_writeFrameHeader() argument
4334 size_t dictID; ZSTD_loadZstdDictionary() local
4424 { size_t const dictID = cdict ? ZSTD_compressBegin_internal() local
4709 { size_t const dictID = ZSTD_compress_insertDictionary( ZSTD_initCDict_internal() local
[all...]
H A Dzstd_compress_internal.h365 U32 dictID; member
/kernel/linux/linux-5.10/include/linux/
H A Dzstd.h161 * @noDictIDFlag: Controls whether dictID will be saved into the frame header
927 * @dictID: The dictionary id, or 0 if not present.
933 unsigned int dictID; member
/kernel/linux/linux-6.6/include/linux/
H A Dzstd_lib.h861 * and frame parameters are hardcoded (dictID=yes, contentSize=yes, checksum=no) */
894 * Provides the dictID stored within dictionary.
900 * Provides the dictID of the dictionary loaded into `cdict`.
906 * Provides the dictID of the dictionary loaded into `ddict`.
912 * Provides the dictID required to decompressed the frame stored within `src`.
913 * If @return == 0, the dictID could not be decoded.
916 * - The frame was built with dictID intentionally removed. Whatever dictionary is necessary is a hidden information.
1209 int noDictIDFlag; /*< 1: no dictID will be saved into frame header (dictID is only useful for dictionary compression) */
2124 * store all references. At decompression time, the appropriate dictID i
2481 unsigned dictID; global() member
[all...]

Completed in 28 milliseconds