Lines Matching refs:litlen
1098 int litlen; member
1102 LZ4_FORCE_INLINE int LZ4HC_literalsPrice(int const litlen) in LZ4HC_literalsPrice() argument
1104 int price = litlen; in LZ4HC_literalsPrice()
1105 if (litlen >= (int)RUN_MASK) in LZ4HC_literalsPrice()
1106 price += 1 + (litlen-RUN_MASK)/255; in LZ4HC_literalsPrice()
1112 LZ4_FORCE_INLINE int LZ4HC_sequencePrice(int litlen, int mlen) in LZ4HC_sequencePrice() argument
1116 price += LZ4HC_literalsPrice(litlen); in LZ4HC_sequencePrice()
1209 opt[rPos].litlen = llen + rPos; in LZ4HC_compress_optimal()
1212 rPos, cost, opt[rPos].litlen); in LZ4HC_compress_optimal()
1223 opt[mlen].litlen = llen; in LZ4HC_compress_optimal()
1233 opt[last_match_pos+addLit].litlen = addLit; in LZ4HC_compress_optimal()
1276 { int const baseLitlen = opt[cur].litlen; in LZ4HC_compress_optimal()
1277 int litlen; in LZ4HC_compress_optimal() local
1278 for (litlen = 1; litlen < MINMATCH; litlen++) { in LZ4HC_compress_optimal()
1279 … price = opt[cur].price - LZ4HC_literalsPrice(baseLitlen) + LZ4HC_literalsPrice(baseLitlen+litlen); in LZ4HC_compress_optimal()
1280 int const pos = cur + litlen; in LZ4HC_compress_optimal()
1284 opt[pos].litlen = baseLitlen+litlen; in LZ4HC_compress_optimal()
1287 pos, price, opt[pos].litlen); in LZ4HC_compress_optimal()
1303 ll = opt[cur].litlen; in LZ4HC_compress_optimal()
1322 opt[pos].litlen = ll; in LZ4HC_compress_optimal()
1330 opt[last_match_pos+addLit].litlen = addLit; in LZ4HC_compress_optimal()