Lines Matching refs:nextOpt
1451 COptimal *curOpt, *nextOpt;
1600 nextOpt = &p->opt[(size_t)cur + 1];
1603 // here we can allow skip_items in p->opt, if we don't check (nextOpt->price < kInfinityPrice)
1605 if ((nextOpt->price < kInfinityPrice
1608 || litPrice > nextOpt->price
1618 if (litPrice < nextOpt->price)
1620 nextOpt->price = litPrice;
1621 nextOpt->len = 1;
1622 MakeAs_Lit(nextOpt)
1640 if (repMatchPrice < nextOpt->price) // 18.new
1643 // nextOpt->price >= kInfinityPrice ||
1644 nextOpt->len < 2 // we can check nextOpt->len, if skip items are not allowed in p->opt
1645 || (nextOpt->dist != 0
1646 // && nextOpt->extra <= 1 // 17.old
1651 // if (shortRepPrice <= nextOpt->price) // 17.old
1652 if (shortRepPrice < nextOpt->price) // 18.new
1654 nextOpt->price = shortRepPrice;
1655 nextOpt->len = 1;
1656 MakeAs_ShortRep(nextOpt)