Lines Matching refs:start2

331     const BYTE* start2 = NULL;  in LZ4HC_compress_hashChain()  local
355 …HC_InsertAndGetWiderMatch(ctx, ip + ml - 2, ip + 0, matchlimit, ml, &ref2, &start2, maxNbAttempts); in LZ4HC_compress_hashChain()
364 if (start2 < ip + ml0) { /* empirical */ in LZ4HC_compress_hashChain()
372 if ((start2 - ip) < 3) { /* First Match too small : removed */ in LZ4HC_compress_hashChain()
374 ip = start2; in LZ4HC_compress_hashChain()
385 if ((start2 - ip) < OPTIMAL_ML) { in LZ4HC_compress_hashChain()
389 if (ip+new_ml > start2 + ml2 - MINMATCH) new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_hashChain()
390 correction = new_ml - (int)(start2 - ip); in LZ4HC_compress_hashChain()
392 start2 += correction; in LZ4HC_compress_hashChain()
399 if (start2 + ml2 < mflimit) in LZ4HC_compress_hashChain()
400 …ml3 = LZ4HC_InsertAndGetWiderMatch(ctx, start2 + ml2 - 3, start2, matchlimit, ml2, &ref3, &start3,… in LZ4HC_compress_hashChain()
405 if (start2 < ip+ml) ml = (int)(start2 - ip); in LZ4HC_compress_hashChain()
408 ip = start2; in LZ4HC_compress_hashChain()
415 if (start2 < ip+ml) { in LZ4HC_compress_hashChain()
416 int correction = (int)(ip+ml - start2); in LZ4HC_compress_hashChain()
417 start2 += correction; in LZ4HC_compress_hashChain()
421 start2 = start3; in LZ4HC_compress_hashChain()
432 start0 = start2; in LZ4HC_compress_hashChain()
438 start2 = start3; in LZ4HC_compress_hashChain()
448 if (start2 < ip+ml) { in LZ4HC_compress_hashChain()
449 if ((start2 - ip) < (int)ML_MASK) { in LZ4HC_compress_hashChain()
452 if (ip + ml > start2 + ml2 - MINMATCH) ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_hashChain()
453 correction = ml - (int)(start2 - ip); in LZ4HC_compress_hashChain()
455 start2 += correction; in LZ4HC_compress_hashChain()
460 ml = (int)(start2 - ip); in LZ4HC_compress_hashChain()
465 ip = start2; in LZ4HC_compress_hashChain()
469 start2 = start3; in LZ4HC_compress_hashChain()