Searched refs:litSize (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/lib/zstd/compress/ |
D | zstd_compress_superblock.c | 282 size_t const litSize = seqStorePtr->lit - seqStorePtr->litStart; in ZSTD_buildSuperBlockEntropy() local 285 ZSTD_buildSuperBlockEntropy_literal(seqStorePtr->litStart, litSize, in ZSTD_buildSuperBlockEntropy() 322 const BYTE* literals, size_t litSize, in ZSTD_compressSubBlock_literal() argument 327 size_t const lhSize = 3 + (litSize >= (1 KB - header)) + (litSize >= (16 KB - header)); in ZSTD_compressSubBlock_literal() 337 …DEBUGLOG(5, "ZSTD_compressSubBlock_literal (litSize=%zu, lhSize=%zu, writeEntropy=%d)", litSize, l… in ZSTD_compressSubBlock_literal() 340 if (litSize == 0 || hufMetadata->hType == set_basic) { in ZSTD_compressSubBlock_literal() 342 return ZSTD_noCompressLiterals(dst, dstSize, literals, litSize); in ZSTD_compressSubBlock_literal() 345 return ZSTD_compressRleLiteralsBlock(dst, dstSize, literals, litSize); in ZSTD_compressSubBlock_literal() 348 assert(litSize > 0); in ZSTD_compressSubBlock_literal() 359 … size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize, hufTable) in ZSTD_compressSubBlock_literal() [all …]
|
D | zstd_compress.c | 2134 size_t const litSize = (size_t)(seqStorePtr->lit - literals); in ZSTD_entropyCompressSequences_internal() local 2140 literals, litSize, in ZSTD_entropyCompressSequences_internal()
|
/linux-5.19.10/lib/zstd/decompress/ |
D | zstd_decompress_block.c | 97 { size_t lhSize, litSize, litCSize; in ZSTD_decodeLiteralsBlock() local 108 litSize = (lhc >> 4) & 0x3FF; in ZSTD_decodeLiteralsBlock() 114 litSize = (lhc >> 4) & 0x3FFF; in ZSTD_decodeLiteralsBlock() 120 litSize = (lhc >> 4) & 0x3FFFF; in ZSTD_decodeLiteralsBlock() 124 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock() 128 if (dctx->ddictIsCold && (litSize > 768 /* heuristic */)) { in ZSTD_decodeLiteralsBlock() 135 dctx->litBuffer, litSize, istart+lhSize, litCSize, in ZSTD_decodeLiteralsBlock() 139 dctx->litBuffer, litSize, istart+lhSize, litCSize, in ZSTD_decodeLiteralsBlock() 146 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock() 151 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock() [all …]
|
D | zstd_decompress_internal.h | 136 size_t litSize; member
|