Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c1313 int cur, last_match_pos = 0; in LZ4HC_compress_optimal() local
1353 last_match_pos = firstMatch.len; in LZ4HC_compress_optimal()
1356 opt[last_match_pos+addLit].mlen = 1; /* literal */ in LZ4HC_compress_optimal()
1357 opt[last_match_pos+addLit].off = 0; in LZ4HC_compress_optimal()
1358 opt[last_match_pos+addLit].litlen = addLit; in LZ4HC_compress_optimal()
1359 … opt[last_match_pos+addLit].price = opt[last_match_pos].price + LZ4HC_literalsPrice(addLit); in LZ4HC_compress_optimal()
1361 last_match_pos+addLit, opt[last_match_pos+addLit].price, addLit); in LZ4HC_compress_optimal()
1365 for (cur = 1; cur < last_match_pos; cur++) { in LZ4HC_compress_optimal()
1388 …newMatch = LZ4HC_FindLongerMatch(ctx, curPtr, matchlimit, last_match_pos - cur, nbSearches, dict, … in LZ4HC_compress_optimal()
1396 last_match_pos = cur + 1; in LZ4HC_compress_optimal()
[all …]