/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3commontoken.c | 73 antlr3CommonTokenNew(ANTLR3_UINT32 ttype) argument 83 token->setType(token, ttype);
|
H A D | antlr3commontreenodestream.c | 43 static void addNavigationNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_UINT32 ttype); 752 addNavigationNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_UINT32 ttype) argument 758 if (ttype == ANTLR3_TOKEN_DOWN)
|
H A D | antlr3tokenstream.c | 42 static void setTokenTypeChannel (pANTLR3_COMMON_TOKEN_STREAM cts, ANTLR3_UINT32 ttype, ANTLR3_UINT32 channel); 43 static void discardTokenType (pANTLR3_COMMON_TOKEN_STREAM cts, ANTLR3_INT32 ttype); 660 * to force all tokens of type ttype to be on channel. For example, 666 setTokenTypeChannel (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_UINT32 ttype, ANTLR3_UINT32 channel) argument 676 tokenStream->channelOverrides->put(tokenStream->channelOverrides, ttype, ANTLR3_FUNC_PTR((ANTLR3_UINT32)channel + 1), NULL); 680 discardTokenType (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 ttype) argument 690 tokenStream->discardSet->put(tokenStream->discardSet, ttype, ANTLR3_FUNC_PTR((ANTLR3_UINT32)ttype + 1), NULL);
|
H A D | antlr3baserecognizer.c | 54 static void * match (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 56 static void mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 57 static ANTLR3_BOOLEAN mismatchIsUnwantedToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype); 64 static void * recoverFromMismatchedToken (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow); 405 /// Match current input symbol against ttype. Upon error, do one token 416 ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) 453 if (is->_LA(is, 1) == ttype) 478 matchedSymbol = recognizer->recoverFromMismatchedToken(recognizer, ttype, follow); 529 mismatchIsUnwantedToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype) argument 535 if (nextt == ttype) 415 match( pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument 642 mismatch(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument 1432 recoverFromMismatchedToken(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument 1718 ANTLR3_UINT32 ttype; local 1768 ANTLR3_UINT32 ttype; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | BufferedTokenStream.cs | 319 public virtual List<IToken> GetTokens(int start, int stop, int ttype) { argument 320 return GetTokens(start, stop, BitSet.Of(ttype));
|
H A D | LegacyCommonTokenStream.cs | 203 * to force all tokens of type ttype to be on channel. For example, 209 public virtual void SetTokenTypeChannel(int ttype, int channel) { argument 213 channelOverrideMap[ttype] = channel; 216 public virtual void DiscardTokenType(int ttype) { argument 220 discardSet.Add(ttype, ttype); 276 public virtual IList<IToken> GetTokens(int start, int stop, int ttype) { argument 277 return GetTokens(start, stop, BitSet.Of(ttype));
|
H A D | BaseRecognizer.cs | 117 * Match current input symbol against ttype. Attempt 131 public virtual object Match(IIntStream input, int ttype, BitSet follow) { argument 134 if (input.LA(1) == ttype) { 144 matchedSymbol = RecoverFromMismatchedToken(input, ttype, follow); 155 public virtual bool MismatchIsUnwantedToken(IIntStream input, int ttype) { argument 156 return input.LA(2) == ttype; 599 * ttype then it is ok to "insert" the missing token, else throw 616 protected virtual object RecoverFromMismatchedToken(IIntStream input, int ttype, BitSet follow) { argument 619 if (MismatchIsUnwantedToken(input, ttype)) { 620 e = new UnwantedTokenException(ttype, inpu [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
H A D | BaseTree.cs | 379 public virtual bool HasAncestor(int ttype) { argument 380 return GetAncestor(ttype) != null; 384 public virtual ITree GetAncestor(int ttype) { argument 388 if (t.Type == ttype)
|
H A D | TreeWizard.cs | 184 for (int ttype = TokenTypes.Min; ttype < tokenNames.Length; ttype++) { 185 string name = tokenNames[ttype]; 186 m[name] = ttype; 226 int ttype = adaptor.GetType(t); 228 if (!m.TryGetValue(ttype, out elements) || elements == null) { 230 m[ttype] = elements; 266 /** <summary>Return a List of tree nodes with token type ttype</summary> */ 267 public virtual IList Find(object t, int ttype) { argument 292 FindFirst(object t, int ttype) argument 307 Visit(object t, int ttype, IContextVisitor visitor) argument 311 Visit(object t, int ttype, System.Action<object> action) argument 316 VisitCore(object t, object parent, int childIndex, int ttype, IContextVisitor visitor) argument [all...] |
H A D | BufferedTreeNodeStream.cs | 297 protected virtual void AddNavigationNode(int ttype) { argument 299 if (ttype == TokenTypes.Down) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | BufferedTokenStream.cs | 364 public virtual List<IToken> GetTokens(int start, int stop, int ttype) argument 366 return GetTokens(start, stop, BitSet.Of(ttype));
|
H A D | BaseRecognizer.cs | 127 * Match current input symbol against ttype. Attempt 141 public virtual object Match( IIntStream input, int ttype, BitSet follow ) argument 145 if ( input.LA( 1 ) == ttype ) 157 matchedSymbol = RecoverFromMismatchedToken( input, ttype, follow ); 169 public virtual bool MismatchIsUnwantedToken( IIntStream input, int ttype ) 171 return input.LA( 2 ) == ttype; 678 * ttype then it is ok to "insert" the missing token, else throw 695 protected virtual object RecoverFromMismatchedToken( IIntStream input, int ttype, BitSet follow ) argument 699 if ( MismatchIsUnwantedToken( input, ttype ) ) 701 e = new UnwantedTokenException( ttype, inpu [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
H A D | TreeWizard.cs | 208 for ( int ttype = TokenTypes.Min; ttype < tokenNames.Length; ttype++ ) 210 string name = tokenNames[ttype]; 211 m[name] = ttype; 256 int ttype = adaptor.GetType( t ); 258 if ( !m.TryGetValue( ttype, out elements ) || elements == null ) 261 m[ttype] = elements; 305 /** <summary>Return a List of tree nodes with token type ttype</summary> */ 306 public virtual IList Find( object t, int ttype ) 351 Visit( object t, int ttype, IContextVisitor visitor ) argument 356 Visit( object t, int ttype, System.Action<object> action ) argument 362 VisitCore( object t, object parent, int childIndex, int ttype, IContextVisitor visitor ) argument [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | LegacyCommonTokenStream.java | 161 * to force all tokens of type ttype to be on channel. For example, 166 public void setTokenTypeChannel(int ttype, int channel) { argument 170 channelOverrideMap.put(new Integer(ttype), new Integer(channel)); 173 public void discardTokenType(int ttype) { argument 177 discardSet.add(new Integer(ttype)); 231 public List getTokens(int start, int stop, int ttype) { argument 232 return getTokens(start,stop,BitSet.of(ttype));
|
H A D | BaseRecognizer.java | 89 /** Match current input symbol against ttype. Attempt 100 public Object match(IntStream input, int ttype, BitSet follow) argument 105 if ( input.LA(1)==ttype ) { 115 matchedSymbol = recoverFromMismatchedToken(input, ttype, follow); 126 public boolean mismatchIsUnwantedToken(IntStream input, int ttype) { argument 127 return input.LA(2)==ttype; 571 * ttype then it is ok to "insert" the missing token, else throw 588 protected Object recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow) argument 593 if ( mismatchIsUnwantedToken(input, ttype) ) { 594 e = new UnwantedTokenException(ttype, inpu [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
H A D | BaseTree.java | 313 public boolean hasAncestor(int ttype) { return getAncestor(ttype)!=null; } argument 316 public Tree getAncestor(int ttype) { argument 320 if ( t.getType()==ttype ) return t;
|
H A D | TreeWizard.java | 148 for (int ttype = Token.MIN_TOKEN_TYPE; ttype < tokenNames.length; ttype++) { 149 String name = tokenNames[ttype]; 150 m.put(name, new Integer(ttype)); 185 int ttype = adaptor.getType(t); 186 List elements = (List)m.get(new Integer(ttype)); 189 m.put(new Integer(ttype), elements); 199 /** Return a List of tree nodes with token type ttype */ 200 public List find(Object t, int ttype) { argument 236 findFirst(Object t, int ttype) argument 249 visit(Object t, int ttype, ContextVisitor visitor) argument 254 _visit(Object t, Object parent, int childIndex, int ttype, ContextVisitor visitor) argument [all...] |
H A D | BufferedTreeNodeStream.java | 189 protected void addNavigationNode(final int ttype) { argument 191 if ( ttype==Token.DOWN ) {
|
/external/bluetooth/bluedroid/stack/hid/ |
H A D | hidh_conn.c | 794 UINT8 ttype, param, rep_type, evt; local 812 ttype = HID_GET_TRANS_FROM_HDR(*p_data); 821 switch (ttype)
|
/external/checkpolicy/test/ |
H A D | dispol.c | 66 char *stype, *ttype, *tclass; local 68 ttype = p->p_type_val_to_name[key->target_type - 1]; 70 if (stype && ttype) 71 fprintf(fp, "%s %s : %s ", stype, ttype, tclass); 74 else if (ttype) 75 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass); 365 display_id(p, fp, SYM_TYPES, ft->ttype - 1, "");
|
/external/clang/test/CodeGen/ |
H A D | 2008-03-24-BitField-And-Alloca.c | 40 unsigned int ttype : 3; member in struct:_Key::__anon18557 69 (iospec.key_io.ttype != G_VS) && 70 (iospec.key_io.ttype != G_GS) && 71 (iospec.key_io.ttype != G_FS)) ||
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
H A D | RemoteDebugEventSocketListener.java | 86 public void setType(int ttype) { argument 87 this.type = ttype;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | CodeGenerator.java | 842 * char literal translated to the target language. For example, ttype=10 847 public String getTokenTypeAsTargetLabel(int ttype) { argument 849 String name = grammar.getTokenDisplayName(ttype); 852 return target.getTokenTypeAsTargetLabel(this,ttype);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | GrammarAST.java | 386 public GrammarAST findFirstType(int ttype) { argument 388 if ( this.getType()==ttype ) { 394 if ( child.getType()==ttype ) { 401 public List<GrammarAST> findAllType(int ttype) { argument 403 _findAllType(ttype, nodes); 407 public void _findAllType(int ttype, List<GrammarAST> nodes) { argument 409 if ( this.getType()==ttype ) nodes.add(this); 413 child._findAllType(ttype, nodes); 492 int ttype = child.getType(); 493 if (ttype [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | BaseTest.java | 542 public void setTokenTypeChannel(int ttype, int channel) { argument 543 hide.add(ttype);
|