Home
last modified time | relevance | path

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

/external/srec/srec/crec/
Dpriority_q.c193 costdata cost_to_add; in add_word_token_to_priority_q() local
200 cost_to_add = token_to_add->cost; in add_word_token_to_priority_q()
203 printf("WORDADD PQ tokenid %d cost %d\n", token_index_to_add, cost_to_add); in add_word_token_to_priority_q()
213 if (cost_to_add >= pq->max_cost_in_q && pq->num_in_q >= pq->max_in_q) in add_word_token_to_priority_q()
217 cost_to_add, pq->max_cost_in_q, pq->num_in_q); in add_word_token_to_priority_q()
238 if (token->cost < cost_to_add) in add_word_token_to_priority_q()
258 if (token->cost < cost_to_add && pplace_to_add == NULL) in add_word_token_to_priority_q()
274 pq->max_cost_in_q = cost_to_add; in add_word_token_to_priority_q()