Lines Matching refs:sequence
766 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument
770 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceEnd()
771 size_t const sequenceLength = sequence.litLength + sequence.matchLength; in ZSTD_execSequenceEnd()
772 const BYTE* const iLitEnd = *litPtr + sequence.litLength; in ZSTD_execSequenceEnd()
773 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequenceEnd()
778 …RETURN_ERROR_IF(sequence.litLength > (size_t)(litLimit - *litPtr), corruption_detected, "try to re… in ZSTD_execSequenceEnd()
783 ZSTD_safecopy(op, oend_w, *litPtr, sequence.litLength, ZSTD_no_overlap); in ZSTD_execSequenceEnd()
788 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEnd()
790 … RETURN_ERROR_IF(sequence.offset > (size_t)(oLitEnd - virtualStart), corruption_detected, ""); in ZSTD_execSequenceEnd()
792 if (match + sequence.matchLength <= dictEnd) { in ZSTD_execSequenceEnd()
793 ZSTD_memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequenceEnd()
800 sequence.matchLength -= length1; in ZSTD_execSequenceEnd()
803 ZSTD_safecopy(op, oend_w, match, sequence.matchLength, ZSTD_overlap_src_before_dst); in ZSTD_execSequenceEnd()
809 BYTE* const oend, seq_t sequence, in ZSTD_execSequence() argument
813 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequence()
814 size_t const sequenceLength = sequence.litLength + sequence.matchLength; in ZSTD_execSequence()
817 const BYTE* const iLitEnd = *litPtr + sequence.litLength; in ZSTD_execSequence()
818 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequence()
831 …return ZSTD_execSequenceEnd(op, oend, sequence, litPtr, litLimit, prefixStart, virtualStart, dictE… in ZSTD_execSequence()
847 if (UNLIKELY(sequence.litLength > 16)) { in ZSTD_execSequence()
848 ZSTD_wildcopy(op+16, (*litPtr)+16, sequence.litLength-16, ZSTD_no_overlap); in ZSTD_execSequence()
854 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequence()
856 …RETURN_ERROR_IF(UNLIKELY(sequence.offset > (size_t)(oLitEnd - virtualStart)), corruption_detected,… in ZSTD_execSequence()
858 if (match + sequence.matchLength <= dictEnd) { in ZSTD_execSequence()
859 ZSTD_memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequence()
866 sequence.matchLength -= length1; in ZSTD_execSequence()
873 assert(sequence.matchLength >= 1); in ZSTD_execSequence()
878 if (LIKELY(sequence.offset >= WILDCOPY_VECLEN)) { in ZSTD_execSequence()
883 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength, ZSTD_no_overlap); in ZSTD_execSequence()
886 assert(sequence.offset < WILDCOPY_VECLEN); in ZSTD_execSequence()
889 ZSTD_overlapCopy8(&op, &match, sequence.offset); in ZSTD_execSequence()
892 if (sequence.matchLength > 8) { in ZSTD_execSequence()
894 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength-8, ZSTD_overlap_src_before_dst); in ZSTD_execSequence()
1183 seq_t const sequence = ZSTD_decodeSequence(&seqState, isLongOffset, ZSTD_p_noPrefetch); in ZSTD_decompressSequences_body() local
1184 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, prefixStart, vBas… in ZSTD_decompressSequences_body()
1187 if (frame) ZSTD_assertValidSequence(dctx, op, oend, sequence, prefixStart, vBase); in ZSTD_decompressSequences_body()
1287 seq_t const sequence = ZSTD_decodeSequence(&seqState, isLongOffset, ZSTD_p_prefetch); in ZSTD_decompressSequencesLong_body() local
1294 …PREFETCH_L1(sequence.match); PREFETCH_L1(sequence.match + sequence.matchLength - 1); /* note : it'… in ZSTD_decompressSequencesLong_body()
1295 sequences[seqNb & STORED_SEQS_MASK] = sequence; in ZSTD_decompressSequencesLong_body()