Searched refs:cLitSize (Results 1 – 2 of 2) sorted by relevance
84 size_t cLitSize; in ZSTD_compressLiterals() local105 cLitSize = singleStream ? in ZSTD_compressLiterals()121 if ((cLitSize==0) || (cLitSize >= srcSize - minGain) || ERR_isError(cLitSize)) { in ZSTD_compressLiterals()125 if (cLitSize==1) { in ZSTD_compressLiterals()139 … { U32 const lhc = hType + ((!singleStream) << 2) + ((U32)srcSize<<4) + ((U32)cLitSize<<14); in ZSTD_compressLiterals()144 { U32 const lhc = hType + (2 << 2) + ((U32)srcSize<<4) + ((U32)cLitSize<<18); in ZSTD_compressLiterals()149 { U32 const lhc = hType + (3 << 2) + ((U32)srcSize<<4) + ((U32)cLitSize<<22); in ZSTD_compressLiterals()151 ostart[4] = (BYTE)(cLitSize >> 10); in ZSTD_compressLiterals()157 DEBUGLOG(5, "Compressed literals: %u -> %u", (U32)srcSize, (U32)(lhSize+cLitSize)); in ZSTD_compressLiterals()158 return lhSize+cLitSize; in ZSTD_compressLiterals()
54 size_t cLitSize = 0; in ZSTD_compressSubBlock_literal() local75 cLitSize += hufMetadata->hufDesSize; in ZSTD_compressSubBlock_literal()83 cLitSize += cSize; in ZSTD_compressSubBlock_literal()89 if (!writeEntropy && cLitSize >= litSize) { in ZSTD_compressSubBlock_literal()94 if (lhSize < (size_t)(3 + (cLitSize >= 1 KB) + (cLitSize >= 16 KB))) { in ZSTD_compressSubBlock_literal()95 assert(cLitSize > litSize); in ZSTD_compressSubBlock_literal()111 { U32 const lhc = hType + (2 << 2) + ((U32)litSize<<4) + ((U32)cLitSize<<18); in ZSTD_compressSubBlock_literal()118 ostart[4] = (BYTE)(cLitSize >> 10); in ZSTD_compressSubBlock_literal()279 FORWARD_IF_ERROR(cLitSize, "ZSTD_compressSubBlock_literal failed"); in ZSTD_compressSubBlock()280 if (cLitSize == 0) return 0; in ZSTD_compressSubBlock()[all …]