price 165 lib/zstd/zstd_internal.h U32 price; price 103 lib/zstd/zstd_opt.h U32 price, u; price 115 lib/zstd/zstd_opt.h price = ssPtr->cachedPrice + additional * ssPtr->log2litSum; price 117 lib/zstd/zstd_opt.h price -= ZSTD_highbit32(ssPtr->litFreq[literals2[u]] + 1); price 118 lib/zstd/zstd_opt.h ssPtr->cachedPrice = price; price 121 lib/zstd/zstd_opt.h price = litLength * ssPtr->log2litSum; price 123 lib/zstd/zstd_opt.h price -= ZSTD_highbit32(ssPtr->litFreq[literals[u]] + 1); price 127 lib/zstd/zstd_opt.h ssPtr->cachedPrice = price; price 136 lib/zstd/zstd_opt.h price += LL_bits[llCode] + ssPtr->log2litLengthSum - ZSTD_highbit32(ssPtr->litLengthFreq[llCode] + 1); price 139 lib/zstd/zstd_opt.h return price; price 145 lib/zstd/zstd_opt.h U32 price; price 151 lib/zstd/zstd_opt.h price = offCode + seqStorePtr->log2offCodeSum - ZSTD_highbit32(seqStorePtr->offCodeFreq[offCode] + 1); price 153 lib/zstd/zstd_opt.h price += (offCode - 19) * 2; price 159 lib/zstd/zstd_opt.h price += ML_bits[mlCode] + seqStorePtr->log2matchLengthSum - ZSTD_highbit32(seqStorePtr->matchLengthFreq[mlCode] + 1); price 162 lib/zstd/zstd_opt.h return price + ZSTD_getLiteralPrice(seqStorePtr, litLength, literals) + seqStorePtr->factor; price 203 lib/zstd/zstd_opt.h opt[last_pos + 1].price = ZSTD_MAX_PRICE; \ price 209 lib/zstd/zstd_opt.h opt[pos].price = price_; \ price 440 lib/zstd/zstd_opt.h U32 cur, match_num, last_pos, litlen, price; price 463 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); price 464 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) price 465 lib/zstd/zstd_opt.h SET_PRICE(mlen, mlen, i, litlen, price); /* note : macro modifies last_pos */ price 493 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); price 494 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) price 495 lib/zstd/zstd_opt.h SET_PRICE(mlen, mlen, matches[u].off, litlen, price); /* note : macro modifies last_pos */ price 521 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - litlen); price 523 lib/zstd/zstd_opt.h price = ZSTD_getLiteralPrice(seqStorePtr, litlen, anchor); price 526 lib/zstd/zstd_opt.h price = opt[cur - 1].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - 1); price 529 lib/zstd/zstd_opt.h if (cur > last_pos || price <= opt[cur].price) price 530 lib/zstd/zstd_opt.h SET_PRICE(cur, 1, 0, litlen, price); price 574 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, inr - litlen, price 577 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); price 580 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra); price 583 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || price <= opt[cur + mlen].price) price 584 lib/zstd/zstd_opt.h SET_PRICE(cur + mlen, mlen, i, litlen, price); price 609 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, ip + cur - litlen, price 612 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); price 615 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, ultra); price 618 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || (price < opt[cur + mlen].price)) price 619 lib/zstd/zstd_opt.h SET_PRICE(cur + mlen, mlen, matches[u].off, litlen, price); price 738 lib/zstd/zstd_opt.h U32 cur, match_num, last_pos, litlen, price; price 771 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); price 772 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) price 773 lib/zstd/zstd_opt.h SET_PRICE(mlen, mlen, i, litlen, price); /* note : macro modifies last_pos */ price 810 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); price 811 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) price 812 lib/zstd/zstd_opt.h SET_PRICE(mlen, mlen, matches[u].off, litlen, price); price 829 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - litlen); price 831 lib/zstd/zstd_opt.h price = ZSTD_getLiteralPrice(seqStorePtr, litlen, anchor); price 834 lib/zstd/zstd_opt.h price = opt[cur - 1].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - 1); price 837 lib/zstd/zstd_opt.h if (cur > last_pos || price <= opt[cur].price) price 838 lib/zstd/zstd_opt.h SET_PRICE(cur, 1, 0, litlen, price); price 888 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, inr - litlen, price 891 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); price 894 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra); price 897 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || price <= opt[cur + mlen].price) price 898 lib/zstd/zstd_opt.h SET_PRICE(cur + mlen, mlen, i, litlen, price); price 923 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, ip + cur - litlen, price 926 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); price 929 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, ultra); price 932 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || (price < opt[cur + mlen].price)) price 933 lib/zstd/zstd_opt.h SET_PRICE(cur + mlen, mlen, matches[u].off, litlen, price);