/external/antlr/tool/src/test/java/org/antlr/test/ |
TestSets.java | 51 String found = execParser("P.g", grammar, "PParser", "PLexer", local 53 assertEquals("34\n", found); 60 String found = execParser("T.g", grammar, "TParser", "TLexer", local 62 assertEquals("x\n", found); 69 String found = execParser("T.g", grammar, "TParser", "TLexer", local 71 assertEquals("z\n", found); 78 String found = execParser("T.g", grammar, "TParser", "TLexer", local 80 assertEquals("zz\n", found); 87 String found = execParser("T.g", grammar, "TParser", "TLexer", local 89 assertEquals("z\n", found); 96 String found = execParser("T.g", grammar, "TParser", "TLexer", local 106 String found = execParser("T.g", grammar, "TParser", "TLexer", local 116 String found = execParser("T.g", grammar, "TParser", "TLexer", local 126 String found = execParser("T.g", grammar, "TParser", "TLexer", local 136 String found = execParser("T.g", grammar, "TParser", "TLexer", local 146 String found = execParser("T.g", grammar, "TParser", "TLexer", local 159 String found = execParser("T.g", grammar, "TParser", "TLexer", local 168 String found = execParser("T.g", grammar, "TParser", "TLexer", local 177 String found = execParser("T.g", grammar, "TParser", "TLexer", local 186 String found = execParser("T.g", grammar, "TParser", "TLexer", local 196 String found = execParser("T.g", grammar, "TParser", "TLexer", local 206 String found = execParser("T.g", grammar, "TParser", "TLexer", local 216 String found = execParser("T.g", grammar, "TParser", "TLexer", local 226 String found = execParser("T.g", grammar, "TParser", "TLexer", local 238 String found = execParser("T.g", grammar, "TParser", "TLexer", local 249 String found = execParser("T.g", grammar, "TParser", "TLexer", local 260 String found = execParser("T.g", grammar, "TParser", "TLexer", local 272 String found = execParser("T.g", grammar, "TParser", "TLexer", local 286 String found = execParser("T.g", grammar, "TParser", "TLexer", local [all...] |
TestHeteroAST.java | 52 String found = execParser("T.g", grammar, "TParser", "TLexer", local 54 assertEquals("a<V>\n", found); 64 String found = execParser("T.g", grammar, "TParser", "TLexer", local 66 assertEquals("a\n", found); 81 String found = execParser("T.g", grammar, "TParser", "TLexer", local 83 assertEquals("a<V>\n", found); 98 String found = execParser("T.g", grammar, "TParser", "TLexer", local 100 assertEquals("a<V>\n", found); 116 String found = execParser("T.g", grammar, "TParser", "TLexer", local 118 assertEquals("a<V>\n", found); 133 String found = execParser("T.g", grammar, "TParser", "TLexer", local 150 String found = execParser("T.g", grammar, "TParser", "TLexer", local 167 String found = execParser("T.g", grammar, "TParser", "TLexer", local 184 String found = execParser("T.g", grammar, "TParser", "TLexer", local 201 String found = execParser("T.g", grammar, "TParser", "TLexer", local 220 String found = execParser("T.g", grammar, "TParser", "TLexer", local 242 String found = execParser("T.g", grammar, "TParser", "TLexer", local 260 String found = execParser("T.g", grammar, "TParser", "TLexer", local 277 String found = execParser("T.g", grammar, "TParser", "TLexer", local 295 String found = execParser("T.g", grammar, "TParser", "TLexer", local 320 String found = execParser("T.g", grammar, "TParser", "TLexer", local 342 String found = execParser("T.g", grammar, "TParser", "TLexer", local 374 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 404 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 431 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 459 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 486 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 514 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 541 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local [all...] |
TestSemanticPredicateEvaluation.java | 41 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 43 assertEquals("alt2\n", found); 53 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 55 assertEquals("alt2\n", found); 69 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 71 assertEquals("error: FailedPredicateException(a,{false}?)\n", found); 81 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 84 assertEquals("token 2\n", found); 94 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 97 assertEquals("token 1\n", found); 109 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 121 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 133 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 144 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 156 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 168 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 179 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 193 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 206 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 220 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 236 String found = execParser("t.g", grammar, "T", "TLexer", local [all...] |
TestSyntacticPredicateEvaluation.java | 55 String found = execParser("T.g", grammar, "TParser", "TLexer", local 62 assertEquals(expecting, found); 64 found = execParser("T.g", grammar, "TParser", "TLexer", 70 assertEquals(expecting, found); 72 found = execParser("T.g", grammar, "TParser", "TLexer", 81 assertEquals(expecting, found); 104 String found = execParser("T.g", grammar, "TParser", "TLexer", local 111 assertEquals(expecting, found); 113 found = execParser("T.g", grammar, "TParser", "TLexer", 119 assertEquals(expecting, found); 142 String found = execParser("T.g", grammar, "TParser", "TLexer", local 164 String found = execParser("T.g", grammar, "TParser", "TLexer", local 185 String found = execParser("T.g", grammar, "TParser", "TLexer", local 201 String found = execParser("T.g", grammar, "TParser", "TLexer", local 226 String found = execParser("T.g", grammar, "TParser", "TLexer", local 261 String found = execParser("T.g", grammar, "TParser", "TLexer", local 310 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 337 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 356 String found = execParser("T.g", grammar, "TParser", "TLexer", local 376 String found = execParser("T.g", grammar, "TParser", "TLexer", local 388 String found = execParser("T.g", grammar, "TParser", "TLexer", local 404 String found = execParser("T.g", grammar, "TParser", "TLexer", local 416 String found = execParser("T.g", grammar, "TParser", "TLexer", local [all...] |
TestJavaCodeGeneration.java | 48 boolean found = 52 assertEquals(expecting, found); 61 boolean found = 65 assertEquals(expecting, found); 75 String found = execParser("T.g", grammar, "TParser", "TLexer", local 77 assertEquals("x\n", found); 87 String found = execParser("T.g", grammar, "TParser", "TLexer", local 89 assertEquals("x\n", found); 99 String found = execParser("T.g", grammar, "TParser", "TLexer", local 101 assertEquals("x\n", found); [all...] |
TestAutoAST.java | 46 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 48 assertEquals("abc 34\n", found); 59 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 61 assertEquals("abc 34\n", found); 72 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 74 assertEquals("(abc 34)\n", found); 85 String found = execParser("T.g", grammar, "TParser", "TLexer", local 87 assertEquals("(abc 34)\n", found); 98 String found = execParser("T.g", grammar, "TParser", "TLexer", local 100 assertEquals("abc 4532\n", found); 111 String found = execParser("T.g", grammar, "TParser", "TLexer", local 124 String found = execParser("T.g", grammar, "TParser", "TLexer", local 137 String found = execParser("T.g", grammar, "TParser", "TLexer", local 150 String found = execParser("T.g", grammar, "TParser", "TLexer", local 163 String found = execParser("T.g", grammar, "TParser", "TLexer", local 176 String found = execParser("T.g", grammar, "TParser", "TLexer", local 189 String found = execParser("T.g", grammar, "TParser", "TLexer", local 202 String found = execParser("T.g", grammar, "TParser", "TLexer", local 215 String found = execParser("T.g", grammar, "TParser", "TLexer", local 228 String found = execParser("T.g", grammar, "TParser", "TLexer", local 241 String found = execParser("T.g", grammar, "TParser", "TLexer", local 255 String found = execParser("T.g", grammar, "TParser", "TLexer", local 269 String found = execParser("T.g", grammar, "TParser", "TLexer", local 283 String found = execParser("T.g", grammar, "TParser", "TLexer", local 297 String found = execParser("T.g", grammar, "TParser", "TLexer", local 310 String found = execParser("T.g", grammar, "TParser", "TLexer", local 324 String found = execParser("T.g", grammar, "TParser", "TLexer", local 339 String found = execParser("T.g", grammar, "TParser", "TLexer", local 352 String found = execParser("T.g", grammar, "TParser", "TLexer", local 365 String found = execParser("T.g", grammar, "TParser", "TLexer", local 380 String found = execParser("T.g", grammar, "TParser", "TLexer", local 393 String found = execParser("T.g", grammar, "TParser", "TLexer", local 406 String found = execParser("T.g", grammar, "TParser", "TLexer", local 419 String found = execParser("T.g", grammar, "TParser", "TLexer", local 432 String found = execParser("T.g", grammar, "TParser", "TLexer", local 445 String found = execParser("T.g", grammar, "TParser", "TLexer", local 458 String found = execParser("T.g", grammar, "TParser", "TLexer", local 471 String found = execParser("T.g", grammar, "TParser", "TLexer", local 485 String found = execParser("T.g", grammar, "TParser", "TLexer", local 499 String found = execParser("T.g", grammar, "TParser", "TLexer", local 513 String found = execParser("T.g", grammar, "TParser", "TLexer", local 528 String found = execParser("T.g", grammar, "TParser", "TLexer", local 544 String found = execParser("T.g", grammar, "TParser", "TLexer", local 558 String found = execParser("T.g", grammar, "TParser", "TLexer", local 571 String found = execParser("T.g", grammar, "TParser", "TLexer", local 587 String found = execParser("T.g", grammar, "TParser", "TLexer", local 602 String found = execParser("T.g", grammar, "TParser", "TLexer", local 617 String found = execParser("T.g", grammar, "TParser", "TLexer", local 633 String found = execParser("T.g", grammar, "TParser", "TLexer", local 647 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 660 String found = execParser("T.g", grammar, "TParser", "TLexer", local 674 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 690 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 706 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 720 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 735 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 751 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 765 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 781 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 801 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 818 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "abc 34", debug); local [all...] |
TestTreeParsing.java | 50 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 52 assertEquals("abc, 34\n", found); 70 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 72 assertEquals("abc, 34\n", found); 93 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 95 assertEquals("^(a 1)b 2\n", found); 116 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 119 assertEquals("^(a 3)b 5\n", found); 139 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 141 assertEquals("alt 1\n", found); 160 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 180 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 201 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 223 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 244 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 265 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 289 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 313 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 337 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local [all...] |
TestTreeGrammarRewriteAST.java | 63 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 65 assertEquals("34 abc\n", found); 83 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 85 assertEquals("(34 abc)\n", found); 102 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 104 assertEquals("99\n", found); 122 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 124 assertEquals("(34 abc)\n", found); 126 found = execTreeParser("T.g", grammar, "TParser", "TP.g", 128 assertEquals("34\n", found); 146 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 166 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 186 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 207 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 227 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 275 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 295 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 315 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 335 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 355 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 376 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 396 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 416 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 436 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 456 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 477 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 497 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 519 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 539 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 560 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 579 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 599 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 618 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 642 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 667 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 689 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 711 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 734 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 757 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 780 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 803 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 823 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 843 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 866 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 889 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 912 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 932 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 952 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 974 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 995 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 1015 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 1035 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 1055 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 1075 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 1095 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 1116 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local [all...] |
TestLexer.java | 53 String found = execParser("P.g", grammar, "PParser", "PLexer", local 55 assertEquals("\t\n", found); 67 String found = execParser("P.g", grammar, "PParser", "PLexer", local 69 assertEquals("-34\n", found); 81 String found = execParser("P.g", grammar, "PParser", "PLexer", local 83 assertEquals("- 34, channel=0\n", found); 94 String found = execParser("P.g", grammar, "PParser", "PLexer", local 96 assertEquals("-34\n", found); 108 String found = execParser("P.g", grammar, "PParser", "PLexer", local 110 assertEquals("-34\n", found); 122 String found = execParser("P.g", grammar, "PParser", "PLexer", local 135 String found = execParser("P.g", grammar, "PParser", "PLexer", local 147 String found = execParser("P.g", grammar, "PParser", "PLexer", local 159 String found = execParser("P.g", grammar, "PParser", "PLexer", local 171 String found = execParser("P.g", grammar, "PParser", "PLexer", local 181 String found = execParser("T.g", grammar, "TParser", "TLexer", local 252 String found = code.substring(m,m+expecting.length()); local [all...] |
TestASTConstruction.java | 47 String found = g.getRule("a").tree.toStringTree(); local 48 assertEquals(expecting, found); 57 String found = g.getRule("a").tree.toStringTree(); local 58 assertEquals(expecting, found); 68 String found = g.getRule("A").tree.toStringTree(); local 69 assertEquals(expecting, found); 79 String found = g.getRule("a").tree.toStringTree(); local 80 assertEquals(expecting, found); 90 String found = g.getRule("a").tree.toStringTree(); local 91 assertEquals(expecting, found); 101 String found = g.getRule("a").tree.toStringTree(); local 112 String found = g.getRule("a").tree.toStringTree(); local 123 String found = g.getRule("a").tree.toStringTree(); local 134 String found = g.getRule("a").tree.toStringTree(); local 144 String found = g.getRule("a").tree.toStringTree(); local 154 String found = g.getRule("B").tree.toStringTree(); local 164 String found = g.getRule("a").tree.toStringTree(); local 174 String found = g.getRule("B").tree.toStringTree(); local 184 String found = g.getRule("a").tree.toStringTree(); local 194 String found = g.getRule("B").tree.toStringTree(); local 204 String found = g.getRule("a").tree.toStringTree(); local 214 String found = g.getRule("B").tree.toStringTree(); local 224 String found = g.getRule("ID").tree.toStringTree(); local 234 String found = g.getRule("a").tree.toStringTree(); local 244 String found = g.getRule("a").tree.toStringTree(); local 254 String found = g.getRule("a").tree.toStringTree(); local 265 String found = g.getRule("a").tree.toStringTree(); local 275 String found = g.getRule("a").tree.toStringTree(); local 285 String found = g.getRule("a").tree.toStringTree(); local 295 String found = g.getRule("a").tree.toStringTree(); local 305 String found = g.getRule("a").tree.toStringTree(); local 316 String found = g.getRule("a").tree.toStringTree(); local 326 String found = g.getRule("a").tree.toStringTree(); local 336 String found = g.getRule("a").tree.toStringTree(); local 348 String found = g.getRule("a").tree.toStringTree(); local 359 String found = g.getRule("synpred1_Expr").tree.toStringTree(); local 370 String found = g.getRule("synpred1_Expr").tree.toStringTree(); local [all...] |
TestRewriteAST.java | 51 String found = execParser("T.g", grammar, "TParser", "TLexer", local 53 assertEquals("", found); 64 String found = execParser("T.g", grammar, "TParser", "TLexer", local 66 assertEquals("abc\n", found); 77 String found = execParser("T.g", grammar, "TParser", "TLexer", local 79 assertEquals("x\n", found); 90 String found = execParser("T.g", grammar, "TParser", "TLexer", local 92 assertEquals("(x INT)\n", found); 104 String found = execParser("TT.g", grammar, "TTParser", "TTLexer", local 106 assertEquals("ID\n", found); 117 String found = execParser("T.g", grammar, "TParser", "TLexer", local 130 String found = execParser("T.g", grammar, "TParser", "TLexer", local 144 String found = execParser("T.g", grammar, "TParser", "TLexer", local 157 String found = execParser("T.g", grammar, "TParser", "TLexer", local 171 String found = execParser("T.g", grammar, "TParser", "TLexer", local 184 String found = execParser("T.g", grammar, "TParser", "TLexer", local 197 String found = execParser("T.g", grammar, "TParser", "TLexer", local 212 String found = execParser("T.g", grammar, "TParser", "TLexer", local 225 String found = execParser("T.g", grammar, "TParser", "TLexer", local 238 String found = execParser("T.g", grammar, "TParser", "TLexer", local 251 String found = execParser("T.g", grammar, "TParser", "TLexer", local 265 String found = execParser("T.g", grammar, "TParser", "TLexer", local 279 String found = execParser("T.g", grammar, "TParser", "TLexer", local 293 String found = execParser("T.g", grammar, "TParser", "TLexer", local 306 String found = execParser("T.g", grammar, "TParser", "TLexer", local 320 String found = execParser("T.g", grammar, "TParser", "TLexer", local 333 String found = execParser("T.g", grammar, "TParser", "TLexer", local 346 String found = execParser("T.g", grammar, "TParser", "TLexer", local 362 String found = execParser("T.g", grammar, "TParser", "TLexer", local 378 String found = execParser("T.g", grammar, "TParser", "TLexer", local 392 String found = execParser("T.g", grammar, "TParser", "TLexer", local 406 String found = execParser("T.g", grammar, "TParser", "TLexer", local 421 String found = execParser("T.g", grammar, "TParser", "TLexer", local 436 String found = execParser("T.g", grammar, "TParser", "TLexer", local 451 String found = execParser("T.g", grammar, "TParser", "TLexer", local 466 String found = execParser("T.g", grammar, "TParser", "TLexer", local 481 String found = execParser("T.g", grammar, "TParser", "TLexer", local 496 String found = execParser("T.g", grammar, "TParser", "TLexer", local 513 String found = execParser("T.g", grammar, "TParser", "TLexer", local 529 String found = execParser("T.g", grammar, "TParser", "TLexer", local 549 String found = execParser("T.g", grammar, "TParser", "TLexer", local 566 String found = execParser("T.g", grammar, "TParser", "TLexer", local 580 String found = execParser("T.g", grammar, "TParser", "TLexer", local 594 String found = execParser("T.g", grammar, "TParser", "TLexer", local 609 String found = execParser("T.g", grammar, "TParser", "TLexer", local 624 String found = execParser("T.g", grammar, "TParser", "TLexer", local 638 String found = execParser("T.g", grammar, "TParser", "TLexer", local 654 String found = execParser("T.g", grammar, "TParser", "TLexer", local 670 String found = execParser("T.g", grammar, "TParser", "TLexer", local 687 String found = execParser("T.g", grammar, "TParser", "TLexer", local 700 String found = execParser("T.g", grammar, "TParser", "TLexer", local 714 String found = execParser("T.g", grammar, "TParser", "TLexer", local 728 String found = execParser("T.g", grammar, "TParser", "TLexer", local 742 String found = execParser("T.g", grammar, "TParser", "TLexer", local 756 String found = execParser("T.g", grammar, "TParser", "TLexer", local 770 String found = execParser("T.g", grammar, "TParser", "TLexer", local 785 String found = execParser("T.g", grammar, "TParser", "TLexer", local 799 String found = execParser("T.g", grammar, "TParser", "TLexer", local 814 String found = execParser("T.g", grammar, "TParser", "TLexer", local 831 String found = execParser("T.g", grammar, "TParser", "TLexer", local 845 String found = execParser("T.g", grammar, "TParser", "TLexer", local 858 String found = execParser("T.g", grammar, "TParser", "TLexer", local 894 String found = execParser("T.g", grammar, "TParser", "TLexer", local 908 String found = execParser("T.g", grammar, "TParser", "TLexer", local 922 String found = execParser("T.g", grammar, "TParser", "TLexer", local 936 String found = execParser("T.g", grammar, "TParser", "TLexer", local 950 String found = execParser("T.g", grammar, "TParser", "TLexer", local 964 String found = execParser("T.g", grammar, "TParser", "TLexer", local 978 String found = execParser("T.g", grammar, "TParser", "TLexer", local 992 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1005 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1018 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1033 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1048 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1067 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1087 String found = getFirstLineOfException(); local 1104 String found = getFirstLineOfException(); local 1121 String found = getFirstLineOfException(); local 1138 String found = getFirstLineOfException(); local 1150 String found = execParser("T.g", grammar, "TParser", "TLexer", local 1336 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1352 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1368 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1382 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1399 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1413 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1429 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local 1449 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", local [all...] |
TestRewriteTemplates.java | 48 String found = execParser("T.g", grammar, "TParser", "TLexer", local 50 assertEquals("", found); 61 String found = execParser("T.g", grammar, "TParser", "TLexer", local 63 assertEquals("abc\n", found); 74 String found = execParser("T.g", grammar, "TParser", "TLexer", local 76 assertEquals("abc\n", found); 87 String found = execParser("T.g", grammar, "TParser", "TLexer", local 89 assertEquals("x:abc, y:34;\n", found); 102 String found = execParser("T.g", grammar, "TParser", "TLexer", local 104 assertEquals("abc 34\n", found); 117 String found = execParser("T.g", grammar, "TParser", "TLexer", local 130 String found = execParser("T.g", grammar, "TParser", "TLexer", local 147 String found = execParser("T.g", grammar, "TParser", "TLexer", local 161 String found = execParser("T.g", grammar, "TParser", "TLexer", local 175 String found = execParser("T.g", grammar, "TParser", "TLexer", local 191 String found = execParser("T.g", grammar, "TParser", "TLexer", local 213 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local 233 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", local [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
ptrace-gpr.h | 27 int i, found = 1; local 33 found = 0; 37 if (!found) 45 int i, found = 1; local 50 found = 0; 54 if (!found) 62 int i, found = 1; local 67 found = 0; 71 if (!found)
|
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-hebrew.cc | 71 bool found = (bool) c->unicode->compose (a, b, ab); local 73 if (!found && !c->plan->has_gpos_mark) 81 found = true; 87 found = true; 90 found = true; 96 found = true; 102 found = true; 108 found = (*ab != 0); 111 found = true; 114 found = true [all...] |
/external/antlr/runtime/Python/tests/ |
t057autoAST.py | 123 found = self.execParser(grammar, "a", "abc 34") 124 self.assertEquals("abc 34", found); 138 found = self.execParser(grammar,"a", "abc 34") 139 self.assertEquals("abc 34", found) 153 found = self.execParser(grammar, "a", "abc 34") 154 self.assertEquals("(abc 34)", found) 168 found = self.execParser(grammar, "a", "34 abc") 169 self.assertEquals("(abc 34)", found) 183 found = self.execParser(grammar, "a", "abc 34 dag 4532") 184 self.assertEquals("abc 4532", found) [all...] |
t058rewriteAST.py | 123 found = self.execParser(grammar, "a", "abc 34") 124 self.assertEquals("", found) 138 found = self.execParser(grammar, "a", "abc") 139 self.assertEquals("abc", found) 153 found = self.execParser(grammar, "a", "abc") 154 self.assertEquals("x", found) 168 found = self.execParser(grammar, "a", "abc") 169 self.assertEquals("(x INT)", found) 184 found = self.execParser(grammar, "a", "abc") 185 self.assertEquals("ID", found) [all...] |
t051treeRewriteAST.py | 76 found = self.execTreeParser( 82 self.failUnlessEqual("34 abc", found) 111 found = self.execTreeParser( 117 self.failUnlessEqual("(34 abc)", found) 146 found = self.execTreeParser( 152 self.failUnlessEqual("(34 abc)", found) 155 found = self.execTreeParser( 161 self.failUnlessEqual("34", found) 190 found = self.execTreeParser( 196 self.failUnlessEqual("(abc abc)", found) [all...] |
/external/antlr/runtime/Python3/tests/ |
t057autoAST.py | 123 found = self.execParser(grammar, "a", "abc 34") 124 self.assertEqual("abc 34", found); 138 found = self.execParser(grammar,"a", "abc 34") 139 self.assertEqual("abc 34", found) 153 found = self.execParser(grammar, "a", "abc 34") 154 self.assertEqual("(abc 34)", found) 168 found = self.execParser(grammar, "a", "34 abc") 169 self.assertEqual("(abc 34)", found) 183 found = self.execParser(grammar, "a", "abc 34 dag 4532") 184 self.assertEqual("abc 4532", found) [all...] |
t058rewriteAST.py | 123 found = self.execParser(grammar, "a", "abc 34") 124 self.assertEqual("", found) 138 found = self.execParser(grammar, "a", "abc") 139 self.assertEqual("abc", found) 153 found = self.execParser(grammar, "a", "abc") 154 self.assertEqual("x", found) 168 found = self.execParser(grammar, "a", "abc") 169 self.assertEqual("(x INT)", found) 184 found = self.execParser(grammar, "a", "abc") 185 self.assertEqual("ID", found) [all...] |
t051treeRewriteAST.py | 76 found = self.execTreeParser( 82 self.assertEqual("34 abc", found) 111 found = self.execTreeParser( 117 self.assertEqual("(34 abc)", found) 146 found = self.execTreeParser( 152 self.assertEqual("(34 abc)", found) 155 found = self.execTreeParser( 161 self.assertEqual("34", found) 190 found = self.execTreeParser( 196 self.assertEqual("(abc abc)", found) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/ |
errsupport.c | 14 mismatched_range( STreeParser *_parser, int looking_for, int upper_token, SORAST *found )
16 mismatched_range( _parser, looking_for, upper_token, found )
19 SORAST *found;
23 if ( found!=NULL ) {
25 "parse error: expected token range %d..%d found token %d\n",
27 found->token);
31 "parse error: expected token range %d..%d found NULL tree\n",
44 fprintf(stderr, "parse error: expected any token/tree found found NULL tree\n");
49 mismatched_token( STreeParser *_parser, int looking_for, SORAST *found )
[all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/cache_shape/ |
cache_shape.c | 59 int found; local 63 found = 0; 67 found++; 73 found++; 79 found++; 85 found++; 91 found++; 97 found++; 103 found++; 109 found++ [all...] |
/external/compiler-rt/test/scudo/ |
quarantine.cpp | 31 bool found = false; local 32 for (int i = 0; i < 0x100 && found == false; i++) { 36 found = (p == old_p); 39 if (found == false)
|
/external/libvpx/libvpx/build/make/ |
armlink_adapter.sh | 6 ## that can be found in the LICENSE file in the root of the source 7 ## tree. An additional intellectual property rights grant can be found 9 ## be found in the AUTHORS file in the root of the source tree. 39 found=0 41 [ -f "$d/$f" ] && infiles="$infiles $d/$f" && found=1 && break 42 [ -f "$d/lib${f}.so" ] && infiles="$infiles $d/lib${f}.so" && found=1 && break 43 [ -f "$d/lib${f}.a" ] && infiles="$infiles $d/lib${f}.a" && found=1 && break 45 [ $found -eq 0 ] && infiles="$infiles $f"
|
/external/selinux/libsepol/tests/ |
test-expander-users.c | 37 unsigned char *found; /* array of booleans of roles found */ local 38 int extra = 0; /* number of extra roles found */ 42 printf("%s not found\n", user_name); 43 CU_FAIL("user not found"); 46 found = calloc(num_roles, sizeof(unsigned char)); 47 CU_ASSERT_FATAL(found != NULL); 54 found[j] += 1; 61 if (found[j] != 1) { 62 printf("role %s associated with user %s %d times\n", role_names[j], user_name, found[j]) [all...] |