/external/kernel-headers/original/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 38 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ argument 39 && (nfa)->nfa_len <= (len)) 40 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ argument 41 (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len))) 44 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0))) argument 45 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0)) argument
|
/external/libpcap/ |
D | pcap-netfilter-linux.c | 271 struct nfattr *nfa = (struct nfattr *) (buf + NLMSG_ALIGN(nlh->nlmsg_len)); in netfilter_send_config_msg() local 273 nfa->nfa_type = mynfa->nfa_type; in netfilter_send_config_msg() 274 nfa->nfa_len = NFA_LENGTH(mynfa->nfa_len); in netfilter_send_config_msg() 275 memcpy(NFA_DATA(nfa), mynfa->data, mynfa->nfa_len); in netfilter_send_config_msg() 276 nlh->nlmsg_len = NLMSG_ALIGN(nlh->nlmsg_len) + NFA_ALIGN(nfa->nfa_len); in netfilter_send_config_msg() 336 struct my_nfattr nfa; in nflog_send_config_cmd() local 340 nfa.data = &msg; in nflog_send_config_cmd() 341 nfa.nfa_type = NFULA_CFG_CMD; in nflog_send_config_cmd() 342 nfa.nfa_len = sizeof(msg); in nflog_send_config_cmd() 344 return nflog_send_config_msg(handle, family, group_id, &nfa); in nflog_send_config_cmd() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Interpreter.java | 222 actions.enterRule(s.nfa.grammar.getFileName(), start.enclosingRule.name); in parseEngine() 234 if ( s.getDecisionNumber()>0 && s.nfa.grammar.getNumberOfAltsForDecisionNFA(s)>1 ) { in parseEngine() 236 DFA dfa = s.nfa.grammar.getLookaheadDFA(s.getDecisionNumber()); in parseEngine() 269 if ( parseAlt > s.nfa.grammar.getNumberOfAltsForDecisionNFA(s) ) { in parseEngine() 271 alt = s.nfa.grammar.nfa.getState( s.endOfBlockStateNumber ); in parseEngine() 274 alt = s.nfa.grammar.getNFAStateForAltOfDecision(s, parseAlt); in parseEngine() 283 actions.exitRule(s.nfa.grammar.getFileName(), s.enclosingRule.name); in parseEngine() 319 actions.enterRule(s.nfa.grammar.getFileName(), s.enclosingRule.name); in parseEngine() 322 if ( !s.nfa.grammar.allDecisionDFAHaveBeenCreated() ) { in parseEngine() 323 s.nfa.grammar.createLookaheadDFAs(); in parseEngine() [all …]
|
D | NFAFactory.java | 50 NFA nfa = null; field in NFAFactory 62 public NFAFactory(NFA nfa) { in NFAFactory() argument 63 nfa.setFactory(this); in NFAFactory() 64 this.nfa = nfa; in NFAFactory() 68 NFAState n = new NFAState(nfa); in newState() 69 int state = nfa.getNewNFAStateNumber(); in newState() 71 nfa.addState(n); in newState() 89 s = nfa.getState(s.endOfBlockStateNumber); in optimizeAlternative() 129 int tokenType = nfa.grammar.getTokenType(atomAST.getText()); in build_Atom() 198 if ( nfa.grammar.type==Grammar.LEXER ) { in build_StringLiteralAtom() [all …]
|
D | GrammarUnreachableAltsMessage.java | 59 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString() 74 probe.dfa.nfa.grammar.getRuleStartState(tokenName); in toString()
|
D | GrammarNonDeterminismMessage.java | 63 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString() 82 probe.dfa.nfa.grammar.getRuleStartState(tokenName); in toString()
|
D | Grammar.java | 296 public NFA nfa; field in Grammar 968 if ( nfa!=null ) { in createRuleStartAndStopNFAStates() 971 nfa = new NFA(this); in createRuleStartAndStopNFAStates() 972 factory = new NFAFactory(nfa); in createRuleStartAndStopNFAStates() 991 if ( nfa==null ) { in buildNFA() 994 if ( nfa.complete ) { in buildNFA() 1004 TreeToNFAConverter nfaBuilder = new TreeToNFAConverter(input, this, nfa, factory); in buildNFA() 1013 nfa.complete = true; in buildNFA() 1032 if ( nfa==null ) { in createLookaheadDFAs() 1086 FASerializer serializer = new FASerializer(nfa.grammar); in createLookaheadDFAs() [all …]
|
D | GrammarAnalysisAbortedMessage.java | 48 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString()
|
D | NonRegularDecisionMessage.java | 53 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString()
|
D | GrammarDanglingStateMessage.java | 57 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString()
|
D | RecursionOverflowMessage.java | 65 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString()
|
D | GrammarInsufficientPredicatesMessage.java | 57 String fileName = probe.dfa.nfa.grammar.getFileName(); in toString()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
D | LL1DFA.java | 54 nfa = decisionStartState.nfa; in LL1DFA() 55 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA() 80 nfa = decisionStartState.nfa; in LL1DFA() 81 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA() 158 nfa.grammar.getNFAStateForAltOfDecision(decisionStartState, walkAlt); in getSynPredForAlt() 171 nfa.grammar.synPredUsedInDFA(this, ctx); in getSynPredForAlt()
|
D | NFAState.java | 57 public NFA nfa = null; field in NFAState 108 public NFAState(NFA nfa) { in NFAState() argument 109 this.nfa = nfa; in NFAState() 195 int nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(nfaStart); in translateDisplayAltToWalkAlt()
|
D | DFA.java | 154 public NFA nfa; field in DFA 229 nfa = decisionStartState.nfa; in DFA() 230 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in DFA() 654 Interpreter interp = new Interpreter(nfa.grammar, input); 734 !nfa.grammar.decisionsWhoseDFAsUsesSemPreds.contains(this) && 735 !nfa.grammar.decisionsWhoseDFAsUsesSynPreds.contains(this); 746 if ( nfa.grammar.type!=Grammar.LEXER ) { 750 Rule r = nfa.grammar.getLocallyDefinedRule(Grammar.ARTIFICIAL_TOKENS_RULENAME); 765 user_k = nfa.grammar.getUserMaxLookahead(decisionNumber); 770 return nfa.grammar.getAutoBacktrackMode(decisionNumber); [all …]
|
D | DecisionProbe.java | 320 Grammar g = dfa.nfa.grammar; in getInputSequenceDisplay() 368 dfa.nfa.grammar.getNFAStateForAltOfDecision(nfaStart,a); in getNFAPathStatesForAlt() 373 NFAState altStart = dfa.nfa.grammar.getNFAStateForAltOfDecision(nfaStart,alt); in getNFAPathStatesForAlt() 430 while ( it.hasNext() && !dfa.nfa.grammar.NFAToDFAConversionExternallyAborted() ) { in issueWarnings() 447 d.dfa.nfa.grammar.getDecisionBlockAST(d.dfa.decisionNumber); in issueWarnings() 481 dfa.nfa.grammar, in issueWarnings() 483 dfa.nfa.grammar.name, in issueWarnings() 507 dfa.nfa.grammar.getDecisionBlockAST(dfa.decisionNumber); in stripWildCardAlts() 576 NFAState ruleInvocationState = dfa.nfa.getState(c.state); in computeAltToProblemMaps() 638 dfa.nfa.grammar.numNonLLStar++; in reportNonLLStarDecision() [all …]
|
D | NFAToDFAConverter.java | 84 !dfa.nfa.grammar.NFAToDFAConversionExternallyAborted() ) in convert() 87 if ( dfa.nfa.grammar.composite.watchNFAConversion ) { in convert() 156 int numAltsIncludingExitBranch = dfa.nfa.grammar in computeStartState() 278 label.toString(dfa.nfa.grammar)+"->"+t); in findNewDFAStatesAndAddDFATransitions() 477 closure(dfa.nfa.getState(c.state), in closure() 739 dfa.nfa.grammar.getNFAStateForAltOfDecision(dfa.decisionNFAStartState,walkAlt); in closure() 863 NFAState p = dfa.nfa.getState(c.state); in reach() 923 NFAState p = dfa.nfa.getState(c.state); in convertToEOTAcceptState() 1184 NFAState anyState = dfa.nfa.getState(anyConfig.state); in resolveNonDeterminisms() 1452 dfa.nfa.grammar.synPredUsedInDFA(dfa, semCtx); in tryToResolveWithSemanticPredicates() [all …]
|
/external/opencv3/modules/java/src/ |
D | imgproc+LineSegmentDetector.java | 23 public void detect(Mat _image, Mat _lines, Mat width, Mat prec, Mat nfa) in detect() argument 26 …t_0(nativeObj, _image.nativeObj, _lines.nativeObj, width.nativeObj, prec.nativeObj, nfa.nativeObj); in detect()
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
D | Antlr3Mojo.java | 111 protected boolean nfa; field in Antlr3Mojo 282 log.debug("ANTLR: nfa : " + nfa); in execute() 317 tool.setGenerate_NFA_dot(nfa); in execute()
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/ |
D | usage.apt.vm | 41 <nfa>false</nfa> 95 *** nfa 97 If set to true then the ANTLR tool will generate a description of the nfa 102 protected boolean nfa;
|
/external/regex-re2/ |
D | ucs2.diff | 185 ==== re2/nfa.cc#8 - re2/nfa.cc#9 ==== 186 re2/nfa.cc#8:426,432 - re2/nfa.cc#9:426,431 194 re2/nfa.cc#8:492,498 - re2/nfa.cc#9:491,497 203 re2/nfa.cc#8:505,526 - re2/nfa.cc#9:504,514
|
D | Android.mk | 23 re2/nfa.cc \
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | TreeToNFAConverter.g | 57 protected NFA nfa = null; 69 public TreeToNFAConverter(TreeNodeStream input, Grammar g, NFA nfa, NFAFactory factory) { 72 this.nfa = nfa; 77 …TreeToNFAConverter other = new TreeToNFAConverter( new CommonTreeNodeStream( t ), grammar, nfa, fa… 91 …TreeToNFAConverter other = new TreeToNFAConverter( new CommonTreeNodeStream( t ), grammar, nfa, fa… 106 …TreeToNFAConverter other = new TreeToNFAConverter( new CommonTreeNodeStream( t ), grammar, nfa, fa… 636 if ( nfa.grammar.type == Grammar.TREE_PARSER
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
D | ANTLR3.java | 103 private boolean nfa; field in ANTLR3 208 this.nfa = enable; in setNfa() 522 if (nfa) { in populateAttributes()
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/ |
D | antlr3.jar | ... boolean report
private boolean print
private boolean profile
private boolean nfa
private boolean dfa
private boolean multiThreaded
private boolean nocollapse
private ... |