Lines Matching refs:literals
132 U32 litLength; /* Length of literals prior to match */
159 unsigned* litFreq; /* table of literals statistics, of size 256 */
166 U32 litSum; /* nb of literals */
526 * to generate a compress block or a compressed literals section.
585 * Allowed to overread literals up to litLimit.
589 size_t litLength, const BYTE* literals, const BYTE* litLimit,
594 BYTE const* const litEnd = literals + litLength;
597 if (g_start==NULL) g_start = (const BYTE*)literals; /* note : index only works for compression within a single segment */
598 { U32 const pos = (U32)((const BYTE*)literals - g_start);
599 DEBUGLOG(6, "Cpos%7u :%3u literals, match%4u bytes at offCode%7u",
607 assert(literals + litLength <= litLimit);
610 * First copy 16 bytes, because literals are likely short.
613 ZSTD_copy16(seqStorePtr->lit, literals);
615 ZSTD_wildcopy(seqStorePtr->lit+16, literals+16, (ptrdiff_t)litLength-16, ZSTD_no_overlap);
618 ZSTD_safecopyLiterals(seqStorePtr->lit, literals, litEnd, litLimit_w);
1382 * Zstd will use these sequences, and pass the literals to a secondary block