Home
last modified time | relevance | path

Searched refs:match_num (Results 1 – 1 of 1) sorted by relevance

/external/lz4/lib/
Dlz4opt.h220 size_t i, llen, litlen, mlen, best_mlen, price, offset, best_off, match_num, last_pos; in LZ4HC_compress_optimal() local
239match_num = LZ4HC_BinTree_GetAllMatches(ctx, ip, matchlimit, MINMATCH-1, matches, fullUpdate); in LZ4HC_compress_optimal()
240 if (!match_num) { ip++; continue; } in LZ4HC_compress_optimal()
242 if ((size_t)matches[match_num-1].len > sufficient_len) { in LZ4HC_compress_optimal()
243 best_mlen = matches[match_num-1].len; in LZ4HC_compress_optimal()
244 best_off = matches[match_num-1].off; in LZ4HC_compress_optimal()
251 for (i = 0; i < match_num; i++) { in LZ4HC_compress_optimal()
288match_num = LZ4HC_BinTree_GetAllMatches(ctx, inr, matchlimit, MINMATCH-1, matches, fullUpdate); in LZ4HC_compress_optimal()
289 if (match_num > 0 && (size_t)matches[match_num-1].len > sufficient_len) { in LZ4HC_compress_optimal()
290 best_mlen = matches[match_num-1].len; in LZ4HC_compress_optimal()
[all …]