/external/antlr/src/org/antlr/runtime/tree/ |
TreePatternParser.java | 35 protected int ttype; field in class:TreePatternParser 43 ttype = tokenizer.nextToken(); // kickstart 47 if ( ttype==TreePatternLexer.BEGIN ) { 50 else if ( ttype==TreePatternLexer.ID ) { 52 if ( ttype==TreePatternLexer.EOF ) { 61 if ( ttype != TreePatternLexer.BEGIN ) { 64 ttype = tokenizer.nextToken(); 69 while ( ttype==TreePatternLexer.BEGIN || 70 ttype==TreePatternLexer.ID || 71 ttype==TreePatternLexer.PERCENT | [all...] |
Tree.java | 57 /** Is there is a node above with token type ttype? */ 58 public boolean hasAncestor(int ttype); 61 public Tree getAncestor(int ttype);
|
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); local 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) { [all...] |
TreeParser.java | 131 int ttype, 135 throw new MismatchedTreeNodeException(ttype, (TreeNodeStream)input);
|
BaseTree.java | 287 public boolean hasAncestor(int ttype) { return getAncestor(ttype)!=null; } 290 public Tree getAncestor(int ttype) { 294 if ( t.getType()==ttype ) return t;
|
BufferedTreeNodeStream.java | 189 protected void addNavigationNode(final int ttype) { 191 if ( ttype==Token.DOWN ) {
|
/external/clang/test/CodeGen/ |
2008-03-24-BitField-And-Alloca.c | 40 unsigned int ttype : 3; member in struct:_Key::__anon4760 69 (iospec.key_io.ttype != G_VS) && 70 (iospec.key_io.ttype != G_GS) && 71 (iospec.key_io.ttype != G_FS)) ||
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StreamTokenizerTest.java | 160 assertTrue("Wrong Token type1: " + (char) st.ttype, 161 st.ttype == StreamTokenizer.TT_NUMBER); 163 assertTrue("Wrong Token type2: " + st.ttype, 164 st.ttype == StreamTokenizer.TT_WORD); 166 assertTrue("Wrong Token type3: " + st.ttype, st.ttype == '/'); 168 assertTrue("Wrong Token type4: " + st.ttype, 169 st.ttype == StreamTokenizer.TT_WORD); 171 assertTrue("Wrong Token type5: " + st.ttype, 172 st.ttype == StreamTokenizer.TT_WORD) [all...] |
/libcore/luni/src/main/java/java/io/ |
StreamTokenizer.java | 31 * Contains a number if the current token is a number ({@code ttype} == 37 * Contains a string if the current token is a word ({@code ttype} == 68 * After calling {@code nextToken()}, {@code ttype} contains the type of 70 * converted to an integer is stored in {@code ttype}. For a quoted string, 81 public int ttype = TT_UNKNOWN; field in class:StreamTokenizer 217 * as {@code TT_EOF} in {@code ttype} by this tokenizer. 249 * type of the token is stored in the {@code ttype} field, additional 252 * @return the value of {@code ttype}. 259 if (ttype != TT_UNKNOWN) { 260 return ttype; [all...] |
/external/antlr/src/org/antlr/runtime/ |
BaseRecognizer.java | 89 /** Match current input symbol against ttype. Attempt 100 public Object match(IntStream input, int ttype, BitSet follow) 105 if ( input.LA(1)==ttype ) { 115 matchedSymbol = recoverFromMismatchedToken(input, ttype, follow); 126 public boolean mismatchIsUnwantedToken(IntStream input, int ttype) { 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) 593 if ( mismatchIsUnwantedToken(input, ttype) ) { 594 e = new UnwantedTokenException(ttype, input) 677 int ttype = input.LA(1); local 687 int ttype = input.LA(1); local [all...] |
Token.java | 68 public void setType(int ttype);
|
SerializedGrammar.java | 78 int ttype; field in class:SerializedGrammar.TokenRef 79 public TokenRef(int ttype) { this.ttype = ttype; } 80 public String toString() { return String.valueOf(ttype); } 153 int ttype = in.readShort(); local 154 alt.add(new TokenRef(ttype)); 155 //System.out.println("read token "+gr.getTokenDisplayName(ttype));
|
LegacyCommonTokenStream.java | 161 * to force all tokens of type ttype to be on channel. For example, 166 public void setTokenTypeChannel(int ttype, int channel) { 170 channelOverrideMap.put(new Integer(ttype), new Integer(channel)); 173 public void discardTokenType(int ttype) { 177 discardSet.add(new Integer(ttype)); 231 public List getTokens(int start, int stop, int ttype) { 232 return getTokens(start,stop,BitSet.of(ttype));
|
BufferedTokenStream.java | 227 public List getTokens(int start, int stop, int ttype) { 228 return getTokens(start,stop,BitSet.of(ttype));
|
/system/core/adb/ |
commandline.c | 40 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...); 355 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial) 361 if (ttype == kTransportUsb) 363 else if (ttype == kTransportLocal) 370 static void status_window(transport_type ttype, const char* serial) 386 format_host_command(command, sizeof command, "get-state", ttype, serial); 831 transport_type ttype = kTransportAny; local 899 ttype = kTransportUsb; 901 ttype = kTransportLocal; 910 adb_set_transport(ttype, serial) [all...] |
adb.h | 261 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out); 444 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s);
|
sockets.c | 626 transport_type ttype = kTransportAny; local 683 ttype = kTransportUsb; 686 ttype = kTransportLocal; 689 ttype = kTransportAny; 703 if(handle_host_request(service, ttype, serial, s->peer->fd, s) == 0) {
|
adb.c | 1085 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) [all...] |
transport.c | 741 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error_out) 766 if (ttype == kTransportUsb && t->type == kTransportUsb) { 775 } else if (ttype == kTransportLocal && t->type == kTransportLocal) { 784 } else if (ttype == kTransportAny) {
|
/bionic/libc/netbsd/resolv/ |
res_send.c | 287 int n, ttype, tclass; local 295 ttype = ns_get16(cp); cp += INT16SZ; 297 if (ttype == type && tclass == class && 337 int n, ttype, tclass; local 345 ttype = ns_get16(cp); cp += INT16SZ; 347 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2))
|
/external/antlr/src/org/antlr/runtime/debug/ |
RemoteDebugEventSocketListener.java | 86 public void setType(int ttype) { 87 this.type = ttype;
|
/external/opencv/cxcore/src/ |
cxsumpixels.cpp | 919 int ttype = sdepth == CV_8U ? CV_MAKETYPE(CV_32S,cn) : dst->type; local [all...] |
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
target.h | 142 /* Emit a ttype table reference to a typeinfo object. */ 143 bool (* ttype) (rtx); member in struct:gcc_target::asm_out [all...] |
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/ |
target.h | 142 /* Emit a ttype table reference to a typeinfo object. */ 143 bool (* ttype) (rtx); member in struct:gcc_target::asm_out [all...] |
/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/lib/gcc/arm-linux-androideabi/4.4.3/plugin/include/ |
target.h | 142 /* Emit a ttype table reference to a typeinfo object. */ 143 bool (* ttype) (rtx); member in struct:gcc_target::asm_out [all...] |