Searched refs:dictPtr (Results 1 – 3 of 3) sorted by relevance
/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 …]
|
/lib/zstd/ |
D | decompress.c | 1876 const BYTE *dictPtr = (const BYTE *)dict; in ZSTD_loadEntropy() local 1877 const BYTE *const dictEnd = dictPtr + dictSize; in ZSTD_loadEntropy() 1881 dictPtr += 8; /* skip header = magic + dictID */ in ZSTD_loadEntropy() 1884 …size_t const hSize = HUF_readDTableX4_wksp(entropy->hufTable, dictPtr, dictEnd - dictPtr, entropy-… in ZSTD_loadEntropy() 1887 dictPtr += hSize; in ZSTD_loadEntropy() 1893 …derSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadEntropy() 1899 dictPtr += offcodeHeaderSize; in ZSTD_loadEntropy() 1905 …E_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadEntropy() 1911 dictPtr += matchlengthHeaderSize; in ZSTD_loadEntropy() 1917 …e = FSE_readNCount(litlengthNCount, &litlengthMaxValue, &litlengthLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadEntropy() [all …]
|
D | compress.c | 2628 const BYTE *dictPtr = (const BYTE *)dict; in ZSTD_loadZstdDictionary() local 2629 const BYTE *const dictEnd = dictPtr + dictSize; in ZSTD_loadZstdDictionary() 2633 dictPtr += 4; /* skip magic number */ in ZSTD_loadZstdDictionary() 2634 cctx->dictID = cctx->params.fParams.noDictIDFlag ? 0 : ZSTD_readLE32(dictPtr); in ZSTD_loadZstdDictionary() 2635 dictPtr += 4; in ZSTD_loadZstdDictionary() 2638 …size_t const hufHeaderSize = HUF_readCTable_wksp(cctx->hufTable, 255, dictPtr, dictEnd - dictPtr, … in ZSTD_loadZstdDictionary() 2641 dictPtr += hufHeaderSize; in ZSTD_loadZstdDictionary() 2646 …derSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadZstdDictionary() 2654 dictPtr += offcodeHeaderSize; in ZSTD_loadZstdDictionary() 2660 …E_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, dictEnd - dictPtr); in ZSTD_loadZstdDictionary() [all …]
|