Lines Matching refs:sequence
585 rawSeq sequence = rawSeqStore->seq[rawSeqStore->pos]; in maybeSplitSequence() local
586 assert(sequence.offset > 0); in maybeSplitSequence()
588 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
590 return sequence; in maybeSplitSequence()
593 if (remaining <= sequence.litLength) { in maybeSplitSequence()
594 sequence.offset = 0; in maybeSplitSequence()
595 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
596 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence()
597 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
598 sequence.offset = 0; in maybeSplitSequence()
603 return sequence; in maybeSplitSequence()
652 rawSeq const sequence = maybeSplitSequence(rawSeqStore, in ZSTD_ldm_blockCompress() local
656 if (sequence.offset == 0) in ZSTD_ldm_blockCompress()
659 assert(ip + sequence.litLength + sequence.matchLength <= iend); in ZSTD_ldm_blockCompress()
665 …s %u : calling block compressor on segment of size %u", (unsigned)(ip-istart), sequence.litLength); in ZSTD_ldm_blockCompress()
668 blockCompressor(ms, seqStore, rep, ip, sequence.litLength); in ZSTD_ldm_blockCompress()
669 ip += sequence.litLength; in ZSTD_ldm_blockCompress()
673 rep[0] = sequence.offset; in ZSTD_ldm_blockCompress()
676 sequence.offset + ZSTD_REP_MOVE, in ZSTD_ldm_blockCompress()
677 sequence.matchLength - MINMATCH); in ZSTD_ldm_blockCompress()
678 ip += sequence.matchLength; in ZSTD_ldm_blockCompress()