Searched refs:lhSize (Results 1 – 2 of 2) sorted by relevance
/lib/zstd/ |
D | decompress.c | 450 size_t lhSize, litSize, litCSize; in ZSTD_decodeLiteralsBlock() local 460 lhSize = 3; in ZSTD_decodeLiteralsBlock() 466 lhSize = 4; in ZSTD_decodeLiteralsBlock() 472 lhSize = 5; in ZSTD_decodeLiteralsBlock() 479 if (litCSize + lhSize > srcSize) in ZSTD_decodeLiteralsBlock() 484 …? (singleStream ? HUF_decompress1X_usingDTable(dctx->litBuffer, litSize, istart + lhSize, litCSize… in ZSTD_decodeLiteralsBlock() 485 … : HUF_decompress4X_usingDTable(dctx->litBuffer, litSize, istart + lhSize, litCSize, dctx->HUFptr)) in ZSTD_decodeLiteralsBlock() 487 …ecompress1X2_DCtx_wksp(dctx->entropy.hufTable, dctx->litBuffer, litSize, istart + lhSize, litCSize, in ZSTD_decodeLiteralsBlock() 489 …ompress4X_hufOnly_wksp(dctx->entropy.hufTable, dctx->litBuffer, litSize, istart + lhSize, litCSize, in ZSTD_decodeLiteralsBlock() 499 return litCSize + lhSize; in ZSTD_decodeLiteralsBlock() [all …]
|
D | compress.c | 485 size_t const lhSize = 3 + (srcSize >= 1 KB) + (srcSize >= 16 KB); in ZSTD_compressLiterals() local 499 if (dstCapacity < lhSize + 1) in ZSTD_compressLiterals() 504 if (repeat == HUF_repeat_valid && lhSize == 3) in ZSTD_compressLiterals() 506 …cLitSize = singleStream ? HUF_compress1X_repeat(ostart + lhSize, dstCapacity - lhSize, src, srcSiz… in ZSTD_compressLiterals() 508 …: HUF_compress4X_repeat(ostart + lhSize, dstCapacity - lhSize, src, srcSize, 255, 11, zc->tmpCount… in ZSTD_compressLiterals() 528 switch (lhSize) { in ZSTD_compressLiterals() 550 return lhSize + cLitSize; in ZSTD_compressLiterals()
|