Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.c1374 int cur, last_match_pos = 0; in LZ4HC_compress_optimal() local
1417 last_match_pos = firstMatch.len; in LZ4HC_compress_optimal()
1420 opt[last_match_pos+addLit].mlen = 1; /* literal */ in LZ4HC_compress_optimal()
1421 opt[last_match_pos+addLit].off = 0; in LZ4HC_compress_optimal()
1422 opt[last_match_pos+addLit].litlen = addLit; in LZ4HC_compress_optimal()
1423 … opt[last_match_pos+addLit].price = opt[last_match_pos].price + LZ4HC_literalsPrice(addLit); in LZ4HC_compress_optimal()
1425 last_match_pos+addLit, opt[last_match_pos+addLit].price, addLit); in LZ4HC_compress_optimal()
1429 for (cur = 1; cur < last_match_pos; cur++) { in LZ4HC_compress_optimal()
1452 …newMatch = LZ4HC_FindLongerMatch(ctx, curPtr, matchlimit, last_match_pos - cur, nbSearches, dict, … in LZ4HC_compress_optimal()
1460 last_match_pos = cur + 1; in LZ4HC_compress_optimal()
[all …]