Home | History | Annotate | Download | only in compress

Lines Matching refs:matchLength

88     U16 mlBase;    /* mlBase == matchLength - MINMATCH */
91 /* Controls whether seqStore has a single "long" litLength or matchLength. See SeqStore_t. */
109 /* longLengthPos and longLengthType to allow us to represent either a single litLength or matchLength
111 * the existing value of the litLength or matchLength by 0x10000.
119 U32 matchLength;
124 * indicated by longLengthPos and longLengthType, and adds MINMATCH back to matchLength.
130 seqLen.matchLength = seq->mlBase + MINMATCH;
136 seqLen.matchLength += 0x10000;
202 U32 matchLength; /* Raw length of match */
209 stopped. posInSequence <= seq[pos].litLength + seq[pos].matchLength */
231 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */
238 U32 matchLengthSum; /* nb of matchLength codes */
599 * note : mlBase = matchLength - MINMATCH;
729 * Store a sequence (litlen, litPtr, offBase and matchLength) into SeqStore_t.
732 * @matchLength : must be >= MINMATCH
738 size_t matchLength)
755 assert(matchLength <= ZSTD_BLOCKSIZE_MAX);
756 assert(matchLength >= MINMATCH);
757 { size_t const mlBase = matchLength - MINMATCH;
770 * Store a sequence (litlen, litPtr, offBase and matchLength) into SeqStore_t.
772 * @matchLength : must be >= MINMATCH
779 size_t matchLength)
788 pos, (U32)litLength, (U32)matchLength, (U32)offBase);
810 ZSTD_storeSeqOnly(seqStorePtr, litLength, offBase, matchLength);
884 size_t const matchLength = ZSTD_count(ip, match, vEnd);
885 if (match + matchLength != mEnd) return matchLength;
886 DEBUGLOG(7, "ZSTD_count_2segments: found a 2-parts match (current length==%zu)", matchLength);
889 DEBUGLOG(7, "next byte : ip==%02X, istart==%02X", ip[matchLength], *iStart);
890 DEBUGLOG(7, "final match length = %zu", matchLength + ZSTD_count(ip+matchLength, iStart, iEnd));
891 return matchLength + ZSTD_count(ip+matchLength, iStart, iEnd);