Lines Matching defs:startIdx
3305 /* Derives the seqStore that is a chunk of the originalSeqStore from [startIdx, endIdx).
3310 size_t startIdx, size_t endIdx) {
3316 if (startIdx > 0) {
3317 resultSeqStore->sequences = originalSeqStore->sequencesStart + startIdx;
3323 if (originalSeqStore->longLengthPos < startIdx || originalSeqStore->longLengthPos > endIdx) {
3326 resultSeqStore->longLengthPos -= (U32)startIdx;
3329 resultSeqStore->sequencesStart = originalSeqStore->sequencesStart + startIdx;
3339 resultSeqStore->llCode += startIdx;
3340 resultSeqStore->mlCode += startIdx;
3341 resultSeqStore->ofCode += startIdx;
3495 ZSTD_deriveBlockSplitsHelper(seqStoreSplits* splits, size_t startIdx, size_t endIdx,
3504 size_t midIdx = (startIdx + endIdx)/2;
3506 if (endIdx - startIdx < MIN_SEQUENCES_BLOCK_SPLITTING || splits->idx >= ZSTD_MAX_NB_BLOCK_SPLITS) {
3510 DEBUGLOG(4, "ZSTD_deriveBlockSplitsHelper: startIdx=%zu endIdx=%zu", startIdx, endIdx);
3511 ZSTD_deriveSeqStoreChunk(fullSeqStoreChunk, origSeqStore, startIdx, endIdx);
3512 ZSTD_deriveSeqStoreChunk(firstHalfSeqStore, origSeqStore, startIdx, midIdx);
3523 ZSTD_deriveBlockSplitsHelper(splits, startIdx, midIdx, zc, origSeqStore);