/external/antlr/tool/src/main/java/org/antlr/analysis/ |
D | MachineProbe.java | 50 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()
|
D | DecisionProbe.java | 302 if ( dfa==null || dfa.startState==null ) { in getSampleNonDeterministicInputSequence() 305 getSampleInputSequenceUsingStateSet(dfa.startState, in getSampleNonDeterministicInputSequence() 704 protected boolean reachesState(DFAState startState, in reachesState() argument 707 if ( startState==targetState ) { in reachesState() 710 stateReachable.put(startState.stateNumber, REACHABLE_YES); in reachesState() 714 DFAState s = startState; in reachesState() 750 if ( dfa==null || dfa.startState==null ) { in getDFAPathStatesToTarget() 753 boolean reaches = reachesState(dfa.startState, targetState, dfaStates); in getDFAPathStatesToTarget() 766 protected void getSampleInputSequenceUsingStateSet(State startState, in getSampleInputSequenceUsingStateSet() argument 771 statesVisitedDuringSampleSequence.add(startState.stateNumber); in getSampleInputSequenceUsingStateSet() [all …]
|
D | DFA.java | 68 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);
|
D | DFAOptimizer.java | 164 optimizeExitBranches(dfa.startState); in optimize() 173 optimizeEOTBranches(dfa.startState); in optimize()
|
D | LL1DFA.java | 55 startState = s0; in LL1DFA() 82 startState = s0; in LL1DFA()
|
D | NFAToDFAConverter.java | 80 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/icu/icu4c/source/common/ |
D | locdistance.cpp | 259 BytesTrie &iter, uint64_t startState, const char *desired, const char *supported) { in getDesSuppScriptDistance() argument 266 UStringTrieResult result = iter.resetToState64(startState).next(u'*'); // <*, *> in getDesSuppScriptDistance() 282 BytesTrie &iter, uint64_t startState, in getRegionPartitionsDistance() argument 300 return getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 321 d = getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 336 int32_t d = getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 345 iter.resetToState64(startState); in getRegionPartitionsDistance() 355 int32_t LocaleDistance::getFallbackRegionDistance(BytesTrie &iter, uint64_t startState) { in getFallbackRegionDistance() argument 359 iter.resetToState64(startState).next(u'*'); // <*, *> in getFallbackRegionDistance()
|
D | locdistance.h | 100 static int32_t getDesSuppScriptDistance(BytesTrie &iter, uint64_t startState, 104 BytesTrie &iter, uint64_t startState, 108 static int32_t getFallbackRegionDistance(BytesTrie &iter, uint64_t startState);
|
D | rbbitblb.cpp | 1467 for (int32_t startState = 1; startState < numStates; ++startState) { in buildSafeReverseTable() local 1468 …StateDescriptor *startStateD = static_cast<RBBIStateDescriptor *>(fDStates->elementAt(startState)); in buildSafeReverseTable() 1506 UnicodeString &startState = *static_cast<UnicodeString *>(fSafeTable->elementAt(1)); in buildSafeReverseTable() local 1509 startState.setCharAt(charClass, static_cast<char16_t>(charClass+2)); in buildSafeReverseTable() 1515 rowState = startState; // UnicodeString assignment, copies contents. in buildSafeReverseTable()
|
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | DOTGenerator.java | 67 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()
|
D | Grammar.java | 200 public NFAState startState; field in Grammar.Decision 1022 r.startState = ruleBeginState; in createRuleStartAndStopNFAStates() 1121 if ( dfa.startState==null ) { in createLookaheadDFAs() 1128 String result = serializer.serialize(dfa.startState); in createLookaheadDFAs() 1167 String enclosingRule = d.startState.enclosingRule.name; in createLL_1_LookaheadDFA() 1168 Rule r = d.startState.enclosingRule; in createLL_1_LookaheadDFA() 1342 String enclosingRule = d.startState.enclosingRule.name; in createLookaheadDFA() 1343 Rule r = d.startState.enclosingRule; in createLookaheadDFA() 2761 return r.startState; in getRuleStartState() 2819 states.add(dec.startState); in getDecisionNFAStartStateList() [all …]
|
D | GrammarSanity.java | 68 traceStatesLookingForLeftRecursion(r.startState, in checkAllRulesForLeftRecursion()
|
D | Interpreter.java | 398 DFAState s = dfa.startState; in predict()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LocaleDistance.java | 398 private static final int getDesSuppScriptDistance(BytesTrie iter, long startState, in getDesSuppScriptDistance() argument 406 BytesTrie.Result result = iter.resetToState64(startState).next('*'); // <*, *> in getDesSuppScriptDistance() 421 private static final int getRegionPartitionsDistance(BytesTrie iter, long startState, in getRegionPartitionsDistance() argument 434 return getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 454 d = getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 469 int d = getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 478 iter.resetToState64(startState); in getRegionPartitionsDistance() 486 private static final int getFallbackRegionDistance(BytesTrie iter, long startState) { in getFallbackRegionDistance() argument 487 BytesTrie.Result result = iter.resetToState64(startState).next('*'); // <*, *> in getFallbackRegionDistance()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | LocaleDistance.java | 403 private static final int getDesSuppScriptDistance(BytesTrie iter, long startState, in getDesSuppScriptDistance() argument 411 BytesTrie.Result result = iter.resetToState64(startState).next('*'); // <*, *> in getDesSuppScriptDistance() 426 private static final int getRegionPartitionsDistance(BytesTrie iter, long startState, in getRegionPartitionsDistance() argument 439 return getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 459 d = getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 474 int d = getFallbackRegionDistance(iter, startState); in getRegionPartitionsDistance() 483 iter.resetToState64(startState); in getRegionPartitionsDistance() 491 private static final int getFallbackRegionDistance(BytesTrie iter, long startState) { in getFallbackRegionDistance() argument 492 BytesTrie.Result result = iter.resetToState64(startState).next('*'); // <*, *> in getFallbackRegionDistance()
|
/external/icu/libicu/cts_headers/ |
D | locdistance.h | 100 static int32_t getDesSuppScriptDistance(BytesTrie &iter, uint64_t startState, 104 BytesTrie &iter, uint64_t startState, 108 static int32_t getFallbackRegionDistance(BytesTrie &iter, uint64_t startState);
|
/external/apache-commons-bcel/src/examples/Mini/ |
D | MiniParserTokenManager.java | 57 static private int jjMoveNfa_1(int startState, int curPos) in jjMoveNfa_1() argument 62 jjstateSet[0] = startState; in jjMoveNfa_1() 425 static private int jjMoveNfa_0(int startState, int curPos) in jjMoveNfa_0() argument 430 jjstateSet[0] = startState; in jjMoveNfa_0()
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | AutoEscaper.java | 106 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/antlr/tool/src/main/resources/org/antlr/tool/templates/dot/ |
D | dot.stg | 33 dfa(decisionRanks,states,edges,rankdir,startState,useBox) ::= << 42 nfa(decisionRanks,states,edges,rankdir,startState) ::= <<
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBITableBuilder.java | 1211 for (int startState = 1; startState < numStates; ++startState) { 1212 RBBIStateDescriptor startStateD = fDStates.get(startState); 1249 short[] startState = fSafeTable.get(1); 1252 startState[charClass] = (short)(charClass+2); 1258 System.arraycopy(startState, 0, fSafeTable.get(row), 0, startState.length);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBITableBuilder.java | 1212 for (int startState = 1; startState < numStates; ++startState) { 1213 RBBIStateDescriptor startStateD = fDStates.get(startState); 1250 short[] startState = fSafeTable.get(1); 1253 startState[charClass] = (short)(charClass+2); 1259 System.arraycopy(startState, 0, fSafeTable.get(row), 0, startState.length);
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestCharDFAConversion.java | 226 String result = serializer.serialize(dfa.startState); in testLoopsWithOptimizedOutExitBranches() 529 String result = serializer.serialize(dfa.startState); in checkDecision()
|
D | TestNFAConstruction.java | 1198 State startState = g.getRuleStartState(rule); in checkRule() local 1200 String result = serializer.serialize(startState); in checkRule()
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | ACyclicDFACodeGenerator.java | 48 return walkFixedDFAGeneratingStateMachine(templates, dfa, dfa.startState, 1); in genFixedLookaheadDecision()
|
/external/antlr/tool/src/main/java/org/antlr/ |
D | Tool.java | 697 String dot = dotGenerator.getDOT(dfa.startState); in generateDFAs() 719 String dot = dotGenerator.getDOT(r.startState); in generateNFAs()
|