Home | History | Annotate | Download | only in zopfli

Lines Matching refs:bestlength

235   unsigned short bestlength = 1;
299 /* Testing the byte at position bestlength first, goes slightly faster. */
300 if (pos + bestlength >= size
301 || *(scan + bestlength) == *(match + bestlength)) {
317 if (currentlength > bestlength) {
320 for (j = bestlength + 1; j <= currentlength; j++) {
325 bestlength = currentlength;
333 if (hhead != h->head2 && bestlength >= h->same[hpos] &&
356 StoreInLongestMatchCache(s, pos, limit, sublen, bestdist, bestlength);
359 assert(bestlength <= limit);
362 *length = bestlength;