Home | History | Annotate | Download | only in tests

Lines Matching defs:literals

186 BYTE SEQUENCE_LITERAL_BUFFER[ZSTD_BLOCKSIZE_MAX]; /* storeSeq expects a place to copy literals to */
370 /* Write a literal block in either raw or RLE form, return the literals size */
392 litSize = 1; /* no empty literals if there's nothing preceding this block */
413 /* Raw literals */
414 DISPLAYLEVEL(4, " raw literals\n");
420 /* RLE literals */
423 DISPLAYLEVEL(4, " rle literals: 0x%02x\n", (unsigned)symb);
472 /* Write a Huffman coded literals block and return the literals size */
488 /* make sure we get reasonably-sized literals for compression */
492 DISPLAYLEVEL(4, " compressed literals\n");
532 /* sometimes do restricted range literals to force
534 DISPLAYLEVEL(5, " small range literals\n");
653 const BYTE* literals = LITERAL_BUFFER;
689 memcpy(srcPtr, literals, literalLen);
739 /* copy from dictionary instead of literals */
765 ZSTD_storeSeq(seqStore, literalLen, literals, literals + literalLen,
770 literals += literalLen;
773 memcpy(srcPtr, literals, literalsSize);
775 DISPLAYLEVEL(6, " excess literals: %5u ", (unsigned)literalsSize);
824 /* literals compressing block removed so that can be done separately */
1025 DISPLAYLEVEL(4, " literals size: %u\n", (unsigned)literalsSize);