/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | TestSets.java | 49 String found = execParser("P.g", grammar, "PParser", "PLexer", 51 assertEquals("34\n", found); 58 String found = execParser("T.g", grammar, "TParser", "TLexer", 60 assertEquals("x\n", found); 67 String found = execParser("T.g", grammar, "TParser", "TLexer", 69 assertEquals("z\n", found); 76 String found = execParser("T.g", grammar, "TParser", "TLexer", 78 assertEquals("zz\n", found); 85 String found = execParser("T.g", grammar, "TParser", "TLexer", 87 assertEquals("z\n", found); [all...] |
H A D | TestHeteroAST.java | 50 String found = execParser("T.g", grammar, "TParser", "TLexer", 52 assertEquals("a<V>\n", found); 62 String found = execParser("T.g", grammar, "TParser", "TLexer", 64 assertEquals("a\n", found); 79 String found = execParser("T.g", grammar, "TParser", "TLexer", 81 assertEquals("a<V>\n", found); 96 String found = execParser("T.g", grammar, "TParser", "TLexer", 98 assertEquals("a<V>\n", found); 114 String found = execParser("T.g", grammar, "TParser", "TLexer", 116 assertEquals("a<V>\n", found); [all...] |
H A D | TestSemanticPredicateEvaluation.java | 39 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 41 assertEquals("alt2\n", found); 51 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 53 assertEquals("alt2\n", found); 67 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 69 assertEquals("error: FailedPredicateException(a,{false}?)\n", found); 79 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 82 assertEquals("token 2\n", found); 92 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 95 assertEquals("token 1\n", found); [all...] |
H A D | TestSyntacticPredicateEvaluation.java | 53 String found = execParser("T.g", grammar, "TParser", "TLexer", 60 assertEquals(expecting, found); 62 found = execParser("T.g", grammar, "TParser", "TLexer", 68 assertEquals(expecting, found); 70 found = execParser("T.g", grammar, "TParser", "TLexer", 79 assertEquals(expecting, found); 102 String found = execParser("T.g", grammar, "TParser", "TLexer", 109 assertEquals(expecting, found); 111 found = execParser("T.g", grammar, "TParser", "TLexer", 117 assertEquals(expecting, found); [all...] |
H A D | TestJavaCodeGeneration.java | 46 boolean found = 50 assertEquals(expecting, found); 59 boolean found = 63 assertEquals(expecting, found); 73 String found = execParser("T.g", grammar, "TParser", "TLexer", 75 assertEquals("x\n", found); 85 String found = execParser("T.g", grammar, "TParser", "TLexer", 87 assertEquals("x\n", found); 97 String found = execParser("T.g", grammar, "TParser", "TLexer", 99 assertEquals("x\n", found); [all...] |
H A D | TestAutoAST.java | 44 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 46 assertEquals("abc 34\n", found); 57 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 59 assertEquals("abc 34\n", found); 70 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", 72 assertEquals("(abc 34)\n", found); 83 String found = execParser("T.g", grammar, "TParser", "TLexer", 85 assertEquals("(abc 34)\n", found); 96 String found = execParser("T.g", grammar, "TParser", "TLexer", 98 assertEquals("abc 4532\n", found); [all...] |
H A D | TestTreeParsing.java | 48 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 50 assertEquals("abc, 34\n", found); 68 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 70 assertEquals("abc, 34\n", found); 91 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 93 assertEquals("^(a 1)b 2\n", found); 114 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 117 assertEquals("^(a 3)b 5\n", found); 137 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 139 assertEquals("alt 1\n", found); [all...] |
H A D | TestTreeGrammarRewriteAST.java | 62 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 64 assertEquals("34 abc\n", found); 82 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 84 assertEquals("(34 abc)\n", found); 101 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 103 assertEquals("99\n", found); 121 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", 123 assertEquals("(34 abc)\n", found); 125 found = execTreeParser("T.g", grammar, "TParser", "TP.g", 127 assertEquals("34\n", found); [all...] |
H A D | TestLexer.java | 51 String found = execParser("P.g", grammar, "PParser", "PLexer", 53 assertEquals("\t\n", found); 65 String found = execParser("P.g", grammar, "PParser", "PLexer", 67 assertEquals("-34\n", found); 79 String found = execParser("P.g", grammar, "PParser", "PLexer", 81 assertEquals("- 34, channel=0\n", found); 92 String found = execParser("P.g", grammar, "PParser", "PLexer", 94 assertEquals("-34\n", found); 106 String found = execParser("P.g", grammar, "PParser", "PLexer", 108 assertEquals("-34\n", found); [all...] |
H A D | TestASTConstruction.java | 45 String found = g.getRule("a").tree.toStringTree(); 46 assertEquals(expecting, found); 55 String found = g.getRule("a").tree.toStringTree(); 56 assertEquals(expecting, found); 66 String found = g.getRule("A").tree.toStringTree(); 67 assertEquals(expecting, found); 77 String found = g.getRule("a").tree.toStringTree(); 78 assertEquals(expecting, found); 88 String found = g.getRule("a").tree.toStringTree(); 89 assertEquals(expecting, found); [all...] |
H A D | TestRewriteAST.java | 49 String found = execParser("T.g", grammar, "TParser", "TLexer", 51 assertEquals("", found); 62 String found = execParser("T.g", grammar, "TParser", "TLexer", 64 assertEquals("abc\n", found); 75 String found = execParser("T.g", grammar, "TParser", "TLexer", 77 assertEquals("x\n", found); 88 String found = execParser("T.g", grammar, "TParser", "TLexer", 90 assertEquals("(x INT)\n", found); 102 String found = execParser("TT.g", grammar, "TTParser", "TTLexer", 104 assertEquals("ID\n", found); [all...] |
H A D | TestRewriteTemplates.java | 46 String found = execParser("T.g", grammar, "TParser", "TLexer", 48 assertEquals("", found); 59 String found = execParser("T.g", grammar, "TParser", "TLexer", 61 assertEquals("abc\n", found); 72 String found = execParser("T.g", grammar, "TParser", "TLexer", 74 assertEquals("abc\n", found); 85 String found = execParser("T.g", grammar, "TParser", "TLexer", 87 assertEquals("x:abc, y:34;\n", found); 100 String found = execParser("T.g", grammar, "TParser", "TLexer", 102 assertEquals("abc 34\n", found); [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-complex-hebrew.cc | 71 bool found = c->unicode->compose (a, b, ab); local 73 if (!found && !c->plan->has_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 [all...] |
/external/javassist/src/main/javassist/compiler/ |
H A D | KeywordTable.java | 22 Object found = get(name); 23 if (found == null) 26 return ((Integer)found).intValue();
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | 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...] |
H A D | 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...] |
H A D | 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...] |
H A D | t055templates.py | 45 found = self.execParser( 50 self.failUnlessEqual("id=abc, int=34", found) 85 found = self.execParser( 91 self.failUnlessEqual("[a+b]", found) 111 found = self.execParser( 116 self.failUnless(found is None) 140 found = self.execParser( 145 self.failUnlessEqual("abc,def,ghi", found) 164 found = self.execParser( 169 self.failUnlessEqual("hello", found) [all...] |
H A D | t053hetero.py | 120 found = self.execParser( 125 self.failUnlessEqual("a<V>", found) 141 found = self.execParser( 145 self.failUnlessEqual("a", found) 167 found = self.execParser( 172 self.failUnlessEqual("a<V>", found) 194 found = self.execParser(grammar, 'a', input="a") 195 self.assertEquals("a<V>", found) 218 found = self.execParser( 223 self.failUnlessEqual("a<V>", found) [all...] |
/external/v8/test/mjsunit/regress/ |
H A D | regress-crbug-346636.js | 3 // found in the LICENSE file. 7 function assertSame(expected, found) { 8 if (found === expected) { 9 if (expected !== 0 || (1 / expected) == (1 / found)) return;
|
H A D | regress-put-prototype-transition.js | 3 // found in the LICENSE file. 8 assertSame = function assertSame(expected, found, name_opt) { if (found === expected) { if (expected !== 0 || (1 / expected) == (1 / found)) return; } else if ((expected !== expected) && (found !== found)) { return; } fail(PrettyPrint(expected), found, name_opt); }; assertEquals = function assertEquals(expected, found, name_opt) { if (!deepEquals(found, expected)) { fail(PrettyPrint(expected), found, name_op [all...] |
H A D | regress-crbug-349079.js | 3 // found in the LICENSE file. 7 function assertEquals(expected, found) { 8 return found === expected;
|
/external/libpcap/Win32/Src/ |
H A D | getnetbynm.c | 38 goto found; 40 found:
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_caps.h | 51 * Record types that can be found in the caps block. 110 * Result: pointer to found record, or NULL if not found. 120 SVGA3dCapsRecord *record, *found = NULL; local 130 (!found || (record->header.type > found->header.type))) { 131 found = record; 135 return found;
|
/external/libvpx/libvpx/build/make/ |
H A D | 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"
|