Lines Matching refs:startIdx

3917                                      size_t startIdx, size_t endIdx)  in ZSTD_deriveSeqStoreChunk()  argument
3920 if (startIdx > 0) { in ZSTD_deriveSeqStoreChunk()
3921 resultSeqStore->sequences = originalSeqStore->sequencesStart + startIdx; in ZSTD_deriveSeqStoreChunk()
3927 … if (originalSeqStore->longLengthPos < startIdx || originalSeqStore->longLengthPos > endIdx) { in ZSTD_deriveSeqStoreChunk()
3930 resultSeqStore->longLengthPos -= (U32)startIdx; in ZSTD_deriveSeqStoreChunk()
3933 resultSeqStore->sequencesStart = originalSeqStore->sequencesStart + startIdx; in ZSTD_deriveSeqStoreChunk()
3942 resultSeqStore->llCode += startIdx; in ZSTD_deriveSeqStoreChunk()
3943 resultSeqStore->mlCode += startIdx; in ZSTD_deriveSeqStoreChunk()
3944 resultSeqStore->ofCode += startIdx; in ZSTD_deriveSeqStoreChunk()
4111 ZSTD_deriveBlockSplitsHelper(seqStoreSplits* splits, size_t startIdx, size_t endIdx, in ZSTD_deriveBlockSplitsHelper() argument
4120 size_t midIdx = (startIdx + endIdx)/2; in ZSTD_deriveBlockSplitsHelper()
4122 DEBUGLOG(5, "ZSTD_deriveBlockSplitsHelper: startIdx=%zu endIdx=%zu", startIdx, endIdx); in ZSTD_deriveBlockSplitsHelper()
4123 assert(endIdx >= startIdx); in ZSTD_deriveBlockSplitsHelper()
4124 …if (endIdx - startIdx < MIN_SEQUENCES_BLOCK_SPLITTING || splits->idx >= ZSTD_MAX_NB_BLOCK_SPLITS) { in ZSTD_deriveBlockSplitsHelper()
4125 DEBUGLOG(6, "ZSTD_deriveBlockSplitsHelper: Too few sequences (%zu)", endIdx - startIdx); in ZSTD_deriveBlockSplitsHelper()
4128 ZSTD_deriveSeqStoreChunk(fullSeqStoreChunk, origSeqStore, startIdx, endIdx); in ZSTD_deriveBlockSplitsHelper()
4129 ZSTD_deriveSeqStoreChunk(firstHalfSeqStore, origSeqStore, startIdx, midIdx); in ZSTD_deriveBlockSplitsHelper()
4141 ZSTD_deriveBlockSplitsHelper(splits, startIdx, midIdx, zc, origSeqStore); in ZSTD_deriveBlockSplitsHelper()
6443 U32 const startIdx = idx; in ZSTD_transferSequences_wBlockDelim() local
6490 assert(idx >= startIdx); in ZSTD_transferSequences_wBlockDelim()
6491 if (externalRepSearch == ZSTD_ps_disable && idx != startIdx) { in ZSTD_transferSequences_wBlockDelim()
6495 if (lastSeqIdx >= startIdx + 2) { in ZSTD_transferSequences_wBlockDelim()
6499 } else if (lastSeqIdx == startIdx + 1) { in ZSTD_transferSequences_wBlockDelim()
6504 assert(lastSeqIdx == startIdx); in ZSTD_transferSequences_wBlockDelim()