Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c41 U32 dictID; member
63 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
93 ddict->dictID = 0; in ZSTD_loadEntropy_intoDDict()
109 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE); in ZSTD_loadEntropy_intoDDict()
H A Dzstd_decompress.c219 U32 const dictID= fhd & 3; in ZSTD_frameHeaderSize_internal() local
223 + ZSTD_did_fieldSize[dictID] + ZSTD_fcs_fieldSize[fcsId] in ZSTD_frameHeaderSize_internal()
280 U32 dictID = 0; in ZSTD_getFrameHeader_advanced() local
296 case 1 : dictID = ip[pos]; pos++; break; in ZSTD_getFrameHeader_advanced()
297 case 2 : dictID = MEM_readLE16(ip+pos); pos+=2; break; in ZSTD_getFrameHeader_advanced()
298 case 3 : dictID = MEM_readLE32(ip+pos); pos+=4; break; in ZSTD_getFrameHeader_advanced()
314 zfhPtr->dictID = dictID; in ZSTD_getFrameHeader_advanced()
446 RETURN_ERROR_IF(dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID), in ZSTD_decodeFrameHeader()
1144 dctx->dictID = MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_decompress_insertDictionary()
1170 dctx->dictID = 0; in ZSTD_decompressBegin()
[all …]
H A Dzstd_decompress_internal.h135 U32 dictID; member
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c41 U32 dictID; member
63 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
93 ddict->dictID = 0; in ZSTD_loadEntropy_intoDDict()
109 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE); in ZSTD_loadEntropy_intoDDict()
H A Dzstd_decompress.c94 const U64 hash = XXH64(&dictID, sizeof(U32), 0); in ZSTD_DDictHashSet_getIndex()
104 const U32 dictID = ZSTD_getDictID_fromDDict(ddict); in ZSTD_DDictHashSet_emplaceDDict() local
160 if (currDictID == dictID || currDictID == 0) { in ZSTD_DDictHashSet_getDDict()
363 dctx->dictID = dctx->fParams.dictID; in ZSTD_DCtx_selectFrameDDict()
417 U32 const dictID= fhd & 3; in ZSTD_frameHeaderSize_internal() local
478 U32 dictID = 0; in ZSTD_getFrameHeader_advanced() local
496 case 1 : dictID = ip[pos]; pos++; break; in ZSTD_getFrameHeader_advanced()
516 zfhPtr->dictID = dictID; in ZSTD_getFrameHeader_advanced()
685 RETURN_ERROR_IF(dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID), in ZSTD_decodeFrameHeader()
1458 dctx->dictID = 0; in ZSTD_decompressBegin()
[all …]
H A Dzstd_decompress_internal.h162 U32 dictID; member
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c60 U32 dictID; member
1526 zc->dictID = 0; in ZSTD_resetCCtx_internal()
1670 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byAttachingCDict()
1731 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byCopyingCDict()
1821 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal()
2660 U32 const dictIDSizeCodeLength = (dictID>0) + (dictID>=256) + (dictID>=65536); /* 0-3 */ in ZSTD_writeFrameHeader()
3000 size_t dictID; in ZSTD_loadZstdDictionary() local
3032 return dictID; in ZSTD_loadZstdDictionary()
3116 assert(dictID <= UINT_MAX); in ZSTD_compressBegin_internal()
3117 cctx->dictID = (U32)dictID; in ZSTD_compressBegin_internal()
[all …]
H A Dzstd_compress_internal.h241 U32 dictID; member
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c953 U32 const dictID = params.dictID ? params.dictID : compliantID; in ZDICT_finalizeDictionary() local
954 MEM_writeLE32(header+4, dictID); in ZDICT_finalizeDictionary()
1037 U32 const dictID = params.dictID ? params.dictID : compliantID; in ZDICT_addEntropyTablesFromBuffer_advanced() local
1038 MEM_writeLE32((char*)dictBuffer+4, dictID); in ZDICT_addEntropyTablesFromBuffer_advanced()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c84 U32 dictID; member
1931 zc->dictID = 0; in ZSTD_resetCCtx_internal()
2092 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byAttachingCDict()
2171 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byCopyingCDict()
2272 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal()
4015 U32 const dictIDSizeCodeLength = (dictID>0) + (dictID>=256) + (dictID>=65536); /* 0-3 */ in ZSTD_writeFrameHeader()
4425 size_t dictID; in ZSTD_loadZstdDictionary() local
4441 return dictID; in ZSTD_loadZstdDictionary()
4530 cctx->dictID = (U32)dictID; in ZSTD_compressBegin_internal()
4834 cdict->dictID = (U32)dictID; in ZSTD_initCDict_internal()
[all …]
H A Dzstd_compress_internal.h371 U32 dictID; member
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v07.h117 unsigned dictID; member
H A Dzstd_v07.c2948 U32 dictID; member
2972 dctx->dictID = 0; in ZSTDv07_decompressBegin()
3136 U32 const dictID= fhd & 3; in ZSTDv07_frameHeaderSize() local
3139 …return ZSTDv07_frameHeaderSize_min + !directMode + ZSTDv07_did_fieldSize[dictID] + ZSTDv07_fcs_fie… in ZSTDv07_frameHeaderSize()
3178 U32 dictID = 0; in ZSTDv07_getFrameParams() local
3195 case 1 : dictID = ip[pos]; pos++; break; in ZSTDv07_getFrameParams()
3196 case 2 : dictID = MEM_readLE16(ip+pos); pos+=2; break; in ZSTDv07_getFrameParams()
3197 case 3 : dictID = MEM_readLE32(ip+pos); pos+=4; break; in ZSTDv07_getFrameParams()
3212 fparamsPtr->dictID = dictID; in ZSTDv07_getFrameParams()
3241 …if (dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID)) return ERROR(dictionary_wrong); in ZSTDv07_decodeFrameHeader()
[all …]
/freebsd/sys/contrib/zstd/lib/
H A Dzdict.h206 unsigned dictID; /*< force dictID value; 0 means auto mode (32-bits random value) member
H A Dzstd.h2502 unsigned dictID; member
/freebsd/sys/contrib/zstd/programs/
H A Dzstdcli.c830 unsigned dictID = 0; in main() local
988 if (longCommandWArg(&argument, "--dictID")) { NEXT_UINT32(dictID); continue; } in main()
1325 zParams.dictID = dictID; in main()
1344 …(void)dictCLevel; (void)dictSelect; (void)dictID; (void)maxDictSize; /* not used when ZSTD_NODICT… in main()
H A DREADME.md184 --no-dictID : don't write dictID into header (dictionary compression only)
205 --dictID=# : force dictionary ID to specified value (default: random)
H A Dzstd.1.md181 * `--no-dictID`:
338 * `--dictID=#`:
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h2017 unsigned dictID; member
/freebsd/sys/contrib/zstd/
H A DCHANGELOG488 API : fix : ZSTD_initCStream_usingCDict() properly writes dictID into frame header, by Gregory Szor…
495 API : experimental : added : dictID retrieval functions, and ZSTD_initCStream_srcSize()
/freebsd/sys/contrib/zstd/doc/
H A Dzstd_compression_format.md1691 - 0.1.1 : reserved dictID ranges