Lines Matching refs:cost
484 register COST cost; in base_cost() local
486 cost = LINE_COST; in base_cost()
493 cost -= SENTENCE_BONUS; in base_cost()
495 cost += NOBREAK_COST; in base_cost()
498 cost -= PUNCT_BONUS; in base_cost()
500 cost += WIDOW_COST ((this - 1)->length); in base_cost()
504 cost -= PAREN_BONUS; in base_cost()
506 cost += ORPHAN_COST (this->length); in base_cost()
508 return cost; in base_cost()
518 register COST cost; in line_cost() local
523 cost = SHORT_COST (n); in line_cost()
527 cost += RAGGED_COST (n); in line_cost()
529 return cost; in line_cost()