/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress_block.c | 994 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 D | zstd_v01.c | 1764 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 D | zstd_v03.c | 2755 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 D | zstd_v02.c | 3114 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 D | zstd_v04.c | 2876 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 D | zstd_v05.c | 3234 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 D | zstd_v06.c | 3448 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 D | zstd_v07.c | 3675 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 D | zstd_compress_internal.h | 442 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 D | zstd_compress_internal.h | 606 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 D | zstd_compress.c | 3402 BYTE* const litEnd = originalSeqStore->lit; in ZSTD_deriveSeqStoreChunk() local 3426 resultSeqStore->lit = litEnd; in ZSTD_deriveSeqStoreChunk()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress_block.c | 1551 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;
|