Lines Matching defs:literals
138 U32 litLength; /* Length of literals prior to match */
165 unsigned* litFreq; /* table of literals statistics, of size 256 */
172 U32 litSum; /* nb of literals */
538 * to generate a compress block or a compressed literals section.
597 * Allowed to overread literals up to litLimit.
601 size_t litLength, const BYTE* literals, const BYTE* litLimit,
606 BYTE const* const litEnd = literals + litLength;
609 if (g_start==NULL) g_start = (const BYTE*)literals; /* note : index only works for compression within a single segment */
610 { U32 const pos = (U32)((const BYTE*)literals - g_start);
611 DEBUGLOG(6, "Cpos%7u :%3u literals, match%4u bytes at offCode%7u",
619 assert(literals + litLength <= litLimit);
622 * First copy 16 bytes, because literals are likely short.
625 ZSTD_copy16(seqStorePtr->lit, literals);
627 ZSTD_wildcopy(seqStorePtr->lit+16, literals+16, (ptrdiff_t)litLength-16, ZSTD_no_overlap);
630 ZSTD_safecopyLiterals(seqStorePtr->lit, literals, litEnd, litLimit_w);
1441 * Zstd will use these sequences, and pass the literals to a secondary block