Home
last modified time | relevance | path

Searched refs:startState (Results 1 – 25 of 52) sorted by relevance

123

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DMachineProbe.java50 return getAnyDFAPathToTarget(dfa.startState, targetState, visited); in getAnyDFAPathToTarget()
53 public List<DFAState> getAnyDFAPathToTarget(DFAState startState, in getAnyDFAPathToTarget() argument
56 visited.add(startState); in getAnyDFAPathToTarget()
57 if (startState.equals(targetState)) { in getAnyDFAPathToTarget()
63 for (int i = 0; i < startState.getNumberOfTransitions(); i++) { in getAnyDFAPathToTarget()
64 Transition e = startState.getTransition(i); in getAnyDFAPathToTarget()
69 dfaStates.add(startState); in getAnyDFAPathToTarget()
DDecisionProbe.java305 if ( dfa==null || dfa.startState==null ) { in getSampleNonDeterministicInputSequence()
308 getSampleInputSequenceUsingStateSet(dfa.startState, in getSampleNonDeterministicInputSequence()
710 protected boolean reachesState(DFAState startState, in reachesState() argument
713 if ( startState==targetState ) { in reachesState()
716 stateReachable.put(startState.stateNumber, REACHABLE_YES); in reachesState()
720 DFAState s = startState; in reachesState()
756 if ( dfa==null || dfa.startState==null ) { in getDFAPathStatesToTarget()
759 boolean reaches = reachesState(dfa.startState, targetState, dfaStates); in getDFAPathStatesToTarget()
772 protected void getSampleInputSequenceUsingStateSet(State startState, in getSampleInputSequenceUsingStateSet() argument
777 statesVisitedDuringSampleSequence.add(startState.stateNumber); in getSampleInputSequenceUsingStateSet()
[all …]
DDFA.java68 public DFAState startState; field in DFA
751 NFAState TokensRuleStart = r.startState;
782 return _getMaxLookaheadDepth(startState, 0);
817 boolean has = _hasSynPred(startState, new HashSet<DFAState>());
849 boolean has = _hasSemPred(startState, new HashSet<DFAState>());
870 boolean cyclic = _hasCycle(startState, new HashMap<DFAState, Integer>());
910 doesStateReachAcceptState(startState);
1107 if ( startState==null ) {
1110 return serializer.serialize(startState, false);
DDFAOptimizer.java164 optimizeExitBranches(dfa.startState); in optimize()
173 optimizeEOTBranches(dfa.startState); in optimize()
DLL1DFA.java53 startState = s0; in LL1DFA()
79 startState = s0; in LL1DFA()
DNFAToDFAConverter.java80 dfa.startState = computeStartState(); in convert()
141 DFAState startState = dfa.newState(); in computeStartState() local
163 startState, in computeStartState() local
173 startState, in computeStartState() local
190 dfa.addState(startState); // make sure dfa knows about this state in computeStartState()
191 work.add(startState); in computeStartState()
193 return startState; in computeStartState()
/external/svox/pico/lib/
Dpicokfst.c342 extern void picokfst_kfstGetTrans (picokfst_FST this, picokfst_state_t startState, picokfst_class_t… in picokfst_kfstGetTrans() argument
351 …if ((startState < 1) || (startState > fst->nrStates) || (transClass < 1) || (transClass > fst->nrC… in picokfst_kfstGetTrans()
354 index = (startState - 1) * fst->nrClasses + transClass - 1; in picokfst_kfstGetTrans()
363 extern void picokfst_kfstStartInEpsTransSearch (picokfst_FST this, picokfst_state_t startState, in picokfst_kfstStartInEpsTransSearch() argument
373 if ((startState > 0) && (startState <= fst->nrStates)) { in picokfst_kfstStartInEpsTransSearch()
374 pos = fst->inEpsStateTabPos + (startState - 1) * 4; in picokfst_kfstStartInEpsTransSearch()
Dpicokfst.h135 void picokfst_kfstGetTrans (picokfst_FST this, picokfst_state_t startState, picokfst_class_t transC…
144 void picokfst_kfstStartInEpsTransSearch (picokfst_FST this, picokfst_state_t startState,
/external/chromium_org/ui/native_theme/
Dnative_theme_aura.cc212 State startState, in PaintScrollbarThumbStateTransition() argument
229 startState, in PaintScrollbarThumbStateTransition()
299 State startState, in PaintDualPainterTransition() argument
304 uint8 fill_alpha = dual_painter->fill_alphas[startState] + in PaintDualPainterTransition()
306 dual_painter->fill_alphas[startState]) * in PaintDualPainterTransition()
308 uint8 stroke_alpha = dual_painter->stroke_alphas[startState] + in PaintDualPainterTransition()
310 dual_painter->stroke_alphas[startState]) * in PaintDualPainterTransition()
Dnative_theme_aura.h56 State startState,
118 State startState,
Dnative_theme_base.h38 State startState,
139 State startState, in PaintScrollbarThumbStateTransition() argument
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DDOTGenerator.java67 public String getDOT(State startState) { in getDOT() argument
68 if ( startState==null ) { in getDOT()
74 if ( startState instanceof DFAState ) { in getDOT()
77 Utils.integer(startState.stateNumber)); in getDOT()
80 walkCreatingDFADOT(dot, (DFAState)startState); in getDOT()
85 Utils.integer(startState.stateNumber)); in getDOT()
86 walkRuleNFACreatingDOT(dot, startState); in getDOT()
DGrammar.java157 public NFAState startState; field in Grammar.Decision
981 r.startState = ruleBeginState; in createRuleStartAndStopNFAStates()
1080 if ( dfa.startState==null ) { in createLookaheadDFAs()
1087 String result = serializer.serialize(dfa.startState); in createLookaheadDFAs()
1126 String enclosingRule = d.startState.enclosingRule.name; in createLL_1_LookaheadDFA()
1127 Rule r = d.startState.enclosingRule; in createLL_1_LookaheadDFA()
1301 String enclosingRule = d.startState.enclosingRule.name; in createLookaheadDFA()
1302 Rule r = d.startState.enclosingRule; in createLookaheadDFA()
2717 return r.startState; in getRuleStartState()
2775 states.add(dec.startState); in getDecisionNFAStartStateList()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dhtmlembedded.js45 startState: function() {
50 htmlState : CodeMirror.startState(htmlMixedMode),
51 scriptState : CodeMirror.startState(scriptingMode)
Doverlay.js25 startState: function() {
27 base: CodeMirror.startState(base),
28 overlay: CodeMirror.startState(overlay),
Dheadlesscodemirror.js75 CodeMirror.startState = function (mode, a1, a2) { function
76 return mode.startState ? mode.startState(a1, a2) : true;
144 var lines = splitLines(string), state = (options && options.state) || CodeMirror.startState(mode);
Dphp.js195 startState: function() { method
196 var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);
Dshell.js128 startState: function() {return {tokens:[]};},
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DAutoEscaper.java106 AutoEscapeContext.AutoEscapeState startState = autoEscapeContext.getCurrentState(); in caseStart() local
112 if (!autoEscapeContext.isPermittedStateChangeForIncludes(startState, endState)) { in caseStart()
124 throw new JSilverAutoEscapingException("Template starts in context " + startState in caseStart()
/external/chromium_org/content/child/
Dwebthemeengine_impl_default.h24 blink::WebThemeEngine::State startState,
Dwebthemeengine_impl_default.cc189 WebThemeEngine::State startState, in paintStateTransition() argument
196 NativeThemeState(startState), in paintStateTransition()
/external/chromium_org/mojo/services/html_viewer/
Dwebthemeengine_impl.h24 blink::WebThemeEngine::State startState,
Dwebthemeengine_impl.cc189 WebThemeEngine::State startState, in paintStateTransition() argument
196 NativeThemeState(startState), in paintStateTransition()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/
Ddot.stg33 dfa(decisionRanks,states,edges,rankdir,startState,useBox) ::= <<
42 nfa(decisionRanks,states,edges,rankdir,startState) ::= <<
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestCharDFAConversion.java224 String result = serializer.serialize(dfa.startState); in testLoopsWithOptimizedOutExitBranches()
527 String result = serializer.serialize(dfa.startState); in checkDecision()

123