| /linux-6.15/lib/zstd/decompress/ |
| H A D | zstd_decompress_block.c | 934 match = dictEnd - (prefixStart - match); in ZSTD_execSequenceEnd() 944 match = prefixStart; in ZSTD_execSequenceEnd() 993 match = prefixStart; in ZSTD_execSequenceEndSplitLitBuffer() 1066 match = prefixStart; in ZSTD_execSequence() 1072 assert(match >= prefixStart); in ZSTD_execSequence() 1159 match = prefixStart; in ZSTD_execSequenceSplitLitBuffer() 1164 assert(match >= prefixStart); in ZSTD_execSequenceSplitLitBuffer() 1416 const BYTE* const prefixStart = (const BYTE*) (dctx->prefixStart); in ZSTD_decompressSequences_bodySplitLitBuffer() local 1628 const BYTE* const prefixStart = (const BYTE*)(dctx->prefixStart); in ZSTD_decompressSequences_body() local 1747 const BYTE* const prefixStart = (const BYTE*) (dctx->prefixStart); in ZSTD_decompressSequencesLong_body() local [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-6.15/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() 603 while (((ip0 > anchor) & (match > prefixStart)) in ZSTD_compressBlock_fast_dictMatchState_generic() 727 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic() local 812 assert((match0 != prefixStart) & (match0 != dictStart)); in ZSTD_compressBlock_fast_extDict_generic() 903 const BYTE* const lowMatchPtr = idx < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
| H A D | zstd_lazy.c | 91 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1() local 182 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch() local 315 const BYTE* const prefixStart = base + dictLimit; in ZSTD_DUBT_findBestMatch() local 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 1157 const BYTE* const prefixStart = base + dictLimit; in ZSTD_RowFindBestMatch() local 1951 const BYTE* const prefixStart = base + dictLimit; in ZSTD_compressBlock_lazy_extDict_generic() local 1967 ip += (ip == prefixStart); in ZSTD_compressBlock_lazy_extDict_generic() [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 …]
|