Lines Matching defs:inSeqs
3172 const ZSTD_Sequence* const inSeqs, size_t inSeqsSize,
3345 const SeqDef* inSeqs = seqStore->sequencesStart;
3346 const size_t nbInSequences = (size_t)(seqStore->sequences - inSeqs);
3367 outSeqs[i].litLength = inSeqs[i].litLength;
3368 outSeqs[i].matchLength = inSeqs[i].mlBase + MINMATCH;
3384 if (OFFBASE_IS_REPCODE(inSeqs[i].offBase)) {
3385 const U32 repcode = OFFBASE_TO_REPCODE(inSeqs[i].offBase);
3399 rawOffset = OFFBASE_TO_OFFSET(inSeqs[i].offBase);
3405 inSeqs[i].offBase,
3406 inSeqs[i].litLength == 0);
6438 const ZSTD_Sequence* const inSeqs, size_t inSeqsSize,
6459 for (; idx < inSeqsSize && (inSeqs[idx].matchLength != 0 || inSeqs[idx].offset != 0); ++idx) {
6460 U32 const litLength = inSeqs[idx].litLength;
6461 U32 const matchLength = inSeqs[idx].matchLength;
6465 offBase = OFFSET_TO_OFFBASE(inSeqs[idx].offset);
6468 offBase = ZSTD_finalizeOffBase(inSeqs[idx].offset, updatedRepcodes.rep, ll0);
6496 rep[2] = inSeqs[lastSeqIdx - 2].offset;
6497 rep[1] = inSeqs[lastSeqIdx - 1].offset;
6498 rep[0] = inSeqs[lastSeqIdx].offset;
6501 rep[1] = inSeqs[lastSeqIdx - 1].offset;
6502 rep[0] = inSeqs[lastSeqIdx].offset;
6507 rep[0] = inSeqs[lastSeqIdx].offset;
6513 if (inSeqs[idx].litLength) {
6514 DEBUGLOG(6, "Storing last literals of size: %u", inSeqs[idx].litLength);
6515 ZSTD_storeLastLiterals(&cctx->seqStore, ip, inSeqs[idx].litLength);
6516 ip += inSeqs[idx].litLength;
6517 seqPos->posInSrc += inSeqs[idx].litLength;
6526 * represented by the sequences in @inSeqs,
6538 const ZSTD_Sequence* const inSeqs, size_t inSeqsSize,
6564 DEBUGLOG(5, "Start seq: idx: %u (of: %u ml: %u ll: %u)", idx, inSeqs[idx].offset, inSeqs[idx].matchLength, inSeqs[idx].litLength);
6567 const ZSTD_Sequence currSeq = inSeqs[idx];
6586 /* This is the final (partial) sequence we're adding from inSeqs, and endPosInSequence
6642 DEBUGLOG(5, "Ending seq: idx: %u (of: %u ml: %u ll: %u)", idx, inSeqs[idx].offset, inSeqs[idx].matchLength, inSeqs[idx].litLength);
6643 assert(idx == inSeqsSize || endPosInSequence <= inSeqs[idx].litLength + inSeqs[idx].matchLength);
6661 /* @seqPos represents a position within @inSeqs,
6668 const ZSTD_Sequence* const inSeqs, size_t inSeqsSize,
6687 blockSize_explicitDelimiter(const ZSTD_Sequence* inSeqs, size_t inSeqsSize, ZSTD_SequencePosition seqPos)
6695 end = (inSeqs[spos].offset == 0);
6696 blockSize += inSeqs[spos].litLength + inSeqs[spos].matchLength;
6698 if (inSeqs[spos].matchLength != 0)
6711 const ZSTD_Sequence* inSeqs, size_t inSeqsSize,
6720 { size_t const explicitBlockSize = blockSize_explicitDelimiter(inSeqs, inSeqsSize, seqPos);
6738 const ZSTD_Sequence* inSeqs, size_t inSeqsSize,
6765 inSeqs, inSeqsSize, seqPos);
6772 &seqPos, inSeqs, inSeqsSize,
6856 const ZSTD_Sequence* inSeqs, size_t inSeqsSize,
6882 inSeqs, inSeqsSize,
6926 const ZSTD_Sequence* inSeqs,
6990 __m256i vin = _mm256_loadu_si256((const __m256i*)(const void*)&inSeqs[i]);
7030 if (inSeqs[i].matchLength > 65535+MINMATCH) {
7034 if (inSeqs[i].litLength > 65535) {
7038 if (inSeqs[i+1].matchLength > 65535+MINMATCH) {
7042 if (inSeqs[i+1].litLength > 65535) {
7053 dstSeqs[i].offBase = OFFSET_TO_OFFBASE(inSeqs[i].offset);
7054 dstSeqs[i].litLength = (U16)inSeqs[i].litLength;
7055 dstSeqs[i].mlBase = (U16)(inSeqs[i].matchLength - MINMATCH);
7057 if (UNLIKELY(inSeqs[i].matchLength > 65535+MINMATCH)) {
7061 if (UNLIKELY(inSeqs[i].litLength > 65535)) {
7078 const ZSTD_Sequence* inSeqs,
7084 dstSeqs[n].offBase = OFFSET_TO_OFFBASE(inSeqs[n].offset);
7085 dstSeqs[n].litLength = (U16)inSeqs[n].litLength;
7086 dstSeqs[n].mlBase = (U16)(inSeqs[n].matchLength - MINMATCH);
7088 if (UNLIKELY(inSeqs[n].matchLength > 65535+MINMATCH)) {
7092 if (UNLIKELY(inSeqs[n].litLength > 65535)) {
7110 const ZSTD_Sequence* const inSeqs, size_t nbSequences,
7125 assert(inSeqs[nbSequences-1].matchLength == 0);
7126 assert(inSeqs[nbSequences-1].offset == 0);
7130 size_t const longl = convertSequences_noRepcodes(cctx->seqStore.sequencesStart, inSeqs, nbSequences-1);
7148 U32 const litLength = inSeqs[seqNb].litLength;
7149 U32 const matchLength = inSeqs[seqNb].matchLength;
7151 U32 const offBase = ZSTD_finalizeOffBase(inSeqs[seqNb].offset, updatedRepcodes.rep, ll0);
7165 rep[2] = inSeqs[lastSeqIdx - 2].offset;
7166 rep[1] = inSeqs[lastSeqIdx - 1].offset;
7167 rep[0] = inSeqs[lastSeqIdx].offset;
7170 rep[1] = inSeqs[0].offset;
7171 rep[0] = inSeqs[1].offset;
7176 rep[0] = inSeqs[0].offset;
7271 const ZSTD_Sequence* inSeqs, size_t nbSequences,
7284 if ((nbSequences == 1) && (inSeqs[0].litLength == 0)) {
7295 BlockSummary const block = ZSTD_get1BlockSummary(inSeqs, nbSequences);
7303 inSeqs, block.nbSequences,
7306 inSeqs += block.nbSequences;
7378 const ZSTD_Sequence* inSeqs, size_t inSeqsSize,
7415 inSeqs, inSeqsSize,