Lines Matching refs:sequence

871 size_t ZSTD_execSequenceLast7(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, cons…  in ZSTD_execSequenceLast7()  argument
874 BYTE *const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceLast7()
875 size_t const sequenceLength = sequence.litLength + sequence.matchLength; in ZSTD_execSequenceLast7()
878 const BYTE *const iLitEnd = *litPtr + sequence.litLength; in ZSTD_execSequenceLast7()
879 const BYTE *match = oLitEnd - sequence.offset; in ZSTD_execSequenceLast7()
899 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTD_execSequenceLast7()
901 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequenceLast7()
904 if (match + sequence.matchLength <= dictEnd) { in ZSTD_execSequenceLast7()
905 memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequenceLast7()
913 sequence.matchLength -= length1; in ZSTD_execSequenceLast7()
998 size_t ZSTD_execSequence(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, const BYT… in ZSTD_execSequence() argument
1001 BYTE *const oLitEnd = op + sequence.litLength; in ZSTD_execSequence()
1002 size_t const sequenceLength = sequence.litLength + sequence.matchLength; in ZSTD_execSequence()
1005 const BYTE *const iLitEnd = *litPtr + sequence.litLength; in ZSTD_execSequence()
1006 const BYTE *match = oLitEnd - sequence.offset; in ZSTD_execSequence()
1014 return ZSTD_execSequenceLast7(op, oend, sequence, litPtr, litLimit, base, vBase, dictEnd); in ZSTD_execSequence()
1018 if (sequence.litLength > 8) in ZSTD_execSequence()
1020sequence.litLength - 8); /* note : since oLitEnd <= oend-WILDCOPY_OVERLENGTH, no risk of overwrite… in ZSTD_execSequence()
1025 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTD_execSequence()
1027 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequence()
1030 if (match + sequence.matchLength <= dictEnd) { in ZSTD_execSequence()
1031 memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequence()
1039 sequence.matchLength -= length1; in ZSTD_execSequence()
1041 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTD_execSequence()
1043 for (i = 0; i < sequence.matchLength; ++i) in ZSTD_execSequence()
1052 if (sequence.offset < 8) { in ZSTD_execSequence()
1056 int const sub2 = dec64table[sequence.offset]; in ZSTD_execSequence()
1061 match += dec32table[sequence.offset]; in ZSTD_execSequence()
1079 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ in ZSTD_execSequence()
1123 seq_t const sequence = ZSTD_decodeSequence(&seqState); in ZSTD_decompressSequences() local
1124 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBase, dict… in ZSTD_decompressSequences()
1254 size_t ZSTD_execSequenceLong(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, const… in ZSTD_execSequenceLong() argument
1257 BYTE *const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceLong()
1258 size_t const sequenceLength = sequence.litLength + sequence.matchLength; in ZSTD_execSequenceLong()
1261 const BYTE *const iLitEnd = *litPtr + sequence.litLength; in ZSTD_execSequenceLong()
1262 const BYTE *match = sequence.match; in ZSTD_execSequenceLong()
1270 return ZSTD_execSequenceLast7(op, oend, sequence, litPtr, litLimit, base, vBase, dictEnd); in ZSTD_execSequenceLong()
1274 if (sequence.litLength > 8) in ZSTD_execSequenceLong()
1276sequence.litLength - 8); /* note : since oLitEnd <= oend-WILDCOPY_OVERLENGTH, no risk of overwrite… in ZSTD_execSequenceLong()
1281 if (sequence.offset > (size_t)(oLitEnd - base)) { in ZSTD_execSequenceLong()
1283 if (sequence.offset > (size_t)(oLitEnd - vBase)) in ZSTD_execSequenceLong()
1285 if (match + sequence.matchLength <= dictEnd) { in ZSTD_execSequenceLong()
1286 memmove(oLitEnd, match, sequence.matchLength); in ZSTD_execSequenceLong()
1294 sequence.matchLength -= length1; in ZSTD_execSequenceLong()
1296 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTD_execSequenceLong()
1298 for (i = 0; i < sequence.matchLength; ++i) in ZSTD_execSequenceLong()
1307 if (sequence.offset < 8) { in ZSTD_execSequenceLong()
1311 int const sub2 = dec64table[sequence.offset]; in ZSTD_execSequenceLong()
1316 match += dec32table[sequence.offset]; in ZSTD_execSequenceLong()
1334 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ in ZSTD_execSequenceLong()
1395 seq_t const sequence = ZSTD_decodeSequenceLong(&seqState, windowSize); in ZSTD_decompressSequencesLong() local
1400 ZSTD_PREFETCH(sequence.match); in ZSTD_decompressSequencesLong()
1401 sequences[seqNb & STOSEQ_MASK] = sequence; in ZSTD_decompressSequencesLong()