Lines Matching refs:litLength
2307 U32 const llv = sequences[u].litLength;
2823 outSeqs[i].litLength = seqStoreSeqs[i].litLength;
2829 outSeqs[i].litLength += 0x10000;
2838 if (outSeqs[i].litLength != 0) {
2853 seqStoreSeqs[i].litLength == 0);
2854 literalsRead += outSeqs[i].litLength;
2862 outSeqs[i].litLength = (U32)lastLLSize;
2894 sequences[in+1].litLength += sequences[in].litLength;
3282 literalsBytes += seq.litLength;
3379 U32 const ll0 = (seq->litLength == 0);
5578 /* Returns an offset code, given a sequence's raw offset, the ongoing repcode array, and whether litLength == 0 */
5619 U32 const litLength = inSeqs[idx].litLength;
5620 U32 const ll0 = (litLength == 0);
5625 DEBUGLOG(6, "Storing sequence: (of: %u, ml: %u, ll: %u)", offCode, matchLength, litLength);
5627 seqPos->posInSrc += litLength + matchLength;
5634 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength);
5635 ip += matchLength + litLength;
5639 if (inSeqs[idx].litLength) {
5640 DEBUGLOG(6, "Storing last literals of size: %u", inSeqs[idx].litLength);
5641 ZSTD_storeLastLiterals(&cctx->seqStore, ip, inSeqs[idx].litLength);
5642 ip += inSeqs[idx].litLength;
5643 seqPos->posInSrc += inSeqs[idx].litLength;
5684 DEBUGLOG(5, "Start seq: idx: %u (of: %u ml: %u ll: %u)", idx, inSeqs[idx].offset, inSeqs[idx].matchLength, inSeqs[idx].litLength);
5688 U32 litLength = currSeq.litLength;
5694 if (endPosInSequence >= currSeq.litLength + currSeq.matchLength) {
5695 if (startPosInSequence >= litLength) {
5696 startPosInSequence -= litLength;
5697 litLength = 0;
5700 litLength -= startPosInSequence;
5703 endPosInSequence -= currSeq.litLength + currSeq.matchLength;
5710 currSeq.litLength + currSeq.matchLength - endPosInSequence, idx, endPosInSequence);
5711 if (endPosInSequence > litLength) {
5713 litLength = startPosInSequence >= litLength ? 0 : litLength - startPosInSequence;
5714 firstHalfMatchLength = endPosInSequence - startPosInSequence - litLength;
5717 U32 secondHalfMatchLength = currSeq.matchLength + currSeq.litLength - endPosInSequence;
5730 * the last literals. We use the original currSeq.litLength as a marker for where endPosInSequence
5734 bytesAdjustment = endPosInSequence - currSeq.litLength;
5735 endPosInSequence = currSeq.litLength;
5744 { U32 const ll0 = (litLength == 0);
5750 seqPos->posInSrc += litLength + matchLength;
5755 DEBUGLOG(6, "Storing sequence: (of: %u, ml: %u, ll: %u)", offCode, matchLength, litLength);
5758 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength);
5759 ip += matchLength + litLength;
5761 DEBUGLOG(5, "Ending seq: idx: %u (of: %u ml: %u ll: %u)", idx, inSeqs[idx].offset, inSeqs[idx].matchLength, inSeqs[idx].litLength);
5762 assert(idx == inSeqsSize || endPosInSequence <= inSeqs[idx].litLength + inSeqs[idx].matchLength);