Searched refs:dictPtr (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/lib/lz4/ |
D | lz4_compress.c | 177 LZ4_stream_t_internal * const dictPtr, in LZ4_compress_generic() argument 191 const BYTE * const lowRefLimit = ip - dictPtr->dictSize; in LZ4_compress_generic() 192 const BYTE * const dictionary = dictPtr->dictionary; in LZ4_compress_generic() 193 const BYTE * const dictEnd = dictionary + dictPtr->dictSize; in LZ4_compress_generic() 219 base = (const BYTE *)source - dictPtr->currentOffset; in LZ4_compress_generic() 220 lowLimit = (const BYTE *)source - dictPtr->dictSize; in LZ4_compress_generic() 223 base = (const BYTE *)source - dictPtr->currentOffset; in LZ4_compress_generic() 240 LZ4_putPosition(ip, dictPtr->hashTable, tableType, base); in LZ4_compress_generic() 266 dictPtr->hashTable, in LZ4_compress_generic() 281 LZ4_putPositionOnHash(ip, h, dictPtr->hashTable, in LZ4_compress_generic() [all …]
|
/linux-6.6.21/lib/zstd/decompress/ |
D | zstd_decompress.c | 1290 const BYTE* dictPtr = (const BYTE*)dict; in ZSTD_loadDEntropy() local 1291 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadDEntropy() 1295 dictPtr += 8; /* skip header = magic + dictID */ in ZSTD_loadDEntropy() 1305 dictPtr, dictEnd - dictPtr, in ZSTD_loadDEntropy() 1309 dictPtr, (size_t)(dictEnd - dictPtr), in ZSTD_loadDEntropy() 1313 dictPtr += hSize; in ZSTD_loadDEntropy() 1318 …= FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, (size_t)(dictEnd-dictPtr)); in ZSTD_loadDEntropy() 1328 dictPtr += offcodeHeaderSize; in ZSTD_loadDEntropy() 1333 …ount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, (size_t)(dictEnd-dictPtr)); in ZSTD_loadDEntropy() 1343 dictPtr += matchlengthHeaderSize; in ZSTD_loadDEntropy() [all …]
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_compress.c | 4228 const BYTE* dictPtr = (const BYTE*)dict; /* skip magic num and dict ID */ in ZSTD_loadCEntropy() local 4229 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadCEntropy() 4230 dictPtr += 8; in ZSTD_loadCEntropy() 4235 …t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, dictPtr, in ZSTD_loadCEntropy() 4236 dictEnd-dictPtr, &hasZeroWeights); in ZSTD_loadCEntropy() 4245 dictPtr += hufHeaderSize; in ZSTD_loadCEntropy() 4249 …eaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy() 4259 dictPtr += offcodeHeaderSize; in ZSTD_loadCEntropy() 4264 …FSE_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy() 4273 dictPtr += matchlengthHeaderSize; in ZSTD_loadCEntropy() [all …]
|