• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/tre-0.8.0/lib/

Lines Matching refs:dest_id

534 		int dest_id = trans->state_id;
536 id, dest_id, cost0, reach_p->params.max_cost));
554 if (reach_next[dest_id].pos == pos
555 && (cost0 > reach_next[dest_id].costs[0][TRE_M_COST]
556 || (cost0 == reach_next[dest_id].costs[0][TRE_M_COST]
561 reach_next[dest_id].tags)))))
564 cost0, reach_next[dest_id].costs[0][TRE_M_COST]));
570 reach_next[dest_id].state = trans->state;
571 reach_next[dest_id].pos = pos;
573 reach_next[dest_id].tags[i] = tmp_tags[i];
575 reach_next[dest_id].params = reach_p->params;
577 tre_set_params(&reach_next[dest_id], trans->params,
580 reach_next[dest_id].depth = reach_p->depth;
581 memcpy(&reach_next[dest_id].costs,
585 reach_next[dest_id].costs[depth][TRE_M_COST] = cost;
586 reach_next[dest_id].costs[depth][TRE_M_NUM_DEL]++;
587 reach_next[dest_id].costs[depth][TRE_M_NUM_ERR]++;
590 reach_next[dest_id].costs[0][TRE_M_COST] = cost0;
591 reach_next[dest_id].costs[0][TRE_M_NUM_DEL]++;
592 reach_next[dest_id].costs[0][TRE_M_NUM_ERR]++;
605 memcpy(match_costs, reach_next[dest_id].costs[0],
612 *deque_end = &reach_next[dest_id];
666 int dest_id;
679 dest_id = trans->state_id;
721 id, dest_id, cost0));
725 id, dest_id, cost0));
737 if (reach_next[dest_id].pos == pos
738 && (cost0 > reach_next[dest_id].costs[0][TRE_M_COST]
739 || (cost0 == reach_next[dest_id].costs[0][TRE_M_COST]
742 reach_next[dest_id].tags))))
748 reach_next[dest_id].pos,
749 reach_next[dest_id].costs[0][TRE_M_COST]));
752 reach_next[dest_id].state = trans->state;
753 reach_next[dest_id].pos = pos;
755 reach_next[dest_id].tags[i] = tmp_tags[i];
756 reach_next[dest_id].depth = reach[id].depth;
759 reach_next[dest_id].params = reach[id].params;
761 tre_set_params(&reach_next[dest_id], trans->params,
765 memcpy(&reach_next[dest_id].costs,
769 reach_next[dest_id].costs[depth][TRE_M_COST] = cost;
770 reach_next[dest_id].costs[depth][TRE_M_NUM_SUBST] += err;
771 reach_next[dest_id].costs[depth][TRE_M_NUM_ERR] += err;
774 reach_next[dest_id].costs[0][TRE_M_COST] = cost0;
775 reach_next[dest_id].costs[0][TRE_M_NUM_SUBST] += err;
776 reach_next[dest_id].costs[0][TRE_M_NUM_ERR] += err;
789 match_costs[i] = reach_next[dest_id].costs[0][i];