Home
last modified time | relevance | path

Searched refs:litEnd (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c994 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTD_decompressSequences_body() local
1063 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, prefixStart, vBas… in ZSTD_decompressSequences_body()
1091 { size_t const lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences_body()
1146 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTD_decompressSequencesLong_body() local
1185 …(op, oend, sequences[(seqNb-ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litEnd, prefixStart, dict… in ZSTD_decompressSequencesLong_body()
1201 … ZSTD_execSequence(op, oend, sequences[seqNb&STORED_SEQS_MASK], &litPtr, litEnd, prefixStart, dict… in ZSTD_decompressSequencesLong_body()
1215 { size_t const lastLLSize = litEnd - litPtr; in ZSTD_decompressSequencesLong_body()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c1764 const BYTE* const litEnd = *litPtr + litLength; in ZSTD_execSequence() local
1768 if (litEnd > litLimit) return ERROR(corruption_detected); in ZSTD_execSequence()
1772 if (((size_t)(*litPtr - op) < 8) || ((size_t)(oend-litEnd) < 8) || (op+litLength > oend-8)) in ZSTD_execSequence()
1777 *litPtr = litEnd; /* update for next sequence */ in ZSTD_execSequence()
1784 const U32 overlapRisk = (((size_t)(litEnd - endMatch)) < 12); in ZSTD_execSequence()
1860 const BYTE* const litEnd = litStart + litSize; in ZSTD_decompressSequences() local
1895 oneSeqSize = ZSTD_execSequence(op, sequence, &litPtr, litEnd, base, oend); in ZSTD_decompressSequences()
1906 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences()
H A Dzstd_v03.c2755 const BYTE* const litEnd = *litPtr + sequence.litLength; in ZSTD_execSequence() local
2760 if (litEnd > litLimit) return ERROR(corruption_detected); /* overRead beyond lit buffer */ in ZSTD_execSequence()
2765 *litPtr = litEnd; /* update for next sequence */ in ZSTD_execSequence()
2826 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTD_decompressSequences() local
2861 oneSeqSize = ZSTD_execSequence(op, sequence, &litPtr, litEnd, base, oend); in ZSTD_decompressSequences()
2872 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences()
2873 if (litPtr > litEnd) return ERROR(corruption_detected); in ZSTD_decompressSequences()
H A Dzstd_v02.c3114 const BYTE* const litEnd = *litPtr + sequence.litLength; in ZSTD_execSequence() local
3119 if (litEnd > litLimit) return ERROR(corruption_detected); /* overRead beyond lit buffer */ in ZSTD_execSequence()
3124 *litPtr = litEnd; /* update for next sequence */ in ZSTD_execSequence()
3185 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTD_decompressSequences() local
3220 oneSeqSize = ZSTD_execSequence(op, sequence, &litPtr, litEnd, base, oend); in ZSTD_decompressSequences()
3231 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences()
3232 if (litPtr > litEnd) return ERROR(corruption_detected); in ZSTD_decompressSequences()
H A Dzstd_v04.c2876 const BYTE* const litEnd = *litPtr + sequence.litLength; in ZSTD_execSequence() local
2882 if (litEnd > litLimit) return ERROR(corruption_detected); /* risk read beyond lit buffer */ in ZSTD_execSequence()
2887 *litPtr = litEnd; /* update for next sequence */ in ZSTD_execSequence()
2962 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTD_decompressSequences() local
3000 … oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBase, dictEnd); in ZSTD_decompressSequences()
3010 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences()
3011 if (litPtr > litEnd) return ERROR(corruption_detected); in ZSTD_decompressSequences()
H A Dzstd_v05.c3234 const BYTE* const litEnd = *litPtr + sequence.litLength; in ZSTDv05_execSequence() local
3240 if (litEnd > litLimit) return ERROR(corruption_detected); /* risk read beyond lit buffer */ in ZSTDv05_execSequence()
3245 *litPtr = litEnd; /* update for next sequence */ in ZSTDv05_execSequence()
3314 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTDv05_decompressSequences() local
3351 … oneSeqSize = ZSTDv05_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBase, dictEnd); in ZSTDv05_decompressSequences()
3362 size_t lastLLSize = litEnd - litPtr; in ZSTDv05_decompressSequences()
3363 … if (litPtr > litEnd) return ERROR(corruption_detected); /* too many literals already used */ in ZSTDv05_decompressSequences()
H A Dzstd_v06.c3448 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTDv06_decompressSequences() local
3491 …{ size_t const oneSeqSize = ZSTDv06_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBas… in ZSTDv06_decompressSequences()
3501 { size_t const lastLLSize = litEnd - litPtr; in ZSTDv06_decompressSequences()
3502 … if (litPtr > litEnd) return ERROR(corruption_detected); /* too many literals already used */ in ZSTDv06_decompressSequences()
H A Dzstd_v07.c3675 const BYTE* const litEnd = litPtr + dctx->litSize; in ZSTDv07_decompressSequences() local
3704 …size_t const oneSeqSize = ZSTDv07_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBase, d… in ZSTDv07_decompressSequences()
3716 { size_t const lastLLSize = litEnd - litPtr; in ZSTDv07_decompressSequences()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h442 BYTE const* const litEnd = literals + litLength; in ZSTD_storeSeq() local
456 if (litEnd <= litLimit_w) { in ZSTD_storeSeq()
466 ZSTD_safecopyLiterals(seqStorePtr->lit, literals, litEnd, litLimit_w); in ZSTD_storeSeq()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h606 BYTE const* const litEnd = literals + litLength; in ZSTD_storeSeq() local
620 if (litEnd <= litLimit_w) { in ZSTD_storeSeq()
630 ZSTD_safecopyLiterals(seqStorePtr->lit, literals, litEnd, litLimit_w); in ZSTD_storeSeq()
H A Dzstd_compress.c3402 BYTE* const litEnd = originalSeqStore->lit; in ZSTD_deriveSeqStoreChunk() local
3426 resultSeqStore->lit = litEnd; in ZSTD_deriveSeqStoreChunk()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c1551 const BYTE* const litEnd = litPtr + dctx->litSize; local
1592 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, prefixStart, vBas…
1615 { size_t const lastLLSize = litEnd - litPtr;