Home
last modified time | relevance | path

Searched refs:flSize (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_literals.c19 U32 const flSize = 1 + (srcSize>31) + (srcSize>4095); in ZSTD_noCompressLiterals() local
21 RETURN_ERROR_IF(srcSize + flSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_noCompressLiterals()
23 switch(flSize) in ZSTD_noCompressLiterals()
38 ZSTD_memcpy(ostart + flSize, src, srcSize); in ZSTD_noCompressLiterals()
39 DEBUGLOG(5, "Raw literals: %u -> %u", (U32)srcSize, (U32)(srcSize + flSize)); in ZSTD_noCompressLiterals()
40 return srcSize + flSize; in ZSTD_noCompressLiterals()
46 U32 const flSize = 1 + (srcSize>31) + (srcSize>4095); in ZSTD_compressRleLiteralsBlock() local
50 switch(flSize) in ZSTD_compressRleLiteralsBlock()
65 ostart[flSize] = *(const BYTE*)src; in ZSTD_compressRleLiteralsBlock()
66 DEBUGLOG(5, "RLE literals: %u -> %u", (U32)srcSize, (U32)flSize + 1); in ZSTD_compressRleLiteralsBlock()
[all …]