Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c1188 int cur, last_match_pos = 0; in LZ4HC_compress_optimal() local
1228 last_match_pos = firstMatch.len; in LZ4HC_compress_optimal()
1231 opt[last_match_pos+addLit].mlen = 1; /* literal */ in LZ4HC_compress_optimal()
1232 opt[last_match_pos+addLit].off = 0; in LZ4HC_compress_optimal()
1233 opt[last_match_pos+addLit].litlen = addLit; in LZ4HC_compress_optimal()
1234 … opt[last_match_pos+addLit].price = opt[last_match_pos].price + LZ4HC_literalsPrice(addLit); in LZ4HC_compress_optimal()
1236 last_match_pos+addLit, opt[last_match_pos+addLit].price, addLit); in LZ4HC_compress_optimal()
1240 for (cur = 1; cur < last_match_pos; cur++) { in LZ4HC_compress_optimal()
1263 …newMatch = LZ4HC_FindLongerMatch(ctx, curPtr, matchlimit, last_match_pos - cur, nbSearches, dict, … in LZ4HC_compress_optimal()
1271 last_match_pos = cur + 1; in LZ4HC_compress_optimal()
[all …]