Lines Matching refs:matchIndex
1269 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated() local
1270 assert(matchIndex <= current); in LZ4_compress_generic_validated()
1282 if (matchIndex < startIndex) in LZ4_compress_generic_validated()
1286 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1287 match = dictBase + matchIndex; in LZ4_compress_generic_validated()
1288 … matchIndex += dictDelta; /* make dictCtx index comparable with current context */ in LZ4_compress_generic_validated()
1293 match = base + matchIndex; in LZ4_compress_generic_validated()
1299 if (matchIndex < startIndex) in LZ4_compress_generic_validated()
1301 … DEBUGLOG(7, "extDict candidate: matchIndex=%5u < startIndex=%5u", matchIndex, startIndex); in LZ4_compress_generic_validated()
1302 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic_validated()
1303 match = dictBase + matchIndex; in LZ4_compress_generic_validated()
1308 match = base + matchIndex; in LZ4_compress_generic_validated()
1314 match = base + matchIndex; in LZ4_compress_generic_validated()
1319 DEBUGLOG(7, "candidate at pos=%u (offset=%u \n", matchIndex, current - matchIndex); in LZ4_compress_generic_validated()
1320 if ((dictIssue == dictSmall) && (matchIndex < prefixIdxLimit)) in LZ4_compress_generic_validated()
1324 assert(matchIndex < current); in LZ4_compress_generic_validated()
1325 …eType != byU16) || (LZ4_DISTANCE_MAX < LZ4_DISTANCE_ABSOLUTE_MAX)) && (matchIndex + LZ4_DISTANCE_M… in LZ4_compress_generic_validated()
1329 … assert((current - matchIndex) <= LZ4_DISTANCE_MAX); /* match now expected within distance */ in LZ4_compress_generic_validated()
1334 offset = current - matchIndex; in LZ4_compress_generic_validated()
1521 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated() local
1522 assert(matchIndex < current); in LZ4_compress_generic_validated()
1525 if (matchIndex < startIndex) in LZ4_compress_generic_validated()
1528 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1529 match = dictBase + matchIndex; in LZ4_compress_generic_validated()
1531 matchIndex += dictDelta; in LZ4_compress_generic_validated()
1535 match = base + matchIndex; in LZ4_compress_generic_validated()
1541 if (matchIndex < startIndex) in LZ4_compress_generic_validated()
1543 match = dictBase + matchIndex; in LZ4_compress_generic_validated()
1548 match = base + matchIndex; in LZ4_compress_generic_validated()
1554 match = base + matchIndex; in LZ4_compress_generic_validated()
1557 assert(matchIndex < current); in LZ4_compress_generic_validated()
1558 …tSmall) ? (matchIndex >= prefixIdxLimit) : 1) && (((tableType == byU16) && (LZ4_DISTANCE_MAX == LZ… in LZ4_compress_generic_validated()
1563 offset = current - matchIndex; in LZ4_compress_generic_validated()