Lines Matching refs:match

92     const BYTE* match;  in ZSTD_insertDUBT1()  local
123 match = mBase + matchIndex; in ZSTD_insertDUBT1()
124 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertDUBT1()
126 match = dictBase + matchIndex; in ZSTD_insertDUBT1()
127 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1()
129 match = base + matchIndex; /* preparation for next read of match[matchLength] */ in ZSTD_insertDUBT1()
139 if (match[matchLength] < ip[matchLength]) { /* necessarily within buffer */ in ZSTD_insertDUBT1()
203 const BYTE* match = dictBase + dictMatchIndex; in ZSTD_DUBT_findBetterDictMatch() local
204 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch()
206match = base + dictMatchIndex + dictIndexDelta; /* to prepare for next usage of match[matchLengt… in ZSTD_DUBT_findBetterDictMatch()
220 if (match[matchLength] < ip[matchLength]) { in ZSTD_DUBT_findBetterDictMatch()
328 const BYTE* match; in ZSTD_DUBT_findBestMatch() local
331 match = base + matchIndex; in ZSTD_DUBT_findBestMatch()
332 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_DUBT_findBestMatch()
334 match = dictBase + matchIndex; in ZSTD_DUBT_findBestMatch()
335 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBestMatch()
337match = base + matchIndex; /* to prepare for next usage of match[matchLength] */ in ZSTD_DUBT_findBestMatch()
355 if (match[matchLength] < ip[matchLength]) { in ZSTD_DUBT_findBestMatch()
558 const BYTE* match; in ZSTD_dedicatedDictSearch_lazy_search() local
560 match = ddsBase + matchIndex; in ZSTD_dedicatedDictSearch_lazy_search()
569 assert(match+4 <= ddsEnd); in ZSTD_dedicatedDictSearch_lazy_search()
570 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_dedicatedDictSearch_lazy_search()
572 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search()
600 const BYTE* match; in ZSTD_dedicatedDictSearch_lazy_search() local
602 match = ddsBase + matchIndex; in ZSTD_dedicatedDictSearch_lazy_search()
606 assert(match+4 <= ddsEnd); in ZSTD_dedicatedDictSearch_lazy_search()
607 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_dedicatedDictSearch_lazy_search()
609 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search()
712 const BYTE* const match = base + matchIndex; in ZSTD_HcFindBestMatch() local
715 if (MEM_read32(match + ml - 3) == MEM_read32(ip + ml - 3)) /* potentially better */ in ZSTD_HcFindBestMatch()
716 currentMl = ZSTD_count(ip, match, iLimit); in ZSTD_HcFindBestMatch()
718 const BYTE* const match = dictBase + matchIndex; in ZSTD_HcFindBestMatch() local
719 assert(match+4 <= dictEnd); in ZSTD_HcFindBestMatch()
720 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_HcFindBestMatch()
721 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, dictEnd, prefixStart) + 4; in ZSTD_HcFindBestMatch()
754 const BYTE* const match = dmsBase + matchIndex; in ZSTD_HcFindBestMatch() local
755 assert(match+4 <= dmsEnd); in ZSTD_HcFindBestMatch()
756 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_HcFindBestMatch()
757 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, dmsEnd, prefixStart) + 4; in ZSTD_HcFindBestMatch()
1262 const BYTE* const match = base + matchIndex; in ZSTD_RowFindBestMatch() local
1265 … if (MEM_read32(match + ml - 3) == MEM_read32(ip + ml - 3)) /* potentially better */ in ZSTD_RowFindBestMatch()
1266 currentMl = ZSTD_count(ip, match, iLimit); in ZSTD_RowFindBestMatch()
1268 const BYTE* const match = dictBase + matchIndex; in ZSTD_RowFindBestMatch() local
1269 assert(match+4 <= dictEnd); in ZSTD_RowFindBestMatch()
1270 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_RowFindBestMatch()
1271 … currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, dictEnd, prefixStart) + 4; in ZSTD_RowFindBestMatch()
1319 { const BYTE* const match = dmsBase + matchIndex; in ZSTD_RowFindBestMatch() local
1320 assert(match+4 <= dmsEnd); in ZSTD_RowFindBestMatch()
1321 if (MEM_read32(match) == MEM_read32(ip)) in ZSTD_RowFindBestMatch()
1322 … currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, dmsEnd, prefixStart) + 4; in ZSTD_RowFindBestMatch()
1716 …const BYTE* match = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : ba… in ZSTD_compressBlock_lazy_generic() local
1718 …while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLeng… in ZSTD_compressBlock_lazy_generic()
2090 … const BYTE* match = (matchIndex < dictLimit) ? dictBase + matchIndex : base + matchIndex; in ZSTD_compressBlock_lazy_extDict_generic() local
2092 …while ((start>anchor) && (match>mStart) && (start[-1] == match[-1])) { start--; match--; matchLeng… in ZSTD_compressBlock_lazy_extDict_generic()