Lines Matching defs:dest_id
531 int dest_id = trans->state_id;
533 id, dest_id, cost0, reach_p->params.max_cost));
551 if (reach_next[dest_id].pos == pos
552 && (cost0 > reach_next[dest_id].costs[0][TRE_M_COST]
553 || (cost0 == reach_next[dest_id].costs[0][TRE_M_COST]
558 reach_next[dest_id].tags)))))
561 cost0, reach_next[dest_id].costs[0][TRE_M_COST]));
567 reach_next[dest_id].state = trans->state;
568 reach_next[dest_id].pos = pos;
570 reach_next[dest_id].tags[i] = tmp_tags[i];
572 reach_next[dest_id].params = reach_p->params;
574 tre_set_params(&reach_next[dest_id], trans->params,
577 reach_next[dest_id].depth = reach_p->depth;
578 memcpy(&reach_next[dest_id].costs,
582 reach_next[dest_id].costs[depth][TRE_M_COST] = cost;
583 reach_next[dest_id].costs[depth][TRE_M_NUM_DEL]++;
584 reach_next[dest_id].costs[depth][TRE_M_NUM_ERR]++;
587 reach_next[dest_id].costs[0][TRE_M_COST] = cost0;
588 reach_next[dest_id].costs[0][TRE_M_NUM_DEL]++;
589 reach_next[dest_id].costs[0][TRE_M_NUM_ERR]++;
602 memcpy(match_costs, reach_next[dest_id].costs[0],
609 *deque_end = &reach_next[dest_id];
663 int dest_id;
676 dest_id = trans->state_id;
718 id, dest_id, cost0));
722 id, dest_id, cost0));
734 if (reach_next[dest_id].pos == pos
735 && (cost0 > reach_next[dest_id].costs[0][TRE_M_COST]
736 || (cost0 == reach_next[dest_id].costs[0][TRE_M_COST]
739 reach_next[dest_id].tags))))
745 reach_next[dest_id].pos,
746 reach_next[dest_id].costs[0][TRE_M_COST]));
749 reach_next[dest_id].state = trans->state;
750 reach_next[dest_id].pos = pos;
752 reach_next[dest_id].tags[i] = tmp_tags[i];
753 reach_next[dest_id].depth = reach[id].depth;
756 reach_next[dest_id].params = reach[id].params;
758 tre_set_params(&reach_next[dest_id], trans->params,
762 memcpy(&reach_next[dest_id].costs,
766 reach_next[dest_id].costs[depth][TRE_M_COST] = cost;
767 reach_next[dest_id].costs[depth][TRE_M_NUM_SUBST] += err;
768 reach_next[dest_id].costs[depth][TRE_M_NUM_ERR] += err;
771 reach_next[dest_id].costs[0][TRE_M_COST] = cost0;
772 reach_next[dest_id].costs[0][TRE_M_NUM_SUBST] += err;
773 reach_next[dest_id].costs[0][TRE_M_NUM_ERR] += err;
786 match_costs[i] = reach_next[dest_id].costs[0][i];