Lines Matching refs:offCode

3349 ZSTD_resolveRepcodeToRawOffset(const U32 rep[ZSTD_REP_NUM], const U32 offCode, const U32 ll0)  in ZSTD_resolveRepcodeToRawOffset()  argument
3351 U32 const adjustedOffCode = STORED_REPCODE(offCode) - 1 + ll0; /* [ 0 - 3 ] */ in ZSTD_resolveRepcodeToRawOffset()
3352 assert(STORED_IS_REPCODE(offCode)); in ZSTD_resolveRepcodeToRawOffset()
3380 U32 const offCode = OFFBASE_TO_STORED(seq->offBase); in ZSTD_seqStore_resolveOffCodes() local
3382 if (STORED_IS_REPCODE(offCode)) { in ZSTD_seqStore_resolveOffCodes()
3383 U32 const dRawOffset = ZSTD_resolveRepcodeToRawOffset(dRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
3384 U32 const cRawOffset = ZSTD_resolveRepcodeToRawOffset(cRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
3397 ZSTD_updateRep(cRepcodes->rep, offCode, ll0); in ZSTD_seqStore_resolveOffCodes()
5565 ZSTD_validateSequence(U32 offCode, U32 matchLength, in ZSTD_validateSequence() argument
5575 RETURN_ERROR_IF(offCode > STORE_OFFSET(offsetBound), corruption_detected, "Offset too large!"); in ZSTD_validateSequence()
5583 U32 offCode = STORE_OFFSET(rawOffset); in ZSTD_finalizeOffCode() local
5586 offCode = STORE_REPCODE_1; in ZSTD_finalizeOffCode()
5588 offCode = STORE_REPCODE(2 - ll0); in ZSTD_finalizeOffCode()
5590 offCode = STORE_REPCODE(3 - ll0); in ZSTD_finalizeOffCode()
5592 offCode = STORE_REPCODE_3; in ZSTD_finalizeOffCode()
5594 return offCode; in ZSTD_finalizeOffCode()
5624 U32 const offCode = ZSTD_finalizeOffCode(inSeqs[idx].offset, updatedRepcodes.rep, ll0); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim() local
5625 ZSTD_updateRep(updatedRepcodes.rep, offCode, ll0); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5627 DEBUGLOG(6, "Storing sequence: (of: %u, ml: %u, ll: %u)", offCode, matchLength, litLength); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5630 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5636 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength); in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5693 U32 offCode; in ZSTD_copySequencesToSeqStoreNoBlockDelim() local
5747 offCode = ZSTD_finalizeOffCode(rawOffset, updatedRepcodes.rep, ll0); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5748 ZSTD_updateRep(updatedRepcodes.rep, offCode, ll0); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5753 FORWARD_IF_ERROR(ZSTD_validateSequence(offCode, matchLength, seqPos->posInSrc, in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5757 DEBUGLOG(6, "Storing sequence: (of: %u, ml: %u, ll: %u)", offCode, matchLength, litLength); in ZSTD_copySequencesToSeqStoreNoBlockDelim()
5760 ZSTD_storeSeq(&cctx->seqStore, litLength, ip, iend, offCode, matchLength); in ZSTD_copySequencesToSeqStoreNoBlockDelim()