/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
PythonTarget.java | 47 int ttype) { 50 if ( ttype >= 0 && ttype <= 3 ) { 51 return String.valueOf(ttype); 54 String name = generator.grammar.getTokenDisplayName(ttype); 58 return String.valueOf(ttype);
|
/external/ltp/include/ |
tst_res_flags.h | 22 #define TTYPE_RESULT(ttype) ((ttype) & TTYPE_MASK)
|
tst_ansi_color.h | 32 char* tst_ttype2color(int ttype);
|
tst_test.h | 45 void tst_res_(const char *file, const int lineno, int ttype, 49 #define tst_res(ttype, arg_fmt, ...) \ 50 tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__) 52 void tst_resm_hexd_(const char *file, const int lineno, int ttype, 56 #define tst_res_hexd(ttype, buf, size, arg_fmt, ...) \ 57 tst_resm_hexd_(__FILE__, __LINE__, (ttype), (buf), (size), \ 63 void tst_brk_(const char *file, const int lineno, int ttype, 67 #define tst_brk(ttype, arg_fmt, ...) \ 68 tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__)
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreePatternParser.cs | 38 protected int ttype; field in class:Antlr.Runtime.Tree.TreePatternParser 46 ttype = tokenizer.NextToken(); // kickstart 50 if (ttype == TreePatternLexer.BEGIN) { 52 } else if (ttype == TreePatternLexer.ID) { 54 if (ttype == TreePatternLexer.EOF) { 63 if (ttype != TreePatternLexer.BEGIN) 66 ttype = tokenizer.NextToken(); 71 while (ttype == TreePatternLexer.BEGIN || 72 ttype == TreePatternLexer.ID || 73 ttype == TreePatternLexer.PERCENT | [all...] |
ITree.cs | 65 /** <summary>Is there is a node above with token type ttype?</summary> */ 66 bool HasAncestor(int ttype); 69 ITree GetAncestor(int ttype);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreePatternParser.cs | 40 protected int ttype; field in class:Antlr.Runtime.Tree.TreePatternParser 49 ttype = tokenizer.NextToken(); // kickstart 54 if ( ttype == TreePatternLexer.Begin ) 58 else if ( ttype == TreePatternLexer.Id ) 61 if ( ttype == CharStreamConstants.EndOfFile ) 72 if ( ttype != TreePatternLexer.Begin ) 75 ttype = tokenizer.NextToken(); 81 while ( ttype == TreePatternLexer.Begin || 82 ttype == TreePatternLexer.Id || 83 ttype == TreePatternLexer.Percent | [all...] |
ITree.cs | 69 /** <summary>Is there is a node above with token type ttype?</summary> */ 70 bool HasAncestor( int ttype ); 73 ITree GetAncestor( int ttype );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/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...] |
/external/ltp/include/old/ |
ltp_priv.h | 58 void tst_vbrk_(const char *file, const int lineno, int ttype, 61 void tst_brk_(const char *file, const int lineno, int ttype, 64 void tst_vres_(const char *file, const int lineno, int ttype, 67 void tst_res_(const char *file, const int lineno, int ttype,
|
test.h | 141 const char *strttype(int ttype); 143 void tst_resm_(const char *file, const int lineno, int ttype, 146 #define tst_resm(ttype, arg_fmt, ...) \ 147 tst_resm_(__FILE__, __LINE__, (ttype), \ 150 void tst_resm_hexd_(const char *file, const int lineno, int ttype, 153 #define tst_resm_hexd(ttype, buf, size, arg_fmt, ...) \ 154 tst_resm_hexd_(__FILE__, __LINE__, (ttype), (buf), (size), \ 157 void tst_brkm_(const char *file, const int lineno, int ttype,
|
/external/ltp/testcases/kernel/syscalls/mq_timedsend/ |
mq_timedsend01.c | 157 int ttype; member in struct:test_case 185 .ttype = NORMAL, 191 .ttype = NORMAL, 197 .ttype = NORMAL, 203 .ttype = NORMAL, 210 .ttype = NORMAL, 216 .ttype = FD_NONE, 222 .ttype = FD_NOT_EXIST, 228 .ttype = FD_FILE, 234 .ttype = FULL_QUEUE [all...] |
/external/ltp/lib/ |
tst_res.c | 90 static void tst_condense(int tnum, int ttype, const char *tmesg); 91 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg); 133 const char *strttype(int ttype) 144 PAIR_LOOKUP(ttype_pairs, TTYPE_RESULT(ttype)); 150 static void tst_res__(const char *file, const int lineno, int ttype, 157 int ttype_result = TTYPE_RESULT(ttype); 164 * Save the test result type by ORing ttype into the current exit 176 tst_print(TCID, 0, ttype, tmesg); 189 tst_condense(tst_count + 1, ttype, tmesg); 192 tst_print(TCID, tst_count + 1, ttype, tmesg) [all...] |
tst_ansi_color.c | 25 char* tst_ttype2color(int ttype) 27 switch (TTYPE_RESULT(ttype)) {
|
/libcore/ojluni/src/main/java/java/io/ |
StreamTokenizer.java | 128 public int ttype = TT_NOTHING; field in class:StreamTokenizer 151 * initializing ttype. FIXME This could be made public and 163 * {@code ttype} field is {@code TT_WORD}. The current token is 164 * a quoted string token when the value of the {@code ttype} field is 171 * @see java.io.StreamTokenizer#ttype 178 * the {@code ttype} field is {@code TT_NUMBER}. 183 * @see java.io.StreamTokenizer#ttype 330 * single-character token and sets {@code ttype} field to the 339 * @see java.io.StreamTokenizer#ttype 365 * constant, the {@code ttype} field is set to the strin [all...] |
/external/clang/test/CodeGen/ |
2008-03-24-BitField-And-Alloca.c | 40 unsigned int ttype : 3; member in struct:_Key::__anon14809 69 (iospec.key_io.ttype != G_VS) && 70 (iospec.key_io.ttype != G_GS) && 71 (iospec.key_io.ttype != G_FS)) ||
|
/external/ltp/testcases/kernel/syscalls/get_mempolicy/ |
get_mempolicy01.c | 88 int ttype; member in struct:test_case 108 .ttype = DEFAULT, 115 .ttype = DEFAULT, 122 .ttype = DEFAULT, 129 .ttype = DEFAULT, 136 .ttype = DEFAULT, 143 .ttype = ADDR, 150 .ttype = ADDR, 157 .ttype = ADDR, 164 .ttype = ADDR [all...] |
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
clock_nanosleep01.c | 41 #define TYPE_NAME(x) .ttype = x, .desc = #x 45 int ttype; /* test type (enum) */ member in struct:test_case 126 if (tc->ttype == SEND_SIGINT) 136 if (tc->ttype == SEND_SIGINT) { 157 if (tc->ttype == SEND_SIGINT && !rm.tv_sec && !rm.tv_nsec) { 163 if (tc->ttype == SEND_SIGINT && remain_ms > expect_ms) {
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRTreePatternParser.h | 40 NSInteger ttype; variable 60 @property NSInteger ttype; variable
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
treewizard.py | 168 self.ttype = tokenizer.nextToken() # kickstart 172 if self.ttype == BEGIN: 175 elif self.ttype == ID: 177 if self.ttype == EOF: 186 if self.ttype != BEGIN: 189 self.ttype = self.tokenizer.nextToken() 194 while self.ttype in (BEGIN, ID, PERCENT, DOT): 195 if self.ttype == BEGIN: 206 if self.ttype != END: 209 self.ttype = self.tokenizer.nextToken( [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
BaseRecognizer.js | 92 /** Match current input symbol against ttype. Attempt 104 * @param {Number} ttype input type to match. 109 match: function(input, ttype, follow) { 111 if ( input.LA(1)===ttype ) { 121 matchedSymbol = this.recoverFromMismatchedToken(input, ttype, follow); 136 * Is the following token (LA(2)) the unwanted type (ttype)? 138 * @param {Number} ttype the undesired token type. 142 mismatchIsUnwantedToken: function(input, ttype) { 143 return input.LA(2)===ttype; 188 * @param {Number} ttype input type to match [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/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...] |