Home
last modified time | relevance | path

Searched refs:OFFSET_TO_OFFBASE (Results 1 – 7 of 7) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_fast.c382 offcode = OFFSET_TO_OFFBASE(rep_offset1); in ZSTD_compressBlock_fast_noDict_generic()
593 …ZSTD_storeSeq(seqStore, (size_t) (ip0 - anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
611 …ZSTD_storeSeq(seqStore, (size_t) (ip0 - anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
908 offcode = OFFSET_TO_OFFBASE(offset); in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c291 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
501 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
680 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_extDict_generic()
705 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, OFFSET_TO_OFFBASE(offset), mLength); in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_opt.c712 matches[0].off = OFFSET_TO_OFFBASE(curr - matchIndex3); in ZSTD_insertBtAndGetAllMatches()
746 (U32)matchLength, curr - matchIndex, OFFSET_TO_OFFBASE(curr - matchIndex)); in ZSTD_insertBtAndGetAllMatches()
751 matches[mnum].off = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_insertBtAndGetAllMatches()
794 (U32)matchLength, curr - matchIndex, OFFSET_TO_OFFBASE(curr - matchIndex)); in ZSTD_insertBtAndGetAllMatches()
798 matches[mnum].off = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_insertBtAndGetAllMatches()
1013 U32 const candidateOffBase = OFFSET_TO_OFFBASE(optLdm->offset); in ZSTD_optLdm_maybeAddMatch()
H A Dzstd_lazy.c212 …curr, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, OFFSET_TO_OFFBASE(curr - matchIndex), di… in ZSTD_DUBT_findBetterDictMatch()
213 bestLength = matchLength, *offsetPtr = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_DUBT_findBetterDictMatch()
344 bestLength = matchLength, *offBasePtr = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_DUBT_findBestMatch()
578 *offsetPtr = OFFSET_TO_OFFBASE(curr - (matchIndex + ddsIndexDelta)); in ZSTD_dedicatedDictSearch_lazy_search()
615 *offsetPtr = OFFSET_TO_OFFBASE(curr - (matchIndex + ddsIndexDelta)); in ZSTD_dedicatedDictSearch_lazy_search()
727 *offsetPtr = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_HcFindBestMatch()
763 *offsetPtr = OFFSET_TO_OFFBASE(curr - (matchIndex + dmsIndexDelta)); in ZSTD_HcFindBestMatch()
1277 *offsetPtr = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_RowFindBestMatch()
1328 *offsetPtr = OFFSET_TO_OFFBASE(curr - (matchIndex + dmsIndexDelta)); in ZSTD_RowFindBestMatch()
H A Dzstd_ldm.c736 OFFSET_TO_OFFBASE(sequence.offset), in ZSTD_ldm_blockCompress()
H A Dzstd_compress.c4002 seq->offBase = OFFSET_TO_OFFBASE(cRawOffset); in ZSTD_seqStore_resolveOffCodes()
6406 …RETURN_ERROR_IF(offBase > OFFSET_TO_OFFBASE(offsetBound), externalSequences_invalid, "Offset too l… in ZSTD_validateSequence()
6415 U32 offBase = OFFSET_TO_OFFBASE(rawOffset); in ZSTD_finalizeOffBase()
6465 offBase = OFFSET_TO_OFFBASE(inSeqs[idx].offset); in ZSTD_transferSequences_wBlockDelim()
7053 dstSeqs[i].offBase = OFFSET_TO_OFFBASE(inSeqs[i].offset); in convertSequences_noRepcodes()
7084 dstSeqs[n].offBase = OFFSET_TO_OFFBASE(inSeqs[n].offset); in convertSequences_noRepcodes()
H A Dzstd_compress_internal.h714 #define OFFSET_TO_OFFBASE(o) (assert((o)>0), o + ZSTD_REP_NUM) macro