Lines Matching refs:literals

1857         /* ZSTD_wildcopy() is used to copy into the literals buffer,
2478 * compresses both literals and sequences
2514 /* Compress literals */
2515 { const BYTE* const literals = seqStorePtr->litStart;
2518 /* Base suspicion of uncompressibility on ratio of literals to sequences */
2520 size_t const litSize = (size_t)(seqStorePtr->lit - literals);
2526 literals, litSize,
2741 /* tell the optimal parser how we expect to compress literals */
2818 /* Ensure we have enough space for last literals "sequence" */
2856 /* Insert last literals (if any exist) in the block as a sequence with ml == off == 0.
2857 * If there are no last literals, then we'll emit (of: 0, ml: 0, ll: 0), which is a marker
2958 * Builds entropy for the literals.
2959 * Stores literals block type (raw, rle, compressed, repeat) and
3145 /* Returns the size estimate for the literals section (header + content) of a block */
3146 static size_t ZSTD_estimateBlockSize_literal(const BYTE* literals, size_t litSize,
3160 size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize);
3236 /* Returns the size estimate for a given stream of literals, of, ll, ml */
3237 static size_t ZSTD_estimateBlockSize(const BYTE* literals, size_t litSize,
3246 size_t const literalsSize = ZSTD_estimateBlockSize_literal(literals, litSize,
3275 /* Returns literals bytes represented in a seqStore */
3334 /* This accounts for possible last literals if the derived chunk reaches the end of the block */
3612 /* This is the final partition, need to account for possible last literals */
3699 /* encode sequences and literals */
5640 DEBUGLOG(6, "Storing last literals of size: %u", inSeqs[idx].litLength);
5730 * the last literals. We use the original currSeq.litLength as a marker for where endPosInSequence
5739 /* This sequence ends inside the literals, break to store the last literals */
5769 /* Store any last literals */
5772 DEBUGLOG(6, "Storing last literals of size: %u", lastLLSize);