Home | History | Annotate | Download | only in lib

Lines Matching refs:start2

353     const BYTE* start2=NULL;
382 ml2 = LZ4HC_InsertAndGetWiderMatch(ctx, ip + ml - 2, ip + 1, matchlimit, ml, &ref2, &start2, maxNbAttempts);
393 if (start2 < ip + ml0) /* empirical */
402 if ((start2 - ip) < 3) /* First Match too small : removed */
405 ip = start2;
416 if ((start2 - ip) < OPTIMAL_ML)
421 if (ip+new_ml > start2 + ml2 - MINMATCH) new_ml = (int)(start2 - ip) + ml2 - MINMATCH;
422 correction = new_ml - (int)(start2 - ip);
425 start2 += correction;
430 /* Now, we have start2 = ip+new_ml, with new_ml = min(ml, OPTIMAL_ML=18) */
432 if (start2 + ml2 < mflimit)
433 ml3 = LZ4HC_InsertAndGetWiderMatch(ctx, start2 + ml2 - 3, start2, matchlimit, ml2, &ref3, &start3, maxNbAttempts);
439 if (start2 < ip+ml) ml = (int)(start2 - ip);
442 ip = start2;
451 if (start2 < ip+ml)
453 int correction = (int)(ip+ml - start2);
454 start2 += correction;
459 start2 = start3;
470 start0 = start2;
476 start2 = start3;
486 if (start2 < ip+ml)
488 if ((start2 - ip) < (int)ML_MASK)
492 if (ip + ml > start2 + ml2 - MINMATCH) ml = (int)(start2 - ip) + ml2 - MINMATCH;
493 correction = ml - (int)(start2 - ip);
496 start2 += correction;
503 ml = (int)(start2 - ip);
508 ip = start2;
512 start2 = start3;