Lines Matching refs:literals

24  *  Compresses literals section for a sub-block.
28 * table size. If we guessed incorrectly, we fall back to uncompressed literals.
33 * hufMetadata->hType has literals block type info.
34 * If it is set_basic, all sub-blocks literals section will be Raw_Literals_Block.
35 * If it is set_rle, all sub-blocks literals section will be RLE_Literals_Block.
36 * If it is set_compressed, first sub-block's literals section will be Compressed_Literals_Block
37 * If it is set_compressed, first sub-block's literals section will be Treeless_Literals_Block
38 * and the following sub-blocks' literals sections will be Treeless_Literals_Block.
39 * @return : compressed size of literals section of a sub-block
45 const BYTE* literals, size_t litSize,
63 return ZSTD_noCompressLiterals(dst, dstSize, literals, litSize);
66 return ZSTD_compressRleLiteralsBlock(dst, dstSize, literals, litSize);
80 const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, (size_t)(oend-op), literals, litSize, hufTable, flags)
81 : HUF_compress4X_usingCTable(op, (size_t)(oend-op), literals, litSize, hufTable, flags);
91 return ZSTD_noCompressLiterals(dst, dstSize, literals, litSize);
97 return ZSTD_noCompressLiterals(dst, dstSize, literals, litSize);
125 DEBUGLOG(5, "Compressed literals: %u -> %u", (U32)litSize, (U32)(op-ostart));
142 DEBUGLOG(5, "ZSTD_seqDecompressedSize: %u sequences from %p: %u literals + %u matchlength",
267 const BYTE* literals, size_t litSize,
282 &entropyMetadata->hufMetadata, literals, litSize,
308 static size_t ZSTD_estimateSubBlockSize_literal(const BYTE* literals, size_t litSize,
321 size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize);
398 static EstimatedBlockSize ZSTD_estimateSubBlockSize(const BYTE* literals, size_t litSize,
409 ebs.estLitSize = ZSTD_estimateSubBlockSize_literal(literals, litSize,
606 /* update pointers, the nb of literals borrowed from next sequence must be preserved */