| /linux/lib/zstd/decompress/ |
| H A D | zstd_decompress_block.c | 911 const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) in ZSTD_execSequenceEnd() argument 931 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEnd() 934 match = dictEnd - (prefixStart - match); in ZSTD_execSequenceEnd() 944 match = prefixStart; in ZSTD_execSequenceEnd() 959 const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) in ZSTD_execSequenceEndSplitLitBuffer() argument 980 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEndSplitLitBuffer() 983 match = dictEnd - (prefixStart - match); in ZSTD_execSequenceEndSplitLitBuffer() 993 match = prefixStart; in ZSTD_execSequenceEndSplitLitBuffer() 1005 const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) in ZSTD_execSequence() argument 1030 …return ZSTD_execSequenceEnd(op, oend, sequence, litPtr, litLimit, prefixStart, virtualStart, dictE… in ZSTD_execSequence() [all …]
|
| H A D | zstd_ddict.c | 62 dctx->prefixStart = ddict->dictContent; in ZSTD_copyDDictParameters() 67 dctx->dictContentBeginForFuzzing = dctx->prefixStart; in ZSTD_copyDDictParameters()
|
| H A D | zstd_decompress_internal.h | 136 const void* prefixStart; /* start of current segment */ member
|
| H A D | zstd_decompress.c | 1364 …art = (const char*)dict - ((const char*)(dctx->previousDstEnd) - (const char*)(dctx->prefixStart)); in ZSTD_refDictContent() 1365 dctx->prefixStart = dict; in ZSTD_refDictContent() 1368 dctx->dictContentBeginForFuzzing = dctx->prefixStart; in ZSTD_refDictContent() 1494 dctx->prefixStart = NULL; in ZSTD_decompressBegin()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_fast.c | 204 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_noDict_generic() local 237 ip0 += (ip0 == prefixStart); in ZSTD_compressBlock_fast_noDict_generic() 386 while (((ip0>anchor) & (match0>prefixStart)) && (ip0[-1] == match0[-1])) { in ZSTD_compressBlock_fast_noDict_generic() 497 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic() local 510 const U32 dictAndPrefixLength = (U32)(istart - prefixStart + dictEnd - dictStart); in ZSTD_compressBlock_fast_dictMatchState_generic() 569 … mLength = ZSTD_count_2segments(ip0 + 1 + 4, repMatch + 4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic() 584 … mLength = ZSTD_count_2segments(ip0 + 4, dictMatch + 4, iend, dictEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic() 603 while (((ip0 > anchor) & (match > prefixStart)) in ZSTD_compressBlock_fast_dictMatchState_generic() 653 …size_t const repLength2 = ZSTD_count_2segments(ip0+4, repMatch2+4, iend, repEnd2, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic() 727 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic() local [all …]
|
| H A D | zstd_lazy.c | 91 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1() local 127 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1() 182 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch() local 204 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch() 315 const BYTE* const prefixStart = base + dictLimit; in ZSTD_DUBT_findBestMatch() local 335 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBestMatch() 533 const BYTE* const prefixStart, const U32 curr, in ZSTD_dedicatedDictSearch_lazy_search() argument 572 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 609 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search() 681 const BYTE* const prefixStart = base + dictLimit; in ZSTD_HcFindBestMatch() local [all …]
|
| H A D | zstd_double_fast.c | 632 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local 667 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic() 673 … const BYTE* const lowMatchPtr = matchLongIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic() 675 mLength = ZSTD_count_2segments(ip+8, matchLong+8, iend, matchEnd, prefixStart) + 8; in ZSTD_compressBlock_doubleFast_extDict_generic() 691 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic() 692 mLength = ZSTD_count_2segments(ip+9, match3+8, iend, matchEnd, prefixStart) + 8; in ZSTD_compressBlock_doubleFast_extDict_generic() 698 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic() 699 mLength = ZSTD_count_2segments(ip+4, match+4, iend, matchEnd, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic() 735 … size_t const repLength2 = ZSTD_count_2segments(ip+4, repMatch2+4, iend, repEnd2, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
| H A D | zstd_opt.c | 462 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1() local 522 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertBt1() 618 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBtAndGetAllMatches() local 670 …(U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) + minMatch; in ZSTD_insertBtAndGetAllMatches() 676 … (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + minMatch; in ZSTD_insertBtAndGetAllMatches() 702 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 739 …tchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 787 …atchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dmsEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 1092 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_compressBlock_opt_generic() local 1117 ip += (ip==prefixStart); in ZSTD_compressBlock_opt_generic() [all …]
|