Home
last modified time | relevance | path

Searched refs:dictContentSize (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/lib/zstd/
Dcompress.c2696 size_t const dictContentSize = (size_t)(dictEnd - dictPtr); in ZSTD_loadZstdDictionary() local
2698 if (dictContentSize <= ((U32)-1) - 128 KB) { in ZSTD_loadZstdDictionary()
2699 …U32 const maxOffset = (U32)dictContentSize + 128 KB; /* The maximum offset that must be supported … in ZSTD_loadZstdDictionary()
2710 if (cctx->rep[u] > dictContentSize) in ZSTD_loadZstdDictionary()
2717 return ZSTD_loadDictionaryContent(cctx, dictPtr, dictContentSize); in ZSTD_loadZstdDictionary()
2841 size_t dictContentSize; member
2888 cdict->dictContentSize = dictSize; in ZSTD_createCDict_advanced()
2916 if (cdict->dictContentSize) in ZSTD_compressBegin_usingCDict()
Ddecompress.c1929 size_t const dictContentSize = (size_t)(dictEnd - (dictPtr + 12)); in ZSTD_loadEntropy() local
1933 if (rep == 0 || rep >= dictContentSize) in ZSTD_loadEntropy()