Searched refs:dictPtr (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/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-v6.1/lib/zstd/decompress/ |
D | zstd_decompress.c | 1225 const BYTE* dictPtr = (const BYTE*)dict; in ZSTD_loadDEntropy() local 1226 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadDEntropy() 1230 dictPtr += 8; /* skip header = magic + dictID */ in ZSTD_loadDEntropy() 1240 dictPtr, dictEnd - dictPtr, in ZSTD_loadDEntropy() 1244 dictPtr, (size_t)(dictEnd - dictPtr), in ZSTD_loadDEntropy() 1248 dictPtr += hSize; in ZSTD_loadDEntropy() 1253 …= FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, (size_t)(dictEnd-dictPtr)); in ZSTD_loadDEntropy() 1263 dictPtr += offcodeHeaderSize; in ZSTD_loadDEntropy() 1268 …ount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, (size_t)(dictEnd-dictPtr)); in ZSTD_loadDEntropy() 1278 dictPtr += matchlengthHeaderSize; in ZSTD_loadDEntropy() [all …]
|
/Linux-v6.1/lib/zstd/compress/ |
D | zstd_compress.c | 3145 const BYTE* dictPtr = (const BYTE*)dict; /* skip magic num and dict ID */ in ZSTD_loadCEntropy() local 3146 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadCEntropy() 3147 dictPtr += 8; in ZSTD_loadCEntropy() 3152 …t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, dictPtr, in ZSTD_loadCEntropy() 3153 dictEnd-dictPtr, &hasZeroWeights); in ZSTD_loadCEntropy() 3162 dictPtr += hufHeaderSize; in ZSTD_loadCEntropy() 3166 …eaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy() 3176 dictPtr += offcodeHeaderSize; in ZSTD_loadCEntropy() 3181 …FSE_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy() 3190 dictPtr += matchlengthHeaderSize; in ZSTD_loadCEntropy() [all …]
|