/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | arc.h | 36 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in StdArc() 48 StateId nextstate; // Transition destination state member 60 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in LogArc() 72 StateId nextstate; // Transition destination state member 85 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in StringArc() 101 StateId nextstate; // Transition destination state variable 117 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in GallicArc() 121 weight(arc.olabel, arc.weight), nextstate(arc.nextstate) {} in GallicArc() 135 StateId nextstate; // Transition destination state member 148 : ilabel(i), olabel(o), weight(w), nextstate(s) {} in ReverseArc() [all …]
|
D | shortest-distance.h | 147 while ((StateId)distance_->size() <= arc.nextstate) { in ShortestDistance() 153 while ((StateId)sources_.size() <= arc.nextstate) in ShortestDistance() 155 if (sources_[arc.nextstate] != source) { in ShortestDistance() 156 (*distance_)[arc.nextstate] = Weight::Zero(); in ShortestDistance() 157 rdistance_[arc.nextstate] = Weight::Zero(); in ShortestDistance() 158 enqueued_[arc.nextstate] = false; in ShortestDistance() 159 sources_[arc.nextstate] = source; in ShortestDistance() 162 Weight &nd = (*distance_)[arc.nextstate]; in ShortestDistance() 163 Weight &nr = rdistance_[arc.nextstate]; in ShortestDistance() 168 if (!enqueued_[arc.nextstate]) { in ShortestDistance() [all …]
|
D | arcsum.h | 35 if (x.nextstate < y.nextstate) return true; in operator() 36 if (x.nextstate > y.nextstate) return false; in operator() 48 x.nextstate == y.nextstate); in operator()
|
D | prune.h | 103 (*fdistance)[arc.nextstate]); in Prune() 105 arc.nextstate = dead[0]; in Prune() 203 while (idistance->size() <= arc.nextstate) in Prune() 205 while (fdistance->size() <= arc.nextstate) in Prune() 207 while (copy.size() <= arc.nextstate) in Prune() 211 (*fdistance)[arc.nextstate]); in Prune() 214 if (copy[arc.nextstate] == kNoStateId) in Prune() 215 copy[arc.nextstate] = ofst->AddState(); in Prune() 216 arc.nextstate = copy[arc.nextstate]; in Prune()
|
D | replace.h | 311 StateId nextstate = in Expand() local 312 FindState(StateTuple(prefix_id, top.fst_id, top.nextstate)); in Expand() 313 AddArc(s, A(0, 0, fst->Final(fst_state), nextstate)); in Expand() 321 StateId nextstate = in Expand() local 322 FindState(StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate)); in Expand() 323 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate)); in Expand() 332 tuple.fst_id, arc.nextstate); in Expand() 344 StateId nextstate = in Expand() local 346 StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate)); in Expand() 347 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate)); in Expand() [all …]
|
D | shortest-path.h | 116 while (distance->size() <= arc.nextstate) { in SingleShortestPath() 123 Weight &nd = (*distance)[arc.nextstate]; in SingleShortestPath() 127 parent[arc.nextstate] = s; in SingleShortestPath() 128 arc_parent[arc.nextstate] = arc; in SingleShortestPath() 129 if (!enqueued[arc.nextstate]) { in SingleShortestPath() 130 state_queue->Enqueue(arc.nextstate); in SingleShortestPath() 131 enqueued[arc.nextstate] = true; in SingleShortestPath() 133 state_queue->Update(arc.nextstate); in SingleShortestPath() 158 arc_parent[d].nextstate = d_p; in SingleShortestPath() 311 Arc arc(rarc.ilabel, rarc.olabel, rarc.weight.Reverse(), rarc.nextstate); in ShortestPath() [all …]
|
D | map.h | 121 final_arc.nextstate = superfinal; in Map() 203 final_arc.nextstate = superfinal; in Map() 365 aarc.nextstate = FindOState(aarc.nextstate); in Expand() 382 final_arc.nextstate = superfinal_; in Expand() 656 return LogArc(arc.ilabel, arc.olabel, arc.weight.Value(), arc.nextstate); in operator() 671 return StdArc(arc.ilabel, arc.olabel, arc.weight.Value(), arc.nextstate); in operator() 692 if (arc.nextstate == kNoStateId && arc.weight != AW::Zero()) in operator() 695 else if (arc.nextstate == kNoStateId) in operator() 700 GW(SW::One(), arc.weight), arc.nextstate); in operator() 704 GW(SW(arc.olabel), arc.weight), arc.nextstate); in operator() [all …]
|
D | equal.h | 93 } else if (arc1.nextstate != arc2.nextstate) { in Equal() 97 << ", nextstate1 = " << arc1.nextstate in Equal() 98 << ", nextstate2 = " << arc2.nextstate; in Equal()
|
D | dfs-visit.h | 128 int next_color = state_color[arc.nextstate]; in DfsVisit() 134 state_color[arc.nextstate] = kDfsGrey; in DfsVisit() 135 state_stack.push(new DfsState<Arc>(fst, arc.nextstate)); in DfsVisit() 136 dfs = visitor->InitState(arc.nextstate, root); in DfsVisit()
|
D | rmepsilon.h | 81 StateId nextstate; member 86 : ilabel(i), olabel(o), nextstate(s) {} in Element() 92 return static_cast<size_t>(e.nextstate); in operator() 93 return static_cast<size_t>(e.nextstate + in operator() 107 && (e1.nextstate == e2.nextstate); in operator() 158 while ((StateId)visited_.size() <= arc.nextstate) in Expand() 160 if (!visited_[arc.nextstate]) in Expand() 161 eps_queue_.push(arc.nextstate); in Expand() 163 Element element(arc.ilabel, arc.olabel, arc.nextstate); in Expand()
|
D | minimize.h | 87 if (partition_.class_id(arc1.nextstate) < in operator() 88 partition_.class_id(arc2.nextstate)) return true; in operator() 89 if (partition_.class_id(arc1.nextstate) > in operator() 90 partition_.class_id(arc2.nextstate)) return false; in operator() 241 StateId from_state = aiter->Value().nextstate - 1; in Split() 346 if (height_[arc.nextstate] + 1 > height_[s]) in ForwardOrCrossArc() 347 height_[s] = height_[arc.nextstate] + 1; in ForwardOrCrossArc() 459 arc.nextstate = state_map[partition.class_id(arc.nextstate)]; in MergeStates()
|
D | reweight.h | 67 (potential[arc.nextstate] == Weight::Zero())) in Reweight() 71 arc.weight = Divide(Times(arc.weight, potential[arc.nextstate]), in Reweight() 74 && (potential[arc.nextstate] != Weight::Zero())) in Reweight() 76 potential[arc.nextstate], DIVIDE_RIGHT); in Reweight()
|
D | rmfinalepsilon.h | 52 if (coaccess[arc.nextstate]) { in RmFinalEpsilon() 73 if (finals.find(arc.nextstate) != finals.end()) { in RmFinalEpsilon() 76 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w); in RmFinalEpsilon()
|
D | compose.h | 438 StateTuple tuple(arcb.nextstate, arca.nextstate, f); in AddArc() 439 arc.nextstate = FindState(tuple); in AddArc() 444 StateTuple tuple(arca.nextstate, arcb.nextstate, f); in AddArc() 445 arc.nextstate = FindState(tuple); in AddArc() 537 while (labela == kPhiLabel && sf != arca.nextstate) { in OrderedExpand() 538 sf = arca.nextstate; in OrderedExpand() 557 if (labela == kPhiLabel && sf == arca.nextstate) { in OrderedExpand()
|
D | connect.h | 105 StateId t = arc.nextstate; in BackArc() 112 if (arc.nextstate == start_) { in BackArc() 120 StateId t = arc.nextstate; in ForwardOrCrossArc()
|
D | statesort.h | 77 arc.nextstate = order[arc.nextstate]; in StateSort()
|
D | encode.h | 232 if ((arc.nextstate == kNoStateId && !(flags_ & kEncodeWeights)) || in operator() 233 (arc.nextstate == kNoStateId && (flags_ & kEncodeWeights) && in operator() 241 arc.nextstate); in operator() 244 if (arc.nextstate == kNoStateId) { in operator() 252 arc.nextstate);; in operator()
|
D | verify.h | 86 } else if (arc.nextstate < 0) { in Verify() 90 } else if (arc.nextstate >= ns) { in Verify()
|
D | randgen.h | 150 nopts.source = iarc.nextstate; in RandGen() 151 nopts.dest = oarc.nextstate; in RandGen()
|
D | equivalent.h | 197 arc_pairs[arc.ilabel].first = Util::MapState(arc.nextstate, FST1); in Equivalent() 209 arc_pairs[arc.ilabel].second = Util::MapState(arc.nextstate, FST2); in Equivalent()
|
D | test-properties.h | 174 if (arc.nextstate <= s) { in ComputeProperties() 178 if (arc.nextstate != s + 1) { in ComputeProperties()
|
D | vector-fst.h | 95 StateId t = newid[arcs[i].nextstate]; in DeleteStates() 97 arcs[i].nextstate = t; in DeleteStates() 267 if (arc.nextstate <= s) { in AddArc() 375 ReadType(strm, &arc.nextstate); in Read() 439 WriteType(strm, arc.nextstate); in Write()
|
/external/srec/tools/grxmlcompile/ |
D | fst-io.h | 115 PrintStateId(arc.nextstate); in PrintState() 249 arc.nextstate = d = StrToStateId(col[1]); in FstReader() 256 arc.nextstate = d = StrToStateId(col[1]); in FstReader() 268 arc.nextstate = d = StrToStateId(col[1]); in FstReader()
|
/external/webkit/WebKitTools/android/flex-2.5.4a/ |
D | tblcmp.c | 836 void stack1( statenum, sym, nextstate, deflink ) in stack1() argument 837 int statenum, sym, nextstate, deflink; in stack1() 840 mk1tbl( statenum, sym, nextstate, deflink ); 847 onenext[onesp] = nextstate;
|
/external/ppp/pppd/ |
D | fsm.c | 211 terminate_layer(f, nextstate) in terminate_layer() argument 213 int nextstate; 231 f->state = nextstate == CLOSING ? CLOSED : STOPPED; 240 f->state = nextstate;
|