HomeSort by relevance Sort by last modified time
    Searched full:nextstate (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /external/jsilver/src/com/google/streamhtmlparser/impl/
GenericParser.java 108 InternalState nextState =
111 if (nextState == InternalState.INTERNAL_ERROR_STATE) {
121 if (currentState != nextState) {
122 nextState = handleExitState(currentState, nextState, input);
124 if (currentState != nextState) {
125 nextState = handleEnterState(nextState, nextState, input);
127 nextState = handleInState(nextState, input)
    [all...]
JavascriptParserImpl.java 109 InternalState nextState = expectedNextState;
111 nextState = enterStateJsSlash(currentState, input);
115 return nextState;
181 InternalState nextState = state;
193 nextState = JS_REGEXP_SLASH;
199 nextState = JS_REGEXP_SLASH;
223 nextState = JS_REGEXP_SLASH;
229 nextState = JS_REGEXP_SLASH;
233 return nextState;
  /external/openfst/src/include/fst/
arc.h 51 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
64 StateId nextstate; member in class:fst::ArcTpl
84 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
100 StateId nextstate; // Transition destination state member in class:fst::StringArc
116 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
120 weight(arc.olabel, arc.weight), nextstate(arc.nextstate) {}
134 StateId nextstate; // Transition destination state member in struct:fst::GallicArc
147 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
159 StateId nextstate; // Transition destination stat member in struct:fst::ReverseArc
183 StateId nextstate; \/\/ Transition destination state member in struct:fst::LexicographicArc
207 StateId nextstate; \/\/ Transition destination state member in struct:fst::ProductArc
239 StateId nextstate; \/\/ Transition destination state member in struct:fst::PowerArc
271 StateId nextstate; \/\/ Transition destination state member in struct:fst::SparsePowerArc
302 StateId nextstate; \/\/ Transition destination state member in struct:fst::ExpectationArc
    [all...]
prune.h 159 arc.nextstate < fdistance->size()
160 ? (*fdistance)[arc.nextstate]
163 arc.nextstate = dead[0];
167 if (less(Times(idistance[s], arc.weight), idistance[arc.nextstate]))
168 idistance[arc.nextstate] = Times(idistance[s], arc.weight);
169 if (visited[arc.nextstate]) continue;
173 if (enqueued[arc.nextstate] == kNoKey) {
174 enqueued[arc.nextstate] = heap.Insert(arc.nextstate);
177 heap.Update(enqueued[arc.nextstate], arc.nextstate)
    [all...]
equal.h 96 } else if (arc1.nextstate != arc2.nextstate) {
100 << ", nextstate1 = " << arc1.nextstate
101 << ", nextstate2 = " << arc2.nextstate;
dfs-visit.h 148 if (arc.nextstate >= state_color.size()) {
149 nstates = arc.nextstate + 1;
156 int next_color = state_color[arc.nextstate];
162 state_color[arc.nextstate] = kDfsGrey;
163 state_stack.push(new DfsState<Arc>(fst, arc.nextstate));
164 dfs = visitor->InitState(arc.nextstate, root);
connect.h 69 comps_->MakeSet(arc.nextstate);
70 comps_->Union(s, arc.nextstate);
75 comps_->Union(s, arc.nextstate);
80 comps_->Union(s, arc.nextstate);
147 StateId t = arc.nextstate;
154 if (arc.nextstate == start_) {
162 StateId t = arc.nextstate;
visit.h 138 if (arc.nextstate >= state_status.size()) {
139 nstates = arc.nextstate + 1;
146 if (state_status[arc.nextstate] == kWhiteState) {
149 visit = visitor->InitState(arc.nextstate, root);
150 state_status[arc.nextstate] = kGreyState;
151 queue->Enqueue(arc.nextstate);
152 } else if (state_status[arc.nextstate] == kBlackState) {
shortest-distance.h 184 while (distance_->size() <= arc.nextstate) {
190 while (sources_.size() <= arc.nextstate)
192 if (sources_[arc.nextstate] != source_id_) {
193 (*distance_)[arc.nextstate] = Weight::Zero();
194 rdistance_[arc.nextstate] = Weight::Zero();
195 enqueued_[arc.nextstate] = false;
196 sources_[arc.nextstate] = source_id_;
199 Weight &nd = (*distance_)[arc.nextstate];
200 Weight &nr = rdistance_[arc.nextstate];
209 if (!enqueued_[arc.nextstate]) {
    [all...]
rmfinalepsilon.h 58 if (coaccess[arc.nextstate]) {
79 if (finals.find(arc.nextstate) != finals.end()) {
82 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w);
arc-map.h 162 final_arc.nextstate = superfinal;
266 final_arc.nextstate = superfinal;
452 aarc.nextstate = FindOState(aarc.nextstate);
469 final_arc.nextstate = superfinal_;
725 // Mapper that leaves labels and nextstate unchanged and constructs a new weight
738 convert_weight_(arc.weight), arc.nextstate);
776 if (arc.nextstate == kNoStateId && arc.weight != AW::Zero())
779 else if (arc.nextstate == kNoStateId)
784 GW(SW::One(), arc.weight), arc.nextstate);
    [all...]
statesort.h 86 arc.nextstate = order[arc.nextstate];
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
arc.h 36 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
48 StateId nextstate; // Transition destination state member in struct:fst::StdArc
60 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
72 StateId nextstate; // Transition destination state member in struct:fst::LogArc
85 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
101 StateId nextstate; // Transition destination state member in class:fst::StringArc
117 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
121 weight(arc.olabel, arc.weight), nextstate(arc.nextstate) {}
135 StateId nextstate; // Transition destination stat member in struct:fst::GallicArc
160 StateId nextstate; \/\/ Transition destination state member in struct:fst::ReverseArc
    [all...]
arcsum.h 35 if (x.nextstate < y.nextstate) return true;
36 if (x.nextstate > y.nextstate) return false;
48 x.nextstate == y.nextstate);
prune.h 103 (*fdistance)[arc.nextstate]);
105 arc.nextstate = dead[0];
203 while (idistance->size() <= arc.nextstate)
205 while (fdistance->size() <= arc.nextstate)
207 while (copy.size() <= arc.nextstate)
211 (*fdistance)[arc.nextstate]);
214 if (copy[arc.nextstate] == kNoStateId)
215 copy[arc.nextstate] = ofst->AddState();
216 arc.nextstate = copy[arc.nextstate];
    [all...]
shortest-distance.h 147 while ((StateId)distance_->size() <= arc.nextstate) {
153 while ((StateId)sources_.size() <= arc.nextstate)
155 if (sources_[arc.nextstate] != source) {
156 (*distance_)[arc.nextstate] = Weight::Zero();
157 rdistance_[arc.nextstate] = Weight::Zero();
158 enqueued_[arc.nextstate] = false;
159 sources_[arc.nextstate] = source;
162 Weight &nd = (*distance_)[arc.nextstate];
163 Weight &nr = rdistance_[arc.nextstate];
168 if (!enqueued_[arc.nextstate]) {
    [all...]
equal.h 93 } else if (arc1.nextstate != arc2.nextstate) {
97 << ", nextstate1 = " << arc1.nextstate
98 << ", nextstate2 = " << arc2.nextstate;
replace.h 311 StateId nextstate = local
312 FindState(StateTuple(prefix_id, top.fst_id, top.nextstate));
313 AddArc(s, A(0, 0, fst->Final(fst_state), nextstate));
321 StateId nextstate = local
322 FindState(StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate));
323 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate));
332 tuple.fst_id, arc.nextstate);
344 StateId nextstate = local
346 StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate));
347 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate));
391 StateId nextstate; member in struct:fst::ReplaceFstImpl::PrefixTuple
    [all...]
rmfinalepsilon.h 52 if (coaccess[arc.nextstate]) {
73 if (finals.find(arc.nextstate) != finals.end()) {
76 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w);
shortest-path.h 116 while (distance->size() <= arc.nextstate) {
123 Weight &nd = (*distance)[arc.nextstate];
127 parent[arc.nextstate] = s;
128 arc_parent[arc.nextstate] = arc;
129 if (!enqueued[arc.nextstate]) {
130 state_queue->Enqueue(arc.nextstate);
131 enqueued[arc.nextstate] = true;
133 state_queue->Update(arc.nextstate);
158 arc_parent[d].nextstate = d_p;
311 Arc arc(rarc.ilabel, rarc.olabel, rarc.weight.Reverse(), rarc.nextstate);
    [all...]
statesort.h 77 arc.nextstate = order[arc.nextstate];
map.h 121 final_arc.nextstate = superfinal;
203 final_arc.nextstate = superfinal;
365 aarc.nextstate = FindOState(aarc.nextstate);
382 final_arc.nextstate = superfinal_;
656 return LogArc(arc.ilabel, arc.olabel, arc.weight.Value(), arc.nextstate);
671 return StdArc(arc.ilabel, arc.olabel, arc.weight.Value(), arc.nextstate);
692 if (arc.nextstate == kNoStateId && arc.weight != AW::Zero())
695 else if (arc.nextstate == kNoStateId)
700 GW(SW::One(), arc.weight), arc.nextstate);
    [all...]
dfs-visit.h 128 int next_color = state_color[arc.nextstate];
134 state_color[arc.nextstate] = kDfsGrey;
135 state_stack.push(new DfsState<Arc>(fst, arc.nextstate));
136 dfs = visitor->InitState(arc.nextstate, root);